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

Hackage trac at galois.com
Tue Dec 22 09:40:35 EST 2009


#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


More information about the cabal-devel mailing list