#1667: make install tries to write to /share
--------------------------------+-------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |          Owner:         
      Type:  bug                |         Status:  new    
  Priority:  high               |      Milestone:  6.8    
 Component:  Compiler           |        Version:  6.7    
  Severity:  normal             |       Keywords:         
Difficulty:  Unknown            |             Os:  Unknown
  Testcase:                     |   Architecture:  Unknown
--------------------------------+-------------------------------------------
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

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