GHC 6.8-20070913 (+extralibs) won't install after building
After removing the openal and alut directories (these cause build errors on Mac OS X 10.4), I was able to build ghc following the Mac+Readline instructions on the wiki.
When I ran "sudo make install", I see the following errors:
Installing: /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1 /usr/bin/ranlib: file: /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1/libHSbase-2.1.a(Win32Utils.o) has no symbols /usr/bin/ranlib: file: /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1/libHSbase-2.1.a(consUtils.o) has no symbols /usr/bin/ranlib: file: /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1/libHSbase-2.1_p.a(Win32Utils.p_o) has no symbols /usr/bin/ranlib: file: /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1/libHSbase-2.1_p.a(consUtils.p_o) has no symbols Registering base-2.1... Reading package info from "dist/installed-pkg-config" ... done. ghc-pkg: cannot find libHSbase-2.1.a on library path (use --force to override) make[1]: *** [install.library.base] Error 1 make: *** [install] Error 1
The libHSBase-2.1.a file is installed, at
/usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1/libHSbase-2.1.a lib is the only file in /usr/local/lib/ghc-6.8.20070913/ghc-6.8.20070913
which seems not not quite right (why two 'ghc-6.8.20070913' in the path?) Should lib be one level up? (I t
make -k install completes without top-level error, but then there is no ghc executable in the install dir.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |