[Hackage] #842: cabal appears to complain about relative paths

Hackage cvs-ghc at haskell.org
Sat Mar 10 14:06:17 CET 2012


#842: cabal appears to complain about relative paths
---------------------------------+------------------------------------------
  Reporter:  jeffz               |        Owner:                    
      Type:  defect              |       Status:  new               
  Priority:  normal              |    Milestone:  cabal-install-0.16
 Component:  cabal-install tool  |      Version:  1.10.1.0          
  Severity:  normal              |     Keywords:                    
Difficulty:  unknown             |   Ghcversion:                    
  Platform:                      |  
---------------------------------+------------------------------------------

Comment(by MikolajKonarski):

 It wouldn't hurt to allow relative paths to the compiler, too. Right now
 the following fails:

 {{{
 cabal install -w ../ghc.bkp/inplace/bin/ghc-stage2 parallel
 Resolving dependencies...
 Configuring containers-0.4.2.1...
 cabal: Cannot find the program 'ghc' at '../ghc.bkp/inplace/bin/ghc-
 stage2' or on the path
 }}}

 but the same compilation works OK if installing from a source directory,
 not from Hackage.

 BTW, If/when it's done, it would make sense to remove the tip about
 absolute paths, I've added in

 http://hackage.haskell.org/trac/ghc/wiki/Debugging/InstallingPackagesInplace

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/842#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list