<font color='black' size='2' face='arial'>
<div><font face="arial">Hello again.</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">Thank you all for your very helpful replies  (below)</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">Here is the error I got when I tried to run my script :</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial"><b>Could not find module `Graphics.GD'</b></font></div>

<div><font face="arial"><b>Locations searched:</b></font></div>

<div><font face="arial"><b>Graphics/GD.hs</b></font></div>

<div><font face="arial"><b>Graphics/GD.lhs</b></font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">As with the previous errors, I went on Google, to find out which module and/or package I needed to install.</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">Apparently, I need something called "GD"</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">When I tried :   <b>cabal install gd</b></font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial">I got the following :</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial"><br>
</font></div>

<div><font face="arial"><b>Resolving dependencies...</b></font></div>

<div><font face="arial"><b>Configuring gd-3000.7.3...</b></font></div>

<div><font face="arial"><b>cabal-1.16.0.2: Missing dependencies on foreign libraries:</b></font></div>

<div><font face="arial"><b>* Missing (or bad) header file: gd.h</b></font></div>

<div><font face="arial"><b>* Missing C libraries: gd, expat</b></font></div>

<div><font face="arial"><br>
</font></div>

<div><br>
</div>

<div><font face="arial"><b>Failed to install gd-3000.7.3</b></font></div>

<div><font face="arial"><b>cabal-1.16.0.2: Error: some packages failed to install:</b></font></div>

<div><b><font face="arial">gd-3000.7.3 failed during the configure step.  The exception was: </font><span style="font-family: arial; font-size: 10pt;">ExitFailure 1</span></b></div>

<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>

<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>

<div style="color: black; font-family: arial; font-size: 10pt;"><br>
</div>

<div><br>
</div>
Upon further inquiries via google,  I found somewhere the following :
<div><br>
</div>

<div><br>
</div>

<div>
<div><font face="arial"><b>This problem can usually be solved by installing the system packages that</b></font></div>

<div><font face="arial"><b>provide these libraries (you may need the "-dev" versions). If the libraries</b></font></div>

<div><font face="arial"><b>are already installed but in a non-standard location then you can use the</b></font></div>

<div><font face="arial"><b>flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.</b></font></div>

<div><br>
</div>

<div><br>
</div>

<div><br>
</div>

<div>I thought I did this already.  </div>

<div><br>
</div>

<div>But, apparently, I did something wrong??</div>

<div><br>
</div>

<div><br>
</div>

<div><br>
</div>

<div><br>
</div>

<div><br>
</div>

<div><br>
</div>
<br>

<div style="color: black; font-family: arial, helvetica; font-size: 10pt;">-----Original Message-----<br>
From: beginners-request <beginners-request@haskell.org><br>
To: beginners <beginners@haskell.org><br>
Sent: Sat, Jan 18, 2014 11:35 pm<br>
Subject: Beginners Digest, Vol 67, Issue 19<br>
<br>




<div id="AOLMsgPart_0_341ff753-24b8-4a33-9828-dd9ec9bd2c91" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>
Message: 1
Date: Sat, 18 Jan 2014 12:25:01 -0500 (EST)
From: Pyro Crane <<a href="mailto:pyrocrane1@aol.com">pyrocrane1@aol.com</a>>
To: <a href="mailto:beginners@haskell.org">beginners@haskell.org</a>
Subject: [Haskell-beginners] Just started working with Haskell. Need
        some    help
Message-ID: <<a href="mailto:8D0E2895A21535B-1058-8B60@webmail-d276.sysops.aol.com">8D0E2895A21535B-1058-8B60@webmail-d276.sysops.aol.com</a>>
Content-Type: text/plain; charset="us-ascii"


 

Hi,

I just started working with Haskell

Running it on a RHEL linux operating system

I was able to download and install it,  along with libraries and packages  (or, 
at least, what I thought were the libraries and packages)

But, when I try to run a simple script, I keep getting the error :   "Could not 
find module XXXXXX"..............

