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

#842: cabal appears to complain about relative paths ---------------------------------+------------------------------------------ Reporter: jeffz | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.10.1.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ With `cabal configure --extra-lib-dirs=foo` $ cabal build Preprocessing library HENet-0.0.1... Building HENet-0.0.1... Registering HENet-0.0.1... cabal.exe: HENet-0.0.1: library-dirs: .libs is a relative path (use --force to override) Originally reported on irc: <dcoutts> jeffz: the right solution here would be for cabal to make the paths absolute before passing them on to ghc-pkg -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/842 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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: | ---------------------------------+------------------------------------------ Changes (by kosmikus): * milestone: => cabal-install-0.16 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/842#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#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
participants (1)
-
Hackage