[gambit-list] Using mercurial to update Gambit

James Long longster at gmail.com
Thu Apr 24 12:40:18 EDT 2008


On Apr 23, 2008, at 5:20 PM, Marc Feeley wrote:

> On 23-Apr-08, at 4:53 PM, James Long wrote:
>
>> I'm trying to get on the track of updating Gambit with mercurial.
>> Unfortunately I can't get it to work.
>
> My guess is that you did a manual "hg pull" and/or "hg update"  
> *before* doing a "make update".  That's a no-no.  You should only  
> use the "hg" commands if you know what you are doing, otherwise use  
> "make update".  That's the price to pay for automating a complex  
> bootstrap process.  If you are stuck, get the latest release of  
> Gambit, untar, "make", "make bootstrap", and finally "make update".   
> If that doesn't work then there's a bug... please report it.

Yep, I did a manual "hg update", but only because the instructions on  
the page I mentioned are broken.  Here's the steps it outlines:

wget http://www.iro.umontreal.ca/~gambit/download/gambit/v4.0/source/gambc-v4_0_0.tgz
tar zxf gambc-v4_0_0.tgz
mv gambc-v4_0_0 gambit
cd gambit
./configure
make bootstrap
hg pull
make update

However, at this point `make update' fails with the error "no target  
for 'update`".  The `hg pull' command told me to do `hg update' to get  
a working copy, and I figured that would update the makefile (I don't  
know mercurial).  Of course, it seemed to but then everything else  
broke...  It around version 4.0.0 that the build system was going  
through some drastic changes, maybe that page should be updated to  
begin with a more recent release?

I got it to work by getting the latest source and simply using `make  
update'.  From here on out, all I need to do it `make update', correct?

For reference, here's the page I was talking about:
http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Contributing_Patches_to_Gambit_Source_Code

Thanks,
- James





More information about the Gambit-list mailing list