From: Martin G. <ma...@cs...> - 2005-05-17 14:16:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 wxHello, today I built wxHaskell from source and want to share my experience, so that the build process can (hopefully) be fixed. * The first problem is that the permissions on the package.conf file (located at /usr/lib/ghc-6.2.2 in my setup) are set incorrectly. I don't know whether that is a GHC or wxHaskell problem, but it leads to problems when building an example after installing, because the package.conf file is not world-readable. * Second, but unfortunately not reproducible, I sometimes got linking errors about not finding symbols from the Parsec library. This is possibly related, because maybe the package.conf file is in a broken state while GHC searches for the Parsec binaries. Since I recompiled wxHaskell a dozen times, with manual chmod and/or removal of the package.conf file, I have not been able to reproduce the setup for which this problem occurs. Maybe someone else has had a similar experience? * It is not as easy as implied by the building instructions to install wxHaskell to another directory, because then the runtime loader will not find the libraries. You either have to install in some standard place (/usr, /usr/local, if that's in your ld.so.conf) or to modify /etc/ld.so.conf -- not a nice alternative. I know that this is a general problem, but maybe it could be mentioned on the installation page. Now I'm glad that I got it running, and I want to than the developer(s) for the effort put into wxHaskell. Keep up the good work and thank you. Best wishes, Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCifzAN+bWg9uANMIRAmFKAJ0e5RfVlbTVnzL5cHJLmyWFiDxFGQCfYiyc rRId8HEHts82oxxSZU1uUpw= =O0sV -----END PGP SIGNATURE----- |
From: Daan L. <da...@cs...> - 2005-05-19 07:39:17
|
Hi Martin, > wxHello, > > today I built wxHaskell from source and want to share my experience, > so that the build process can (hopefully) be fixed. Thanks for trying wxHaskell on Gentoo. > * The first problem is that the permissions on the package.conf file > (located at /usr/lib/ghc-6.2.2 in my setup) are set incorrectly. > I don't know whether that is a GHC or wxHaskell problem, but it > leads to problems when building an example after installing, because > the package.conf file is not world-readable. The configure script of wxHaskell can take a "--package-conf=<file>" flag where you can point to a local package configuration file. Read the docs for "ghc-pkg" on how to create this. > * Second, but unfortunately not reproducible, I sometimes got linking > errors about not finding symbols from the Parsec library. This is > possibly related, because maybe the package.conf file is in a broken > state while GHC searches for the Parsec binaries. Since I recompiled > wxHaskell a dozen times, with manual chmod and/or removal of the > package.conf file, I have not been able to reproduce the setup for > which this problem occurs. Maybe someone else has had a similar > experience? Never heard about this -- maybe it is related to the package conf file. > * It is not as easy as implied by the building instructions to install > wxHaskell to another directory, because then the runtime loader will > not find the libraries. You either have to install in some standard > place (/usr, /usr/local, if that's in your ld.so.conf) or to modify > /etc/ld.so.conf -- not a nice alternative. I know that this is a general > problem, but maybe it could be mentioned on the installation page. yeah, I will add a section about this. Actually, you can use the "--shared-prefix" flag to configure to give a fixed path location such that the runtime loader will find it. The only reason really to have a dynamic library is to make the interaction between C and C++ possible -- for all purposes it should be statically linked. That is why I give it such a specific version name such that one can always use different installations of wxHaskell next to each other. > > Now I'm glad that I got it running, and I want to than the developer(s) > for the effort put into wxHaskell. Keep up the good work and thank you. Thanks for you feedback, -- Daan. > > Best wishes, > Martin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFCifzAN+bWg9uANMIRAmFKAJ0e5RfVlbTVnzL5cHJLmyWFiDxFGQCfYiyc > rRId8HEHts82oxxSZU1uUpw= > =O0sV > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users |