On Fri, Nov 21, 2008 at 7:04 AM, Christian Maeder <[EMAIL PROTECTED]> wrote: > Jason Dagit wrote: >> On Fri, Nov 21, 2008 at 6:10 AM, Christian Maeder >> <[EMAIL PROTECTED]> wrote: >>> Also note that gmp.h will not be found without: >>> >>> export CPATH=/opt/local/include >>> >>> This directory should be part of the "include-dirs:" for the rts >>> package. And again the file /opt/local/include/gmp.h could be simply >>> copied to <prefix>/lib/ghc-6.10.1/include/ >> >> Hmm...Okay, so how do I add a path to include-dirs? In my case >> <prefix>=$HOME, so I looked under ~/lib/ghc-6.10.1 and I didn't see >> any files I could modify to change it. > > I would suggest to only copy libgmp.a and gmp.h, because the file to > edit it <prefix>/lib/ghc-6.10.1/package.conf. Search for (package) "rts" > and the fields "libraryDirs" and "includeDirs". But if you mess up this > file, all may be lost (so back it up first).
I created a backup, then made the edits you suggested and the build failure I was seeing went away. Thanks! >> >> Was it an option I missed when I was doing the configure for the install? > > I'm not sure what configure options to pass (before my building or your > installing) Hopefully someone like Ian can comment here. Thanks, Jason _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users