Just started working with Haskell. Need some help

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

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 (
http://holumbus.fh-wedel.de/hayoo/hayoo.html) than in straight google.
On Sat, Jan 18, 2014 at 12:25 PM, Pyro Crane
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 Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

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
http://www.haskell.org/platform/
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
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 Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Courtney Robinson courtney@crlog.info http://crlog.info 07535691628 (No private #s)

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

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
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 Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

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
mailto:poczta@emanuelkoczwara.pl> 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 Beginners@haskell.org mailto:Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
What? Regards, Emanuel
participants (5)
-
Courtney Robinson
-
David McBride
-
Emanuel Koczwara
-
Pyro Crane
-
Sean Charles