[Haskell-beginners] Trouble compiling haskell platfrom
Jeff Lasslett
jeff.lasslett at gmail.com
Wed Jul 11 02:07:38 CEST 2012
Greetings,
I'm trying to recompile & reinstall the haskell platform 12.2.0.0. I
have installed it successfully on a prior occasion but I decided to
reinstall as I think I may have messed up my installed packages a bit
while playing around with yesod. I intend to use cabal-dev or
virtualenv for that in future.
So I thought I'd do a clean install. I blew away my haskell platform
and ghc, both of which were installed in a dir under my home dir. I
also blew away my ~/.cabal/ dir.
I then reinstalled by ghc 7.4.1 into ~/prg/haskell-platform-12.2.0.0.
I then unpacked the sources of haskell-platform-12.2.0.0 and
configured it with the prefix set to where ghc is.
configure finished without error so I ran 'make'. It quits with what
follows. How do I fix this??
With thanks,
Jeff
* Now do "make" followed by "make install"
**************************************************
jeff at chunks:~/src/haskell-platform-2012.2.0.0$ make
scripts/build.sh
**************************************************
Scanning system for any installed Haskell Platform components...
Found: HUnit-1.2.4.2 OpenGL-2.2.3.1 GLUT-2.1.2.1 html-1.0.1.2
parallel-3.2.0.2 random-1.0.1.1 QuickCheck-2.4.2 stm-2.3 syb-0.3.6.1
haskell-src-1.0.1.5 text-0.11.2.0 transformers-0.3.0.0 mtl-2.1.1
fgl-5.4.2.4 parsec-3.1.2 network-2.3.0.13 HTTP-4000.2.3
regex-base-0.93.2 regex-posix-0.95.1 regex-compat-0.95.1
xhtml-3000.2.1 cgi-3001.1.7.4 zlib-0.5.3.3 haskell-platform-2012.2.0.0
New packages to install: None! All done.
**************************************************
Building alex-3.0.1
"/home/jeff/prg/haskell-platform-12.2.0.0/bin/ghc" "--make" "Setup"
"-o" "Setup" "-package" "Cabal-1.14.0"
Linking Setup ...
"./Setup" "configure"
"--package-db=../../packages/package.conf.inplace"
"--prefix=/home/jeff/prg/haskell-platform-12.2.0.0"
"--with-compiler=/home/jeff/prg/haskell-platform-12.2.0.0/bin/ghc"
"--with-hc-pkg=/home/jeff/prg/haskell-platform-12.2.0.0/bin/ghc-pkg"
"--with-hsc2hs=/home/jeff/prg/haskell-platform-12.2.0.0/bin/hsc2hs"
"--enable-library-profiling"
"--ghc-pkg-option=--package-conf=../../packages/package.conf.inplace"
"--user"
Warning: defaultUserHooks in Setup script is deprecated.
Configuring alex-3.0.1...
"./Setup" "build"
Building alex-3.0.1...
Preprocessing executable 'alex' for alex-3.0.1...
src/Data/Ranged/RangedSet.hs:64:8:
Could not find module `Test.QuickCheck'
There are files missing in the `QuickCheck-2.4.2' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
Error:
Building the alex-3.0.1 package failed
make: *** [build.stamp] Error 2
More information about the Beginners
mailing list