compilation problem
Simon Helsen
Simon Helsen <shelsen@acm.org>
Tue, 17 Jul 2001 16:53:07 +0200 (CEST)
Hi Stephen, Hi all,
I was just trying to compile MLTon and got the following problem:
====================================================================
mlton-20010706/src# make
cd /usr/local/src/mlton-20010706/src/mlton && make
make[1]: Entering directory `/usr/local/src/mlton-20010706/src/mlton'
mlyacc front-end/ml.grm
1 shift/reduce conflict
mllex front-end/ml.lex
Number of states = 278
Number of distinct rows = 183
Approx. memory size of trans. table = 188856 bytes
Compiling mlton (takes a while)
time mlton @MLton -- -v -o mlton-compile mlton.cm
MLton starting
Compile SML starting
pre codegen starting
gcc -DNODEBUG -DMLton_safe=TRUE -DMLton_detectOverflow=TRUE \
-I/usr/local/lib/mlton/include -o /tmp/filehQdgTY \
/tmp/fileTQdAjy.c -L/usr/local/lib/mlton/lib -lmlton -lm
-lgmp
/tmp/filehQdgTY /tmp/filej4dkHo
mmap failed
Command exited with non-zero status 1
31.25user 15.45system 3:30.22elapsed 22%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (61252major+260568minor)pagefaults 33672swaps
make[1]: *** [mlton-compile] Error 1
make[1]: Leaving directory `/usr/local/src/mlton-20010706/src/mlton'
make: *** [/usr/local/src/mlton-20010706/src/mlton/mlton-compile] Error 2
mlton-20010706/src#
========================================================================
In order to do this, I first installed the binaries (for glibc2.2) since
source compilation required an mlyacc not available on my system (this
is perhaps not very lucky, but a minor point).
regards,
Simon