[Hackage] #170: pkg-config uses a more general version scheme

Hackage cvs-ghc at haskell.org
Sat Mar 5 10:37:16 CET 2011


#170: pkg-config uses a more general version scheme
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  low            |    Milestone:         
 Component:  Cabal library  |      Version:  1.8.0.6
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.10.4 
  Platform:  Linux          |  
----------------------------+-----------------------------------------------
Changes (by guest):

  * ghcversion:  6.4.2 => 6.10.4
  * version:  1.2.2.0 => 1.8.0.6


Comment:

 I got
 {{{
 $ cabal install
 Resolving dependencies...
 Configuring alsa-core-0.5.0.1...
 cabal: parsing output of pkg-config --modversion failed
 cabal: Error: some packages failed to install:
 alsa-core-0.5.0.1 failed during the configure step. The exception was:
 ExitFailure 1
 }}}
 because
 {{{
 $ pkg-config --modversion alsa
 1.0.14a
 }}}
 I remember that Cabal had functions for parsing version numbers with tags,
 would this help here?
 Newer ALSA versions do not seem to have the version tag anymore.

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



More information about the cabal-devel mailing list