[Haskell-beginners] can't install hackage package

Emmanuel Touzery etouzery at gmail.com
Mon Jan 21 21:43:59 CET 2013


Yes i put the source then extra include dirs and extra lib dirs and
pcre.dll in the same folder and worked great.
On 21 Jan 2013 21:37, "Hartmut" <hartmut0407 at googlemail.com> wrote:

>  Hi,
> I wanted to try this under Windows also, but there are even more problems,
> since "pcre-light" dependency is not available (perhaps in case of using
> MSys, MingW)
> Hartmut
>
> Windows, cabal 1.16.0.2, I got
>
> cabal install rex --dry-run
>
> Resolving dependencies...
> In order, the following would be installed (use -v for more details):
> hslogger-1.2.1
> MissingH-1.2.0.0
> pcre-light-0.4
> split-0.2.1.1
> th-lift-0.5.5
> th-orphans-0.6
> haskell-src-meta-0.6.0.1
> rex-0.3.1
>
> cabal install
>
> Resolving dependencies...
> Configuring pcre-light-0.4...
> cabal: Missing dependency on a foreign library:
> * *Missing C library: pcre*
> This problem can usually be solved by installing the system package that
> provides this library (you may need the "-dev" version). If the library is
> already installed but in a non-standard location then you can use the flags
> --extra-include-dirs= and --extra-lib-dirs= to specify where it is.
> cabal: Error: some packages failed to install:
> pcre-light-0.4 failed during the configure step. The exception was:
> ExitFailure 1
> rex-0.3.1 depends on pcre-light-0.4 which failed to install.
>
> Am 21.01.2013 21:10, schrieb Emmanuel Touzery:
>
> This is on fedora18 if it can help.
> On 21 Jan 2013 20:53, "Emmanuel Touzery" <etouzery at gmail.com> wrote:
>
>>   Hello,
>>
>>   I've been using this hackage package "rex" without problems on two
>> computers (linux, windows) but now I fail setting it up on a third computer
>> which confuses me, and the error message is not really enlightening for me:
>>
>> $ cabal update
>> Downloading the latest package list from hackage.haskell.org
>> $ cabal --version
>> cabal-install version 1.16.0.2
>> using version 1.16.0.3 of the Cabal library
>>  $ cabal install rex
>> Resolving dependencies...
>> cabal: Could not resolve dependencies:
>> trying: rex-0.3.1
>>
>>  Any idea?
>>
>>  Thank you!
>>
>> Emmanuel
>>
>
>
> _______________________________________________
> Beginners mailing listBeginners at haskell.orghttp://www.haskell.org/mailman/listinfo/beginners
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130121/5d3e828c/attachment.htm>


More information about the Beginners mailing list