#1698: binary distribution not installable (problems with base package)
-------------------------------------------+--------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:         
        Type:  bug                         |       Status:  new    
    Priority:  normal                      |    Milestone:         
   Component:  Build System                |      Version:  6.8    
    Severity:  normal                      |   Resolution:         
    Keywords:                              |   Difficulty:  Unknown
          Os:  Linux                       |     Testcase:         
Architecture:  x86                         |  
-------------------------------------------+--------------------------------
Changes (by [EMAIL PROTECTED]):

  * cc:  [EMAIL PROTECTED] => [EMAIL PROTECTED],
         [EMAIL PROTECTED]

Comment:

 Now I tried to build GHC 6.8.20070913 from source.  After three hours of
 compilation I had to discover that installing still didn’t work.  During
 the installation of the base package, I received an error message saying
 that the directory {{{$PREFIX/lib/ghc-6.8.20070913/base-2.1}}} couldn’t
 be found.  Obviously this was because the base package was installed in
 {{{$PREFIX/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib/base-2.1}}}.  I moved
 the {{{base-2.1}}} directory to {{{$PREFIX/lib/ghc-6.8.20070913}}}, and
 replaced the {{{$PREFIX/lib/ghc-6.8.20070913/ghc-6.8.20070913/lib}}}
 directory with a symbolic link to {{{$PREFIX/lib/ghc-6.8.20070913}}}.
 Then I ran {{{make install}}} again.  During installation of the
 ghc-6.8.20070913 package, I got this message:
 {{{
 $PREFIX/lib/ghc-6.8.20070913/hslibs-imports/ghc doesn't exist or isn't a
 directory (ignoring)
 cannot find libHSghc.a on library path (ignoring)
 }}}
 However, when I checked for {{{$PREFIX/lib/ghc-6.8.20070913/hslibs-
 imports/ghc}}}, I found that it existed and that it was a directory.

 I tried a ghc --version with my new GHC installation and received this
 message:
 {{{
 $PREFIX/bin/ghc: line 4: $PREFIX/lib/ghc-6.8.20070913/ghc-6.8.20070913: is
 a directory
 $PREFIX/bin/ghc: line 4: exec:
 $PREFIX/lib/ghc-6.8.20070913/ghc-6.8.20070913: cannot execute: Success
 }}}

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

Reply via email to