#1700: GHC 6.8-20070913 (+extralibs) won't install after building
------------------------------------+---------------------------------------
  Reporter:  [EMAIL PROTECTED]  |          Owner:         
      Type:  bug                    |         Status:  new    
  Priority:  normal                 |      Milestone:         
 Component:  Build System           |        Version:  6.8    
  Severity:  normal                 |       Keywords:         
Difficulty:  Unknown                |             Os:  MacOS X
  Testcase:  sudo make install      |   Architecture:  x86    
------------------------------------+---------------------------------------
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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1700>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to