logo       

Compile problems: msg#00035

lang.haskell.glasgow.bugs

Subject: Compile problems


Hi!

I'm still trying to compile ghc, but it's getting worse:

Running make results in the following error message:

[snip]

------------------------------------------------------------------------
===fptools== Recursively making `boot' in hasktags ghc-pkg hp2ps hsc2hs
parallel stat2resid prof unlit genprimopcode ...
PWD = /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils/hasktags
------------------------------------------------------------------------
M -optdep-f -optdep.depend -osuf o -ldl -O HaskTags.hs
make[3]: M: Command not found
make[3]: [depend] Error 127 (ignored)
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils/ghc-pkg
------------------------------------------------------------------------
M -optdep-f -optdep.depend -osuf o -ldl -cpp -DPKG_TOOL -DWANT_PRETTY
-package lang -package util -package text -O Main.hs Package.hs
ParsePkgConfLite.hs
make[3]: M: Command not found
make[3]: [depend] Error 127 (ignored)
make all
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c Main.hs -o Main.o
make[4]: ldl: Command not found
make[4]: [Main.o] Error 127 (ignored)
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c Package.hs -o Package.o
make[4]: ldl: Command not found
make[4]: [Package.o] Error 127 (ignored)
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c ParsePkgConfLite.hs -o ParsePkgConfLite.o
make[4]: ldl: Command not found
make[4]: [ParsePkgConfLite.o] Error 127 (ignored)
o ghc-pkg.bin -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util
-package text -O Main.o Package.o ParsePkgConfLite.o
make[4]: o: Command not found
make[4]: [ghc-pkg.bin] Error 127 (ignored)
make INSTALLING=0 BIN_DIST=0 - --no-print-directory -r all
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c Main.hs -o Main.o
make[5]: ldl: Command not found
make[5]: [Main.o] Error 127 (ignored)
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c Package.hs -o Package.o
make[5]: ldl: Command not found
make[5]: [Package.o] Error 127 (ignored)
ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util -package text -O
-c ParsePkgConfLite.hs -o ParsePkgConfLite.o
make[5]: ldl: Command not found
make[5]: [ParsePkgConfLite.o] Error 127 (ignored)
o ghc-pkg.bin -ldl -cpp -DPKG_TOOL -DWANT_PRETTY -package lang -package util
-package text -O Main.o Package.o ParsePkgConfLite.o
make[5]: o: Command not found
make[5]: [ghc-pkg.bin] Error 127 (ignored)
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils/hp2ps
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend -- -O -I../../includes
-Wall -- AreaBelow.c AuxFile.c Axes.
Curves.c Deviation.c Dimensions.c Error.c HpFile.c Key.c Main.c Marks.c
PsFile.c Reorder.c Scale.c Shade.c TopTwenty.
TraceElement.c Utilities.c
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils/hsc2hs
------------------------------------------------------------------------
M -optdep-f -optdep.depend -osuf o -ldl -package util -cpp -O Config.hs
Main.hs
make[3]: M: Command not found
make[3]: [depend] Error 127 (ignored)

[snip]

------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/utils/genprimopcode
------------------------------------------------------------------------
ldl -syslib text -O -c Main.hs -o Main.o
make[3]: ldl: Command not found
make[3]: [Main.o] Error 127 (ignored)
o genprimopcode -ldl -syslib text -O Main.o
make[3]: o: Command not found
make[3]: [genprimopcode] Error 127 (ignored)
M -optdep-f -optdep.depend -osuf o -ldl -syslib text -O Main.hs
make[3]: M: Command not found
make[3]: [depend] Error 127 (ignored)

[leads to:]

------------------------------------------------------------------------
==fptools== make boot -wr;
in /mnt/laborpcs/home/sonja/ghc-5.04.2/ghc/compiler
------------------------------------------------------------------------
/bin/sh: test: too many arguments
/bin/sh: test: -lt: unary operator expected
/bin/sh: test: too many arguments
Creating main/Config.hs ... done.
rm -f prelude/primops.txt
gcc -E -I../includes -traditional -x c prelude/primops.txt.pp | /bin/sed -e
'/^#/d' > prelude/primops.txt
../utils/genprimopcode/genprimopcode --data-decl < prelude/primops.txt
> primop-data-decl.hs-incl
/bin/sh: ../utils/genprimopcode/genprimopcode: No such file or directory
make[2]: *** [primop-data-decl.hs-incl] Error 127
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/mnt/laborpcs/home/sonja/ghc-5.04.2/ghc'
make: *** [all] Error 1

I am working with a RedHat 7.3, but also tried the same with the same
result on a SuSE ?? and Gentoo.

Thanks for any suggestions.

sonja

university of Bremen

--
Deutschland haette Weltmeister werden koennen!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise