build failure on FreeBSD 9.1

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Mon Mar 18 03:01:23 CET 2013


Hello,

>> "cp" -p utils/hsc2hs/dist/build/tmp/hsc2hs inplace/lib/bin/hsc2hs
>> utils/hsc2hs/ghc.mk:15: *** Do not know how to prependLibraryPath on freebsd.  Stop.
>> gmake: *** [all] Error 2
> 
> It's trying to do the equivalent of setting LD_LIBRARY_PATH or
> DYLD_LIBRARY_PATH (see rules/library-path.mk). 

OK. I understand.

> What's the right thing to do on the BSDs?

It is LD_LIBRARY_PATH. I modified to set LD_LIBRARY_PATH in FreeBSD
and confirmed that it works!

--Kazu





More information about the ghc-devs mailing list