Ticket #1667 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Change History

Changed 4 years ago by panne

  • status changed from new to closed
  • resolution set to fixed

This was caused by ignoring datarootdir and is already fixed. Note that I'm currently working on bringing the GHC build system more in line with the GNU coding standards, so feel free to reopen the bug if things break again.

Changed 4 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 3 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 3 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.