[gambit-list] Gambit compiling from Source
Nikhil Barthwal
nikhilbarthwal at yahoo.com
Sun Dec 6 23:17:01 EST 2009
Hi Everyone,
Thanks for your help. Unfortunately I am getting errors during the build
process. I tried:
./configure --prefix=/home/nikhil/Programs/Scheme --enable-gcc-opts --enable-single-host
Everything seems to be fine except a warning message that some
optimization will not work. But when I invoked make, the attached error
message popped up. Please help!
Thanks,
Nikhil
nikhil at barthwal:~/Programs/gambc-v4_5_3$ make
making all in include
make[1]: Entering directory `/home/nikhil/Programs/gambc-v4_5_3/include'
major=`echo v4.5.3 | sed -e "s/v//g" -e "s/\.[^.]*\.[^.]*//g"`; \
minor=`echo v4.5.3 | sed -e "s/v[^.]*\.//g" -e "s/\.[^.]*//g"`; \
revision=`echo v4.5.3 | sed -e "s/v[^.]*\.[^.]*\.//g" -e "s///g"`; \
version_num=`eval expr "\( 100000 \\* $major \) + \( 1000 \\* $minor
\) + $revision"`; \
echo "#error \"The version indicated in ___VERSION is not supported
by gambit.h\"" > gambit-not$version_num.h; \
echo "#error \"You are probably compiling C code generated by a
Gambit compiler earlier or later than v4.5.3\"" >>
gambit-not$version_num.h; \
echo "#error \"___VERSION will be set to $version_num to reduce
other errors\"" >> gambit-not$version_num.h; \
echo "#undef ___VERSION" >> gambit-not$version_num.h; \
echo "#define ___VERSION $version_num" >> gambit-not$version_num.h; \
echo "#include \"gambit.h\"" >> gambit-not$version_num.h
make[1]: Leaving directory `/home/nikhil/Programs/gambc-v4_5_3/include'
making all in lib
make[1]: Entering directory `/home/nikhil/Programs/gambc-v4_5_3/lib'
../gsc-comp -:~~bin=../bin,~~lib=../lib,~~include=../include -f -c
-check _io.scm
/bin/sh: ../gsc-comp: not found
make[1]: *** [_io.c] Error 127
make[1]: Leaving directory `/home/nikhil/Programs/gambc-v4_5_3/lib'
make: *** [all-recursive] Error 1
More information about the Gambit-list
mailing list