I'll take a look at the directions and validate they're correct. Just finished up some family dinner stuff.
On Wednesday, January 13, 2016, George Colpitts <george.colpi...@gmail.com> wrote: > I asked the same question and Ben answered: (gmail default is reply and I > forgot to do reply all) > > [1] https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/MacOSX > > On Wed, Jan 13, 2016 at 8:18 PM, Andrew Farmer <xicheko...@gmail.com > <javascript:_e(%7B%7D,'cvml','xicheko...@gmail.com');>> wrote: > >> I'm guessing this is the same problem with gmp on OS X, but I got it >> during the ./configure step, so thought I'd pass along the error >> message: >> >> mba:ghc-8.0.0.20160111 xich$ ./configure >> --prefix=/Users/xich/projects/ghc8 >> checking for path to top of build tree... dyld: Library not loaded: >> /usr/local/opt/gmp/lib/libgmp.10.dylib >> Referenced from: >> >> /Users/xich/projects/ghc-8.0.0.20160111/utils/ghc-pwd/dist-install/build/tmp/ghc-pwd >> Reason: image not found >> configure: error: cannot determine current directory >> >> You made reference to the wiki build instructions... do you have a >> link to the ones you mean? I can try following them. >> >> On Wed, Jan 13, 2016 at 2:52 PM, Ben Gamari <b...@well-typed.com >> <javascript:_e(%7B%7D,'cvml','b...@well-typed.com');>> wrote: >> > George Colpitts <george.colpi...@gmail.com >> <javascript:_e(%7B%7D,'cvml','george.colpi...@gmail.com');>> writes: >> > >> >> installs fine on mac but cabal install vector fails on primitive, >> looks to >> >> me like gmp library is not provided >> >> >> >> cabal install vector >> >> Resolving dependencies... >> >> Configuring primitive-0.6.1.0... >> >> Failed to install primitive-0.6.1.0 >> >> Build log ( /Users/gcolpitts/.cabal/logs/primitive-0.6.1.0.log ): >> >> cabal: Error: some packages failed to install: >> >> primitive-0.6.1.0 failed during the configure step. The exception was: >> >> user error ('/usr/local/bin/ghc' exited with an error: >> >> *ld: library not found for -lgmp* >> >> collect2: error: ld returned 1 exit status >> >> `gcc' failed in phase `Linker'. (Exit code: 1) >> >> ) >> >> vector-0.11.0.0 depends on primitive-0.6.1.0 which failed to install. >> >> >> > The issue here appears to be that the build was compiled against the >> > host's libgmp on account of the the Wiki build instructions [1] being >> out of >> > date. I've fixed this particular inaccuracy, but it would be great if >> > someone familiar with Darwin could take a close look at this page: do a >> > build of their own, work through the build instructions, and ensure that >> > the build instructions are still accurate, fixing any issues. >> > >> > George or Carter, perhaps one of you could pick this up? >> > >> > Cheers, >> > >> > - Ben >> > >> > >> > _______________________________________________ >> > ghc-devs mailing list >> > ghc-devs@haskell.org >> <javascript:_e(%7B%7D,'cvml','ghc-devs@haskell.org');> >> > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >> > >> > >
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs