Hi,

Am Freitag, den 16.03.2012, 21:00 +1100 schrieb Erik de Castro Lopo:
> 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?

no, cabal-install does not automatically install build-tools at all,
only Cabal checks them for compilation. I guess the reason is that
build-tools needs to be put on the PATH, and that is beyond the scope of
cabal-install.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to