On 2012-01-20, at 11:18 PM, Adrien Piérard wrote:
Hi,
In http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Black_Hole it says Make sure you put the blackhole-libs into a directory called "std" in ~~/ lib/modules I find this sentence unclear. Not being a regular Gambit user yet, I don't know where ~~ is.
Gambit automatically expands "~~lib" to the libdir where it was installed, so you should It's a mechanism for improved portability. On my computer (and probably most of those running FreeBSD), it expands to "/usr/local/lib/gambit-c/" For example:
(path-expand "~~lib") => "/usr/local/lib/gambit-c/"
I, however, believe that the slash between "~~" and "lib" on the blackhole page you linked is a mistake (either a documentation mistake, or a design mistake, for I reckon it should be "~~lib/modules"
That's correct. The path "~~lib/foo" is the location of the file foo in the Gambit "lib" directory, and the path "~~/lib/foo" is the location of the file foo in the "lib" directory of the Gambit install directory. The default installation puts the Gambit "lib" directory as a subdirectory of the Gambit install directory, so in this case they are the same. However, to accommodate the conventions of various packaging systems, it is possible to put the Gambit "lib" directory (and the Gambit "bin" directory, etc) in a specific place different from the default.
Marc