[gambit-list] 4.0b20 and later not respecting --prefix=

Marc Feeley feeley at iro.umontreal.ca
Thu Apr 5 21:16:59 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 5-Apr-07, at 7:51 PM, Robert D. Skeels wrote:

> 4.0b22 doesn't seem to be respecting --prefix= at install. I looked
> through the makefile and notice that there is a PACKAGE_SUBDIR (/
> 4.0b22) appended to prefix. Is this supposed to happen by default? I
> don't recall previous Gambit betas doing this, and am not sure I want
> to add another set of directories to PATH et al. Is there a way to
> work around this?
>
> uname -a && machine
> Darwin kyoto 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07
> PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc
> ppc970

The new directory structure, which is explained on the first page of  
the Gambit manual, has been in use for several betas.  If you are  
installing version VERSION with a prefix of PREFIX, the following  
directories are created to store the executable files, libraries, etc:

    PREFIX/VERSION   <- contains bin/, lib/, include/, etc
    PREFIX/current   <- symbolic link to PREFIX/VERSION

This organization allows multiple versions of Gambit to coexist in  
the PREFIX directory.  By putting "PREFIX/current/bin" in your PATH,  
you will automatically have access to the latest version of Gambit  
installed.  You don't have to change your PATH when a new version is  
installed.  But if you wish to execute a specific version of Gambit,  
you can specify that in the path, i.e. PREFIX/4.0b20/bin/gsi .

Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGFZ+L//V9Zc2T/v4RArCuAKCCYnbwBZxUhhUOaJNHKw0p7LMjdwCgnVhy
mi2xoD/jk57BoMtRsA/GVHE=
=UryH
-----END PGP SIGNATURE-----



More information about the Gambit-list mailing list