[Hackage] #589: FreeBSD compiles should automatically add --extra-lib-dirs=/usr/local/lib

#589: FreeBSD compiles should automatically add --extra-lib-dirs=/usr/local/lib ----------------------------+----------------------------------------------- Reporter: markstos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- FreeBSD stores a number of standard things in /usr/local/lib, such as the 'curl' libraries that darcs needs to compile against. Cabal should detect that FreeBSD is the platform and look in this lib directory automatically. Reference my experience trying to install darcs on FreeBSD: http://www.mail-archive.com/darcs-users@darcs.net/msg12611.html -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/589 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#589: FreeBSD compiles should automatically add --extra-lib-dirs=/usr/local/lib ----------------------------+----------------------------------------------- Reporter: markstos | Owner: Type: defect | Status: new Priority: normal | Milestone: _|_ Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: unknown Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * milestone: => _|_ Comment: Of course users can change their ~/.cabal/config to specify that headers and libs should also be looked for in /usr/local/include and /usr/local/lib. I'm suspicious of making that the default and overriding the existing system default. If it should be the default for FreeBSD because essential parts of the system are installed in /usr/local then why isn't it the system default already? Surely we should use the default system linker path. If a C lib is not available on the default path then it requires intervention from the user. Surely FreeBSD users must be used to this? What do other package managers on FreeBSD do? Do they really compensate for silly system defaults? -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/589#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage