part-cw / lambdanative

LambdaNative is a cross-platform development environment written in Scheme, supporting Android, iOS, BlackBerry 10, OS X, Linux, Windows, OpenBSD, NetBSD, FreeBSD and OpenWrt.
http://www.lambdanative.org
Other
1.39k stars 86 forks source link

Are any package managers for gambit supported by LambdaNative? #217

Open BusFactor1Inc opened 5 years ago

BusFactor1Inc commented 5 years ago

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

mgorges commented 5 years ago

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

BusFactor1Inc commented 5 years ago

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 commented 5 years ago

I found gsc in the following location:

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

mgorges commented 5 years ago

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

BusFactor1Inc commented 5 years ago

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.