[Sbcl-devel] quicklisp on sbcl/mac, trouble with sb-bsd-sockets

101 views
Skip to first unread message

Mark H. David

unread,
Apr 22, 2015, 1:13:39 AM4/22/15
to sbcl-...@lists.sourceforge.net
I have this log when I attempt load quicklisp in SBCL:


bash-3.2$ sbcl --core ~/sbcl-1.1.8-x86-64-darwin/output/sbcl.core
This is SBCL 1.1.8.0-19cda10, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (load "~/Downloads/quicklisp.lisp")

debugger invoked on a SB-INT:EXTENSION-FAILURE:
Don't know how to REQUIRE SB-BSD-SOCKETS.
See also:
The SBCL Manual, Variable SB-EXT:*MODULE-PROVIDER-FUNCTIONS*
The SBCL Manual, Function REQUIRE

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry EVAL of current toplevel form.
1: [CONTINUE] Ignore error and continue loading file "/Users/ky/Downloads/quicklisp.lisp".
2: [ABORT ] Abort loading file "/Users/ky/Downloads/quicklisp.lisp".
3: Exit debugger, returning to top level.

(SB-IMPL::REQUIRE-ERROR "Don't know how to ~S ~A." REQUIRE SB-BSD-SOCKETS)


My Mac OS is: OS X 10.10.3 (Yosemite).

Has anyone seen this? Can someone explain what might fix this?

Thanks,

Mark



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Sbcl-devel mailing list
Sbcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

Nikodemus Siivola

unread,
Apr 22, 2015, 4:07:26 AM4/22/15
to Mark H. David, Sbcl Devel
You need to set SBCL_HOME appropriately if you're not installing in
the default location.

Nikodemus Siivola

unread,
Apr 22, 2015, 4:11:57 AM4/22/15
to Mark H. David, Sbcl Devel
http://www.sbcl.org/getting.html

See: Installing to a different prefix

Attila Lendvai

unread,
Apr 22, 2015, 7:23:28 AM4/22/15
to Nikodemus Siivola, Sbcl Devel
FTR, if someone implemented the following, then that would probably
solve this issue also.

https://bugs.launchpad.net/sbcl/+bug/666086

it's a nice opportunity to get familiar with the SBCL build process,
and doesn't require deep knowledge of anything.

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“It is the mark of an educated mind to be able to entertain a thought
without accepting it.”
— Aristotle (BC 384–322), 'Metaphysics'

Mark H. David

unread,
Apr 22, 2015, 8:26:57 AM4/22/15
to Nikodemus Siivola, Sbcl Devel
Thank you. When I set SBCL_HOME to "/usr/local/lib/sbcl" I get a different error. Log follows. Any idea?

Thanks,

Mark


* (load "~/junk/quicklisp.lisp")
ASDF could not load sb-bsd-sockets because
Error while trying to load definition for system sb-bsd-sockets from pathname
/usr/local/Cellar/sbcl/1.2.2/lib/sbcl/contrib/sb-bsd-sockets.asd:
don't recognize component type REQUIRE-SYSTEM.

debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR:
Error while trying to load definition for system sb-bsd-sockets from pathname
/usr/local/Cellar/sbcl/1.2.2/lib/sbcl/contrib/sb-bsd-sockets.asd:
don't recognize component type REQUIRE-SYSTEM

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry EVAL of current toplevel form.
1: [CONTINUE ] Ignore error and continue loading file "/usr/local/Cellar/sbcl/1.2.2/lib/sbcl/contrib/sb-bsd-sockets.asd".
2: [ABORT ] Abort loading file "/usr/local/Cellar/sbcl/1.2.2/lib/sbcl/contrib/sb-bsd-sockets.asd".
3: [REINITIALIZE-SOURCE-REGISTRY-AND-RETRY] Retry finding system
sb-bsd-sockets after
reinitializing the
source-registry.
4: Retry EVAL of current toplevel form.
5: Ignore error and continue loading file "/Users/mhd/junk/quicklisp.lisp".
6: Abort loading file "/Users/mhd/junk/quicklisp.lisp".
7: Exit debugger, returning to top
level.

((FLET #:LAMBDA2306 :IN ASDF::LOAD-SYSDEF) #<ASDF::FORMATTED-SYSTEM-DEFINITION-ERROR {1004C0A913}>)

Mark H. David

unread,
Apr 22, 2015, 8:55:56 AM4/22/15
to Robert P. Goldman, Sbcl Devel
Yes, I got it to work when I built SBCL 1.2.10.71-997a155 and ran it. THANKS

> On Apr 22, 2015, at 5:31 AM, Robert P. Goldman <rpgo...@sift.net> wrote:
>
> This looks like a very old SBCL. My guess is that it has a version of ASDF too old to support Quicklisp.
>
> I would also guess that you got this as a binary, and the Mac binaries are very old.
>
> What I did on Mac was grab the binary and use that to build from source (which isn't that hard, I found the build scripts Just Work).
>
> Best,
> R
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

Robert P. Goldman

unread,
Apr 22, 2015, 11:13:24 AM4/22/15
to Mark H. David, Sbcl Devel
I'm not sure why it is that the SBCL binaries for Mac OS X are so old.
As your experience with quicklisp illustrates, I believe they are too
old to be practically useful.
Reply all
Reply to author
Forward
0 new messages