Ticket #1700 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

GHC 6.8-20070913 (+extralibs) won't install after building

Reported by: misterbeebee@… Owned by:
Priority: normal Milestone: 6.8.1
Component: Build System Version: 6.8
Keywords: Cc:
Operating System: MacOS X Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: sudo make install Blocked By:
Blocking: Related Tickets:

Description

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.

Change History

Changed 6 years ago by igloo

  • milestone set to 6.8.1

Changed 6 years ago by guest

I've since downloaded 6.8.0.20070918, installed core first and then copying extralibs into my core tree and make/installing again and 20070918 seems to be fine.

It's quite possible my original report was due to user-horked system, as I had several old ghc's floating around my system, including macport 6.6, macports 6.7, and probably another copy of a recent HEAD download.

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

OK, I suspect it was caused by either what you suggest, or a build system bug that has since been fixed, then. Thanks for the followup!

Note: See TracTickets for help on using tickets.