Skip to content

Install fails when using DESTDIR

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.

Trac metadata
Trac field Value
Version 6.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information