Hi Tim,

On Sat, Aug 23, 2008 at 10:29:47 -1000, Tim Newsham wrote:
>    - 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.

You can link it into /usr/local/wxhaskell/bin

This is handy if you have different versions of wxWidgets on
your machine.

For what it's worth, the released version (0.10.3) only supports
wxWidgets 2.6 and earlier, and the darcs version on
  http://code.haskell.org/wxhaskell
only supports wxWidgets 2.8

>    - 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.

:-(

We're trying to move to full Cabal.  Luckily, the Cabal folks understand
our plight and will be working with us to make it so that we no longer
need the makefile.

If you want to help, you could start by cabalising the wxdirect program
and putting it up on hackage... and then modifying wxhaskell to rely on
an external wxdirect.

>    - 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.

Hmm!
 
> Segmentation fault (core dumped)
> 
> This looks odd since it says wxcore failed, but this is the build
> for "wx" and wxcore is already listed in ghc-pkg list.

Oh dear.  Well, could you try with the darcs version of wxhaskell
since you have wxWidgets 2.8 on your system?

Sorry not to be more helpful... if you do find something that works,
could you maybe create
  http://www.haskell.org/haskellwiki/WxHaskell/FreeBSD
?

Thanks!

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: pgpexDjUvDyKr.pgp
Description: PGP signature

-------------------------------------------------------------------------
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