[Haskell-cafe] cabal-install problem with alex dependency in bytestring-lexing

Erik de Castro Lopo mle+hs at mega-nerd.com
Fri Mar 16 11:00:48 CET 2012


Hi all,

With a base system with just ghc and cabal-install, if I try to install
bytestring-lexing I get:

    $ cabal install bytestring-lexing
    Resolving dependencies...
    Configuring bytestring-lexing-0.4.0...
    cabal: The program alex version >=2.3 is required but it could not be found.
    cabal: Error: some packages failed to install:
    bytestring-lexing-0.4.0 failed during the configure step. The exception was:
    ExitFailure 1

The cabal file for bytestring-lexing contains

    Build-Tools:       alex >= 2.3

Is there any way to make the cabal install of bytestring-lexing force
the install of alex first?

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Haskell-Cafe mailing list