How can I build wxcore and wx in FreeBSD/amd64?  I worked on
this a little bit and had some problems:

   - it assumes wx-conf is in my path.  On my system I have
     wxgtk2u-2.8-config and wxgtk2-2.8-config
     (unicode and non-unicode) and no wx-conf.
     Quick hack-fix:  make symlink to wx-conf.
   - It assumes "make" is gnu make.  On FreeBSD it is not.
     The makefile seems to make use of some gnu-make isms that
     are not portable to other make systems.
     Quick hack-fix: copy gmake to some directory as "make" and
     put it first in my path temporarily.
   - It assumes all header files are in the path or specified by
     wx-conf.  On FreeBSD my GL headers are in /usr/local/include
     Quick hack-fix: edit wx-conf to throw in an extra header path.

at this point "cabal install --global -p wxcore" seems to have
"worked", however, when I try to install wx I get weird errors
and a crash:

-----
wxdirect/src/MultiSet.hs:423:0:  warning: no newline at end of file
ghc -c wxdirect/src/CompileClassTypes.hs -o 
dist/wxdirect/CompileClassTypes.o -idist/wxdirect -odir dist/wxdirect 
-hidir dist/wxdirect  -package parsec -cpp  -package time
Segmentation fault (core dumped)
make: *** [dist/wxdirect/CompileClassTypes.o] Error 139
cabal: Error: some packages failed to install:
wx-0.10.3 depends on wxcore-0.10.3 which failed to install.
wxcore-0.10.3 failed during the building phase. The exception was:
exit: ExitFailure 2
------

This looks odd since it says wxcore failed, but this is the build
for "wx" and wxcore is already listed in ghc-pkg list.

The wxHaskell web site says that it runs on FreeBSD.  What
is the normal build process here?  Any ideas what is causing
ghc to crash?

I'm runnin gFreeBSD 7.0-Release on amd4, with ghc-6.8.2.

Tim Newsham
http://www.thenewsh.com/~newsham/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to