freenode/#lisp - IRC Chatlog
Search
22:26:04
sveit
commits like this one (there are others) seem to suggest this should be possible: https://sourceforge.net/p/sbcl/sbcl/ci/e84400d65cfd88483d901199b482bcb892a0ac28/
22:26:48
rustisafungus
i have no idea if this will photograph you while you are on the john and post the picture on the front page of a newspaper, but lisps are available on android,... https://play.google.com/store/apps/details?id=org.eql5.android.repl&hl=en_US
22:26:50
sveit
actually i have not just quicklisp, but SLY/SLIME working with ECL on termux. it's actually quite nice
22:27:03
no-defun-allowed
https://github.com/pocoproject/poco/issues/1204 suggests you should replace that with sysconf(_SC_OPEN_MAX)
22:28:50
sveit
no-defun-allowed: the first build i did had some error with sockets, so quicklisp didn't work, but it was from not including the argument --build=aarch64-linux-android to configure
22:29:53
sveit
i am happy to start patching, but i was hoping there was some cross-compile or other process i could do without modifying the source based on some of the mysterious statements on the internet :)
22:31:57
sm2n
sveit, if it's actually libc, you could maybe try compiling against musl statically instead
22:33:20
sveit
sm2n: thanks! long shot, but do you know what to pass to the SBCL make to do this static linking?
22:35:43
sveit
Nilby: only clang is officially supported, i think getting GCC will run into more problems than SBCL :)
22:36:59
sm2n
but it looks like threading is disabled on aarch64, so I think that means slime etc won't work
22:37:21
sm2n
here is the build script: https://git.alpinelinux.org/aports/tree/community/sbcl/APKBUILD
22:38:20
Nilby
searching reports this: https://github.com/its-pointless/gcc_termux . It looks pretty kludgy though.
22:38:53
no-defun-allowed
Well, threading on AArch64 does work, so it could be enabled. (I think you pass --fancy and you get all the good stuff including threading.)
1:10:24
drl
OK, I'm back. I deleted the old code in ~/.sbclrc. I also deleted ~/.cache/common-lisp/ and ~/.slime/fasl/. I closed and restarted emacs. But alexandria still can't load. The first line of the backtrace is: 0: (SB-IMPL::UPDATE-PACKAGE-WITH-VARIANCE #<PACKAGE "ALEXANDRIA.1.0.0"> "ALEXANDRIA" ("ALEXANDRIA.1.0.0" "ALEXANDRIA-1") #S(SB-C:DEFINITION-SOURCE-LOCATION :NAMESTRING "/home/l/quicklisp/dists/quicklisp/..
1:31:41
drl
|3b|, the file ~/.swank.lisp does not exist, but /home/l/quicklisp/dists/quicklisp/software/slime-v2.24/swank.lisp does exist.
2:03:29
drl
|3b|, if sbcl is started like this: sbcl --no-sysinit --no-userinit, and then * (load "alexandria") I get "Couldn't load "alexandria": file does not exist."
2:14:43
Alfr
And --no-userinit will also skip the bits that quicklisp set up for, not sure you want this, unless you've manually set up alexandria somewhere.
2:16:55
drl
Alfr, alexandria has been downloaded by quicklisp, but can't load. I just ran "sbcl --no-sysinit --no-userinit" because |3b| asked me to. Usually I use slime.
2:19:36
drl
(ql:quickload "alexandria") give this error message: ALEXANDRIA is a nickname for the package ALEXANDRIA.1.0.0
2:25:32
Alfr
drl, w/ --no-sysinit --no-userinit; did you try loading the setup.lisp file in the quicklisp directory and then quickloading alexandria?
2:35:51
drl
Alfr, Is this the correct way to load it?: (load '/home/l/quicklisp/quicklisp/setup.lisp)
3:02:10
drl
If sbcl is started without those options, then (ql:quickload "alexandria") loads without error.
3:04:23
Alfr_
So sbcl finds its contibs. Move your ~/.sbclrc somewhere safe and install quicklisp again with sbcl --no-sysinit .