After a fairly vanilla install of Ubuntu Lucid 10.04, I wanted to install the Haskell Platform but the base Ubuntu install is missing some dependencies.
These were the packages I installed to complete the dependencies:
- libzlib1g-dev
- libgmp3-dev
- freeglut3
- freeglut3-dev
- libglew1.5
- libglew1.5-dev
- libglu1-mesa
- libglu1-mesa-dev
- libgl1-mesa-glx
- libgl1-mesa-dev
Rather than installing GHC from the Ubuntu repositories, I used the GHC 6.12.3 generic binary from haskell.org
Afterwards, I downloaded the source for the Haskell platform (see here) and followed the instructions for installing it.