Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Just started working with Haskell. Need some help
(Emanuel Koczwara)
----------------------------------------------------------------------
Message: 1
Date: Mon, 20 Jan 2014 11:11:43 +0100
From: Emanuel Koczwara <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Just started working with Haskell.
Need some help
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Hi,
W dniu 20.01.2014 08:06, Pyro Crane pisze:
> Hello again.
>
> Thank you all for your very helpful replies (below)
>
> Here is the error I got when I tried to run my script :
>
> *Could not find module `Graphics.GD'*
> *Locations searched:*
> *Graphics/GD.hs*
> *Graphics/GD.lhs*
>
>
> As with the previous errors, I went on Google, to find out which
> module and/or package I needed to install.
>
> Apparently, I need something called "GD"
>
> When I tried : *cabal install gd*
>
> I got the following :
>
>
> *Resolving dependencies...*
> *Configuring gd-3000.7.3...*
> *cabal-1.16.0.2: Missing dependencies on foreign libraries:*
> ** Missing (or bad) header file: gd.h*
> ** Missing C libraries: gd, expat*
>
>
> *Failed to install gd-3000.7.3*
> *cabal-1.16.0.2: Error: some packages failed to install:*
> *gd-3000.7.3 failed during the configure step. The exception was:
> ExitFailure 1*
>
>
>
>
> Upon further inquiries via google, I found somewhere the following :
>
>
> *This problem can usually be solved by installing the system packages
> that*
> *provide these libraries (you may need the "-dev" versions). If the
> libraries*
> *are already installed but in a non-standard location then you can use
> the*
> *flags --extra-include-dirs= and --extra-lib-dirs= to specify where
> they are.*
>
>
>
> I thought I did this already.
>
> But, apparently, I did something wrong??
>
>
This haskell package provides only library bindings. You need to
install original library using system package manager.
Regards,
Emanuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20140120/70251435/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 67, Issue 22
*****************************************