I'm trying to install Haskell (for the first time). Following the instructions on the website, I downloaded:
I unpacked the ghc package, and installed it without problems. Then I unpacked haskell-platform and run the following:
./configure --prefix=/usr
make
su
make install
I get this error:
**************************************************
* Building each component completed successfully.
*
* Now do "sudo make install"
**************************************************
milanb@slicky:~/install/haskell-platform-2009.2.0.2$ su
root@slicky:/home/milanb/install/haskell-platform-2009.2.0.2# make install
scripts/install.sh
Installing mtl-1.1.0.2...
Error:
The mtl-1.1.0.2/Setup script does not exist or cannot be run
make: *** [install] Error 2
What to do next?
The Haskell Platform is a collection of software packages, tools and libraries that create a common platform for using and developing applications in Haskell. With the Haskell Platform, Haskell follows the same principle as Python: "Batteries included". Since 2022, the Haskell Platform has been deprecated.
The Haskell platform can be gotten from the official download page for both Windows and macOS. You can install the Cabal libraries tool on Windows from here.
To set up Haskell environment on your Windows computer, go to their official website https://www.haskell.org/platform/windows.html and download the Installer according to your customizable architecture. Check out your system's architecture and download the corresponding setup file and run it.
I'm not sure what the cause is, but I think it is better reported to the Haskell Platform mailing list and bug tracker:
This appears to be the most relevant link: http://trac.haskell.org/haskell-platform/ticket/84
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With