[gambit-list] Using mercurial to update Gambit

James Long longster at gmail.com
Wed Apr 23 16:53:36 EDT 2008


I'm trying to get on the track of updating Gambit with mercurial.   
Unfortunately I can't get it to work.

Here's the most "official" documentation I could find:

http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Contributing_Patches_to_Gambit_Source_Code

I followed those steps and during the `make update` command, I get the  
following error:

james% make update
hg pull
pulling from http://www.iro.umontreal.ca/~gambit/repo/gambit/
searching for changes
no changes found
make update-nopull
next_version=`hg tags | sed -n -e '/v4.2.6 /{g;1!p;};h' | sed -e 's/\ 
([^ ]*\)-bootstrap.*/\1/'`; \
         next_version=`hg tags | sed -n -e '/v4.2.6 /{g;1!p;};h' |  
grep -e 'v.*-bootstrap' | sed -e 's/\([^ ]*\)-bootstrap.*/\1/'`; \
         if test "$next_version" = ""; then \
           hg update; \
         else \
           hg update -r $next_version-bootstrap; \
           make bootstrap; \
           hg update -r $next_version; \
           make clean bootstrap update; \
         fi
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
make
making all in include
making all in lib
gcc -I../include -I. -no-cpp-precomp -Wall -W -Wno-unused -O1 -fno- 
math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing - 
fwrapv -fmodulo-sched -freschedule-modulo-scheduled-loops -fomit-frame- 
pointer -fPIC -fno-common -mieee-fp -DHAVE_CONFIG_H -D___PRIMAL - 
D___LIBRARY -D___GAMBCDIR="\"/usr/local/Gambit-C/v4.2.6\"" - 
D___SYS_TYPE_CPU="\"i386\"" -D___SYS_TYPE_VENDOR="\"apple\"" - 
D___SYS_TYPE_OS="\"darwin9.2.2\"" -c _io.c
In file included from ../include/gambit.h:12,
                  from _io.c:1248:
../include/gambit-not402006.h:1:2: error: #error "The version  
indicated in ___VERSION is not supported by gambit.h"
../include/gambit-not402006.h:2:2: error: #error "You are probably  
compiling C code generated by a Gambit compiler earlier or later than  
v4.2.6"
../include/gambit-not402006.h:3:2: error: #error "___VERSION will be  
set to 402006 to reduce other errors"
make[2]: *** [_io.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [update] Error 2

Thanks
- james




More information about the Gambit-list mailing list