[gambit-list] Gambit compiling from Source

Marc Feeley feeley at iro.umontreal.ca
Sun Dec 6 23:38:35 EST 2009


The time stamps on your files seems to be inconsistent.  Please start from a freshly unpacked gambc-v4_5_3.tgz .  If that doesn't work, you can probably do "touch */*.c" and then "make".

Marc

On 2009-12-06, at 11:17 PM, Nikhil Barthwal wrote:

> 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
> 
> 
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list




More information about the Gambit-list mailing list