I understand what this error means ---- there is a package/library missing.

I tried using the "Cabal Update"  command,  but this did not solve the problem.

So, I am now fixing this problem the primitive way, as follows :

(a)  I use Google to first find out what the missing module is

(b)  then, based on what google says, I am able to determine the name of the 
actual package that needs to be installed

(c)  I use  "Cabal Install"  to install the package

(d)  I try to run the script again

(e)  I get the same error, but this time, it cannot find a different module

(f)  I go back to Google to locate the missing module


etc, etc, etc, etc


Obviously, this is as slow as it is ridiculous...............
especially when one considers that there are probably hundreds of these 
modules/packages

And, now, I've come up against a module/package,  which I am unable to locate in 
Google.  It's missing from my installation, and Google does not know what it is,  
or where I can find it

Is there any way to simply install ALL required packages???   I thought I 
already did this,  but obviously I missed something

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://www.haskell.org/pipermail/beginners/attachments/20140118/41c15f42/attachment-0001.html" target="_blank">http://www.haskell.org/pipermail/beginners/attachments/20140118/41c15f42/attachment-0001.html</a>>

------------------------------

Message: 2
Date: Sat, 18 Jan 2014 15:29:42 -0500
From: David McBride <<a href="mailto:toad3k@gmail.com">toad3k@gmail.com</a>>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <<a href="mailto:beginners@haskell.org">beginners@haskell.org</a>>
Subject: Re: [Haskell-beginners] Just started working with Haskell.
        Need    some help
Message-ID:
        <<a href="mailto:CAN+Tr42WYEPd90e5VON-VfSTvhXn7t6fwA9Cm5vaaq_uT-ZJPQ@mail.gmail.com">CAN+Tr42WYEPd90e5VON-VfSTvhXn7t6fwA9Cm5vaaq_uT-ZJPQ@mail.gmail.com</a>>
Content-Type: text/plain; charset="iso-8859-1"

Look at the .cabal file for the package you are trying to compile.  It will
list all the dependencies.  If there is no cabal file you are out of luck.
You'll just have to find all the dependencies yourself.

