#3173: Install fails when using DESTDIR
--------------------+-------------------------------------------------------
Reporter:  fidori   |          Owner:              
    Type:  bug      |         Status:  new         
Priority:  normal   |      Component:  Build System
 Version:  6.10.2   |       Severity:  normal      
Keywords:  DESTDIR  |       Testcase:              
      Os:  Linux    |   Architecture:  x86         
--------------------+-------------------------------------------------------
 The package ghc-6.10.2-i386-unknown-linux fails to install when using
 `DESTDIR` with `make install`. For example, when configured with
 {{{
 ./configure --prefix=/tmp/ghc
 }}}
 and installed with
 {{{
 make install DESTDIR=/tmp/ghc_dest
 }}}
 the install fails with error
 {{{
 ghc-pkg: /tmp/ghc_dest/tmp/ghc/lib/ghc-6.10.2/package.conf: openFile: does
 not exist (No such file or directory)
 }}}
 The file `package.conf` is created in directory `/tmp/ghc/lib/ghc-6.10.2`
 but it seems the install scripts try to find it in
 `/tmp/ghc_dest/tmp/ghc/lib/ghc-6.10.2`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3173>
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