From: Dan H. <dev...@gm...> - 2010-05-03 04:41:20
|
I have been trying to build the latest version on windows 7 for a few days now. I have not managed to get it. The furthest I have gotten has given me an error-dump from cabal about /include/wx/string.h after [22 of 22]... \WXCore.o I built wx in the way that was prescribed by the wiki page. I then set the environment variable WXWIN and WXCFG properly. When I tried to run cabal install wx, it failed telling me I didn't have a long list of C libraries. I then ran cabal install wx --extra-include-dirs = "" --extra-lib-dirs "" to point to the libraries in my mingw distribution. I am using my own instead of the one that comes with the haskell platform because the latter didn't seem to have the libraries. I don't know. I am very new to Haskell. Anyway, running with the extra flags worked except for the error I described in the first line of this message. I don't know what to do. I have noticed that wxhaskell's wiki page does not state that it has been successfully built on Win7. Is this the state of things? Thanks -Dan |
From: Jeremy O'D. <jod...@fa...> - 2010-05-03 20:58:40
|
Hi Dan, I don't know of anyone who has done this. I have a 64 bit Windows 7 machine at work which has never had wxHaskell on it (in fact, it hasn't had Haskell at all!), so I'll try a clean build in the next day or two and let you know what happened (I'll be using the latest Haskell Platform as my ghc install). If I run into any issues it may take me a few days to fix them, but if all is smooth, I'll document exactly what I did (if it differs in any way from the wiki). Ghc includes its own copy of MinGW, so I don't think it's a good idea to point to the libraries from your own installation. However, if there's any issue, I'll hopefully find it very soon. Regards Jeremy On 3 May 2010, at 05:41, Dan Haraj wrote: > I have been trying to build the latest version on windows 7 for a > few days now. I have not managed to get it. The furthest I have > gotten has given me an error-dump from cabal about /include/wx/ > string.h after [22 of 22]... \WXCore.o > > I built wx in the way that was prescribed by the wiki page. I then > set the environment variable WXWIN and WXCFG properly. When I tried > to run cabal install wx, it failed telling me I didn't have a long > list of C libraries. I then ran cabal install wx --extra-include- > dirs = "" --extra-lib-dirs "" to point to the libraries in my mingw > distribution. I am using my own instead of the one that comes with > the haskell platform because the latter didn't seem to have the > libraries. I don't know. I am very new to Haskell. > > Anyway, running with the extra flags worked except for the error I > described in the first line of this message. I don't know what to > do. I have noticed that wxhaskell's wiki page does not state that > it has been successfully built on Win7. Is this the state of things? > > Thanks > > -Dan > ---------------------------------------------------------------------- > -------- > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |
From: Jeremy O'D. <jer...@gm...> - 2010-05-04 11:47:09
|
Hi Dan, I have confirmed the problem exists, but it's really a Haskell Platform (rather than Windows 7)issue - the latest Haskell Platform doesn't include C++ support. Workaround is to use the previous Haskell Platform version. I'm posting to Haskell list to see if there's a work-around. Regards Jeremy On Mon, 03 May 2010 00:41 -0400, "Dan Haraj" <dev...@gm...> wrote: I have been trying to build the latest version on windows 7 for a few days now. I have not managed to get it. The furthest I have gotten has given me an error-dump from cabal about /include/wx/string.h after [22 of 22]... \WXCore.o I built wx in the way that was prescribed by the wiki page. I then set the environment variable WXWIN and WXCFG properly. When I tried to run cabal install wx, it failed telling me I didn't have a long list of C libraries. I then ran cabal install wx --extra-include-dirs = "" --extra-lib-dirs "" to point to the libraries in my mingw distribution. I am using my own instead of the one that comes with the haskell platform because the latter didn't seem to have the libraries. I don't know. I am very new to Haskell. Anyway, running with the extra flags worked except for the error I described in the first line of this message. I don't know what to do. I have noticed that wxhaskell's wiki page does not state that it has been successfully built on Win7. Is this the state of things? Thanks -Dan ------------------------------------------------------------------------- ----- _______________________________________________ wxhaskell-users mailing list wxh...@li... https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Jeremy O'Donoghue jer...@gm... |
From: Jeremy O'D. <jer...@gm...> - 2010-05-05 12:00:01
|
Hi Dan, I believe it's pretty difficult to build Haskell Platform for Windows as it is far from trivial to build some of the C libraries which are wrapped. I have a (horrible) work-around for the problem on the latest Haskell Platform - you'll see it in another mail. Regards Jeremy On Tue, 04 May 2010 16:23 -0400, "Dan Haraj" <dev...@gm...> wrote: Thanks for your help Jeremy, I'll look into using an older version for now. Or, would it also be possible for me to set up an equivalent platform by hand? I would like to use the latest versions of all the tools, and I wouldn't mind actually learning what is in the platform anyway. On Tue, May 4, 2010 at 7:47 AM, Jeremy O'Donoghue <[1]jer...@gm...> wrote: Hi Dan, I have confirmed the problem exists, but it's really a Haskell Platform (rather than Windows 7)issue - the latest Haskell Platform doesn't include C++ support. Workaround is to use the previous Haskell Platform version. I'm posting to Haskell list to see if there's a work-around. Regards Jeremy On Mon, 03 May 2010 00:41 -0400, "Dan Haraj" <[2]dev...@gm...> wrote: I have been trying to build the latest version on windows 7 for a few days now. I have not managed to get it. The furthest I have gotten has given me an error-dump from cabal about /include/wx/string.h after [22 of 22]... \WXCore.o I built wx in the way that was prescribed by the wiki page. I then set the environment variable WXWIN and WXCFG properly. When I tried to run cabal install wx, it failed telling me I didn't have a long list of C libraries. I then ran cabal install wx --extra-include-dirs = "" --extra-lib-dirs "" to point to the libraries in my mingw distribution. I am using my own instead of the one that comes with the haskell platform because the latter didn't seem to have the libraries. I don't know. I am very new to Haskell. Anyway, running with the extra flags worked except for the error I described in the first line of this message. I don't know what to do. I have noticed that wxhaskell's wiki page does not state that it has been successfully built on Win7. Is this the state of things? Thanks -Dan ------------------------------------------------------------------------- ----- _______________________________________________ wxhaskell-users mailing list [3]wxh...@li... [4]https://lists.sourceforge.net/lists/listinfo/wxhaskell-users -- Jeremy O'Donoghue [5]jer...@gm... References 1. mailto:jer...@gm... 2. mailto:dev...@gm... 3. mailto:wxh...@li... 4. https://lists.sourceforge.net/lists/listinfo/wxhaskell-users 5. mailto:jer...@gm... -- Jeremy O'Donoghue jer...@gm... |
From: Dan H. <dev...@gm...> - 2010-05-05 22:58:30
|
Thanks for the help, Jeremy. I managed to get it working. I tried just copying my entire mingw distribution over the one that comes with the platform, and everything worked out. I'll post if that breaks any other libraries or anything. Hopefully the fix is exactly that straightforward until the platform gets updated/"fixed" - Dan On Wed, May 5, 2010 at 7:59 AM, Jeremy O'Donoghue < jer...@gm...> wrote: > Hi Dan, > > I believe it's pretty difficult to build Haskell Platform for Windows as it > is far from trivial to build some of the C libraries which are wrapped. I > have a (horrible) work-around for the problem on the latest Haskell Platform > - you'll see it in another mail. > > Regards > Jeremy > > On Tue, 04 May 2010 16:23 -0400, "Dan Haraj" <dev...@gm...> wrote: > > Thanks for your help Jeremy, > > I'll look into using an older version for now. Or, would it also be > possible for me to set up an equivalent platform by hand? I would like to > use the latest versions of all the tools, and I wouldn't mind actually > learning what is in the platform anyway. > > On Tue, May 4, 2010 at 7:47 AM, Jeremy O'Donoghue < > jer...@gm...> wrote: > > Hi Dan, > > I have confirmed the problem exists, but it's really a Haskell Platform > (rather than Windows 7)issue - the latest Haskell Platform doesn't include > C++ support. Workaround is to use the previous Haskell Platform version. I'm > posting to Haskell list to see if there's a work-around. > > Regards > Jeremy > > On Mon, 03 May 2010 00:41 -0400, "Dan Haraj" <dev...@gm...> wrote: > > I have been trying to build the latest version on windows 7 for a few > days now. I have not managed to get it. The furthest I have gotten has given > me an error-dump from cabal about /include/wx/string.h after [22 of 22]... > \WXCore.o > > I built wx in the way that was prescribed by the wiki page. I then set the > environment variable WXWIN and WXCFG properly. When I tried to run cabal > install wx, it failed telling me I didn't have a long list of C libraries. I > then ran cabal install wx --extra-include-dirs = "" --extra-lib-dirs "" to > point to the libraries in my mingw distribution. I am using my own instead > of the one that comes with the haskell platform because the latter didn't > seem to have the libraries. I don't know. I am very new to Haskell. > > Anyway, running with the extra flags worked except for the error I > described in the first line of this message. I don't know what to do. I have > noticed that wxhaskell's wiki page does not state that it has been > successfully built on Win7. Is this the state of things? > > Thanks > > -Dan > > ------------------------------------------------------------------------------ > > > _______________________________________________ > wxhaskell-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > > -- > Jeremy O'Donoghue > jer...@gm... > > > -- > Jeremy O'Donoghue > jer...@gm... > > |