I will say it is a bit easier to find libraries via hayoo (
<a href="http://holumbus.fh-wedel.de/hayoo/hayoo.html" target="_blank">http://holumbus.fh-wedel.de/hayoo/hayoo.html</a>) than in straight google.


On Sat, Jan 18, 2014 at 12:25 PM, Pyro Crane <<a href="mailto:pyrocrane1@aol.com">pyrocrane1@aol.com</a>> wrote:

>
>  Hi,
>
> I just started working with Haskell
>
> Running it on a RHEL linux operating system
>
> I was able to download and install it,  along with libraries and packages
> (or, at least, what I thought were the libraries and packages)
>
> But, when I try to run a simple script, I keep getting the error :   "*Could
> not find module XXXXXX*"..............
>
> I understand what this error means ---- there is a package/library missing.
>
> I tried using the "Cabal Update"  command,  but this did not solve the
> problem.
>
> So, I am now fixing this problem the primitive way, as follows :
>
>
>
>
>
>
>
>
>
>
>
>
> *(a)  I use Google to first find out what the missing module is (b)  then,
> based on what google says, I am able to determine the name of the actual
> package that needs to be installed (c)  I use  "Cabal Install"  to install
> the package (d)  I try to run the script again (e)  I get the same error,
> but this time, it cannot find a different module (f)  I go back to Google
> to locate the missing module *
>
> etc, etc, etc, etc
>
>
> Obviously, this is as slow as it is ridiculous...............
> especially when one considers that there are probably hundreds of these
> modules/packages
>
> And, now, I've come up against a module/package,  which I am unable to
> locate in Google.  It's missing from my installation, and Google does not
> know what it is,  or where I can find it
>
> Is there any way to simply install ALL required packages???   I thought I
> already did this,  but obviously I missed something
>
> Thanks
>
> _______________________________________________
> Beginners mailing list
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
> <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://www.haskell.org/pipermail/beginners/attachments/20140118/293ad831/attachment-0001.html" target="_blank">http://www.haskell.org/pipermail/beginners/attachments/20140118/293ad831/attachment-0001.html</a>>

------------------------------

Message: 3
Date: Sat, 18 Jan 2014 20:30:16 +0000
From: Courtney Robinson <<a href="mailto:courtney@crlog.info">courtney@crlog.info</a>>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <<a href="mailto:beginners@haskell.org">beginners@haskell.org</a>>
Subject: Re: [Haskell-beginners] Just started working with Haskell.
        Need    some help
Message-ID:
        <CAGo6xJZ+V=<a href="mailto:NF+VOe2+tyLTWCjW6NONGzxP4EFaYJkuXvXejotA@mail.gmail.com">NF+VOe2+tyLTWCjW6NONGzxP4EFaYJkuXvXejotA@mail.gmail.com</a>>
Content-Type: text/plain; charset="iso-8859-1"

How did you install Haskell?
How did you create your project?

If you haven't done so I'd suggest installing using a package from say
<a href="http://www.haskell.org/platform/" target="_blank">http://www.haskell.org/platform/</a>

That download will install everything you need to get going.
Did you create your project using cabal init?
Maybe copy and paste the error


On Sat, Jan 18, 2014 at 5:25 PM, Pyro Crane <<a href="mailto:pyrocrane1@aol.com">pyrocrane1@aol.com</a>> wrote:

>
>  Hi,
>
> I just started working with Haskell
>
> Running it on a RHEL linux operating system
>
> I was able to download and install it,  along with libraries and packages
> (or, at least, what I thought were the libraries and packages)
>
> But, when I try to run a simple script, I keep getting the error :   "*Could
> not find module XXXXXX*"..............
>
> I understand what this error means ---- there is a package/library missing.
>
> I tried using the "Cabal Update"  command,  but this did not solve the
> problem.
>
> So, I am now fixing this problem the primitive way, as follows :
>
>
>
>
>
>
>
>
>
>
>
>
> *(a)  I use Google to first find out what the missing module is (b)  then,
> based on what google says, I am able to determine the name of the actual
> package that needs to be installed (c)  I use  "Cabal Install"  to install
> the package (d)  I try to run the script again (e)  I get the same error,
> but this time, it cannot find a different module (f)  I go back to Google
> to locate the missing module *
>
> etc, etc, etc, etc
>
>
> Obviously, this is as slow as it is ridiculous...............
> especially when one considers that there are probably hundreds of these
> modules/packages
>
> And, now, I've come up against a module/package,  which I am unable to
> locate in Google.  It's missing from my installation, and Google does not
> know what it is,  or where I can find it
>
> Is there any way to simply install ALL required packages???   I thought I
> already did this,  but obviously I missed something
>
> Thanks
>
> _______________________________________________
> Beginners mailing list
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
> <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>
>
>


-- 
Courtney Robinson
<a href="mailto:courtney@crlog.info">courtney@crlog.info</a>
<a href="http://crlog.info" target="_blank">http://crlog.info</a>
07535691628 (No private #s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://www.haskell.org/pipermail/beginners/attachments/20140118/558d0740/attachment-0001.html" target="_blank">http://www.haskell.org/pipermail/beginners/attachments/20140118/558d0740/attachment-0001.html</a>>

------------------------------

Message: 4
Date: Sat, 18 Jan 2014 22:26:07 +0100
From: Emanuel Koczwara <<a href="mailto:poczta@emanuelkoczwara.pl">poczta@emanuelkoczwara.pl</a>>
To: <a href="mailto:beginners@haskell.org">beginners@haskell.org</a>
Subject: Re: [Haskell-beginners] Just started working with Haskell.
        Need some help
Message-ID: <<a href="mailto:52DAF16F.7000307@emanuelkoczwara.pl">52DAF16F.7000307@emanuelkoczwara.pl</a>>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello,

   Try to install haskell platform from red hat repositories. I'm using 
this approach with debian and it works.

Regards,
Emanuel



------------------------------

Message: 5
Date: Sat, 18 Jan 2014 21:28:43 +0000
From: Sean Charles <<a href="mailto:objitsu@gmail.com">objitsu@gmail.com</a>>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <<a href="mailto:beginners@haskell.org">beginners@haskell.org</a>>
Subject: Re: [Haskell-beginners] Just started working with Haskell.
        Need    some help
Message-ID: <<a href="mailto:147F2286-7A9D-415E-A9DF-27BE7A4CF828@gmail.com">147F2286-7A9D-415E-A9DF-27BE7A4CF828@gmail.com</a>>
Content-Type: text/plain; charset="windows-1252"

You have been blocked

You have been blocked from the server due to too many failed connection 
attempts. Please contact the support centre quoting this message with your IP 
address:

80.235.144.206



I guess that?s a no then???????


On 18 Jan 2014, at 21:26, Emanuel Koczwara <<a href="mailto:poczta@emanuelkoczwara.pl">poczta@emanuelkoczwara.pl</a>> wrote:

> Hello,

>  Try to install haskell platform from red hat repositories. I'm using this 
approach with debian and it works.

> Regards,
> Emanuel

> _______________________________________________
> Beginners mailing list
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
> <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://www.haskell.org/pipermail/beginners/attachments/20140118/24dce336/attachment-0001.html" target="_blank">http://www.haskell.org/pipermail/beginners/attachments/20140118/24dce336/attachment-0001.html</a>>

------------------------------

Message: 6
Date: Sat, 18 Jan 2014 22:35:37 +0100
From: Emanuel Koczwara <<a href="mailto:poczta@emanuelkoczwara.pl">poczta@emanuelkoczwara.pl</a>>
To: <a href="mailto:beginners@haskell.org">beginners@haskell.org</a>
Subject: Re: [Haskell-beginners] Just started working with Haskell.
        Need some help
Message-ID: <<a href="mailto:52DAF3A9.2070808@emanuelkoczwara.pl">52DAF3A9.2070808@emanuelkoczwara.pl</a>>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hello,

W dniu 18.01.2014 22:28, Sean Charles pisze:
>
>
>   You have been blocked
>
> You have been blocked from the server due to too many failed 
> connection attempts. Please contact the support centre quoting this 
> message with your IP address:
>
> *80.235.144.206*
>
>
>
> I guess that's a no then.....................
>
>
> On 18 Jan 2014, at 21:26, Emanuel Koczwara <<a href="mailto:poczta@emanuelkoczwara.pl">poczta@emanuelkoczwara.pl</a> 
> <<a href="mailto:poczta@emanuelkoczwara.pl?">mailto:poczta@emanuelkoczwara.pl</a>>> wrote:
>
>> Hello,
>>
>>  Try to install haskell platform from red hat repositories. I'm using 
>> this approach with debian and it works.
>>
>> Regards,
>> Emanuel
>>
>> _______________________________________________
>> Beginners mailing list
>> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a> <<a href="mailto:Beginners@haskell.org?">mailto:Beginners@haskell.org</a>>
>> <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>
>
>
>
> _______________________________________________
> Beginners mailing list
> <a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
> <a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>

   What?

Regards,
Emanuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://www.haskell.org/pipermail/beginners/attachments/20140118/a8da64e3/attachment.html" target="_blank">http://www.haskell.org/pipermail/beginners/attachments/20140118/a8da64e3/attachment.html</a>>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>


------------------------------

End of Beginners Digest, Vol 67, Issue 19
*****************************************
</tt></pre>
</div>
 <!-- end of AOLMsgPart_0_341ff753-24b8-4a33-9828-dd9ec9bd2c91 -->



</div>
</div>
</font>