Skip to content

make install tries to write to /share

With this configure command ./configure --prefix=$HOME --with-ghc=/usr/bin/ghc-6.6.1 (and all the other usual commands) doing make install gives (it tries to write to the /share directory, which should be $HOME/share in my case):


== Finished recursively making `install' for ways: p debug thr thr_p thr_debug ... PWD = /home/foo/haskell/ghc/rts


== make install -r; in /home/foo/haskell/ghc/libraries

if ifBuildable/ifBuildable base; then \

cd base && \

  1. ./installPackage/installPackage "" /home/foo $prefix/share/ghc /home/foo/share/doc/ghc/libraries /home/foo/haskell/ghc/utils/ghc-pkg/ghc-pkg-inplace /home/foo/lib/ghc-6.7.20070906/package.conf; \

fi installPackage: /share: createDirectory: permission denied (Permission denied)

make[1]: *** [install.library.base] Error 1 make: *** [install] Error 1

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