lambdanative icon indicating copy to clipboard operation
lambdanative copied to clipboard

Are any package managers for gambit supported by LambdaNative?

Open BusFactor1Inc opened this issue 7 years ago • 5 comments

Looking at the gambit wiki there are some package managers listed[1]. Are any supported by LN?

[1] http://dynamo.iro.umontreal.ca/wiki/index.php/Packages

BusFactor1Inc avatar Oct 30 '18 01:10 BusFactor1Inc

Currently no, but some of the SRFI's from snow are bundled with LambdaNative, e.g. some of the time functions.

mgorges avatar Oct 30 '18 01:10 mgorges

I'm looking into setting up snow, but can't seem to find the gsi binary in the LN directory. Where is it built and installed?

BusFactor1Inc avatar Oct 30 '18 02:10 BusFactor1Inc

I found gsc in the following location:

/Users/burton//Library/Caches/lambdanative/macosx/bin/gsc

BusFactor1Inc avatar Oct 30 '18 02:10 BusFactor1Inc

It depends a bit on your system, as make.sh is trying to do some automatic detection. If its a relatively new install $HOME/Library/Caches/lambdanative/$SYS_HOSTPLATFORM/bin/gsc

mgorges avatar Oct 30 '18 02:10 mgorges

I tried to see if snow could be installed easily, but ran into the following when I tried to configure:

bash-3.2$ PATH=~/Library/Caches/lambdanative/macosx/bin/:$PATH ./configure --site-root=~/Library/Caches/lambdanative/macosx/lib/snow
Searching for the Scheme systems accessible in the current PATH:
  Gambit 4.7.9           -> /Users/burton/Library/Caches/lambdanative/macosx/bin//gsi
  Gambit compiler 4.7.9  -> /Users/burton/Library/Caches/lambdanative/macosx/bin//gsc
...
----------------------------------------------- testing gambit
/bin/sh: unknowncommand: command not found
START OF SELF TEST
exceptions, records, optional parameters, keywords, fixnum, homovector, timeFAI\
LED: (and (bignum>= 1540865829 1168000000) (bignum<= 1540865829 1300000000))
, bignum, string, filesys, hostos, random, extio, genport, digest, aes, http, z\
lib, tar
END OF SELF TEST   *** 1 TESTS FAILED ***
gambit has ***failed*** the self test
-----------------------------------------------

*** None of the installed Scheme systems support Scheme Now!
*** Consequently, the Scheme Now! framework can't be installed.
*** You might want to install a Scheme system, add it to your
*** PATH, and then run the configure script again.

Just thought I would share. I'm not sure what Scheme Now is, but more work seems to be required.

BusFactor1Inc avatar Oct 30 '18 02:10 BusFactor1Inc