Re: libgmp-related build error

2013-04-26 Thread Jan Stolarek
I checked some older (with commits up to March 29, 2013) build trees and I see that in libraries/integer-gmp/gmp there are files like gmp.h and libgmp.a that are not present in my latest build tree. Strange. I'm looking at the commit history at github and I see no gmp.h in the repository in

Re: libgmp-related build error

2013-04-26 Thread Hollister Herhold
On a recent head build I had the same problem. I needed to install gmp and add -I/opt/local/include (where gmp.h is located) to the configure command line. This is on OS X 10.7.5 using MacPorts. On Apr 26, 2013, at 9:17 AM, Jan Stolarek wrote: I checked some older (with commits up to March

Re: libgmp-related build error

2013-04-26 Thread Andreas Voellmy
I see gmp.h and libgmp.a in my build trees, but not in the source trees. I.e. when I check out the source these aren't present, but after I build they are (at least in the past they were). -Andi On Fri, Apr 26, 2013 at 10:17 AM, Jan Stolarek jan.stola...@p.lodz.plwrote: I checked some older

Re: libgmp-related build error

2013-04-26 Thread Jan Stolarek
I have libHSinteger-gmp-0.5.1.0.a and libHSinteger-gmp-0.5.1.0-ghc7.7.20130422.so in my build tree, but I don't see gmp.h. I'm not getting any build errors on Linux x86_64. Janek Dnia piątek, 26 kwietnia 2013, Andreas Voellmy napisał: I see gmp.h and libgmp.a in my build trees, but not in the

Re: libgmp-related build error

2013-04-26 Thread Hollister Herhold
There's one in ghc/libraries/integer-gmp/gmp/gmp.h On Apr 26, 2013, at 10:08 AM, Jan Stolarek wrote: I have libHSinteger-gmp-0.5.1.0.a and libHSinteger-gmp-0.5.1.0-ghc7.7.20130422.so in my build tree, but I don't see gmp.h. I'm not getting any build errors on Linux x86_64. Janek

Re: libgmp-related build error

2013-04-26 Thread Páli Gábor János
On Fri, Apr 26, 2013 at 5:24 PM, Hollister Herhold hollis...@fafoh.com wrote: There's one in ghc/libraries/integer-gmp/gmp/gmp.h As far I know, there is an in-tree GMP packaged as a tarball under the ghc/libraries/integer-gmp/tarball directory. GNU/Linux can pick up the gmp headers and

Re: libgmp-related build error

2013-04-26 Thread Andreas Voellmy
Thanks to everyone for the comments. I didn't try to fix the build system. I took the easy approach and just used macports to install gmp on my system and added macports' lib and include paths to the C_INCLUDE_PATH and LIBRARY_PATH variables. The build succeeded now. Maybe I should add a note to