Ticket #1667 (closed bug: fixed)
make install tries to write to /share
| Reported by: | iampure@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 6.8.1 |
| Component: | Compiler | Version: | 6.7 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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 && \ ../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
