Thanks to you all. In fact, the student found by himself that the problem came from his environment. He has switched to the Lion MacOS distribution and not updated the XCode package.
So now it is working fine. Thanks again for you quick answers.
Irène
Le 09/09/11 19:16, Enguerrand Petit a écrit :
J'ai résolue le problème avec slime, sous l'os Lion il faut le Xcode de l'appstore fait pour lion, j'avais l'ancienne version pour Snow léopard et du coup il manquait un paquet (GNUmake ou makeGNU). Le problème n'était pas slime mais directement sbcl ( et pourtant il marchait) mais il lui manquait ce paquet pour qu'il puisse tourner avec emacs je pense.
Merci pour votre aide,
Enguerrand Petit IN501A3
Le 08/09/11 17:53, Christophe Rhodes a écrit :
Helmut Ellerheller@common-lisp.net writes:
- Irene DURAND [2011-09-08 13:12+0200] writes:
One has a problem on a MacBook Pro (Lion) that I was unable to solve so far.
[...]
;; Error while compiling /Users/enguerrand-petit/slime/swank-sbcl.lisp: ;; Don't know how to REQUIRE SB-BSD-SOCKETS. ;; See also: ;; The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS* ;; The SBCL Manual, Function REQUIRE ;; Aborting.
The SBCL Manual should contain the necessary info but now after a quick look to www.sbcl.org/manual/ I'm rolling my eyes on The Useless SBCL Manual.
The most likely cause is that SBCL is unable to find the "contrib" directory where SB-BSD-SOCKETS is stored. If I remember correctly, this can be specified with the SBCL_HOME environment variable: SBCL_HOME=<path-where-rest-of-sbcl-is>/contrib.
The other thing that might be wrong, if (require 'sb-bsd-sockets) is failing but (require 'sb-cltl2) does not, is that sbcl executes tests for its contributed modules and refuses to install those modules that don't pass their tests. Given the relative newness of Lion, it's not impossible that something causes the tests for sb-bsd-sockets to fail, which would make (require 'sb-bsd-sockets) give that error. Assuming that sbcl was built and installed without significant customization, that would show up as ls -ld /usr/local/lib/sbcl/sb-bsd-sockets giving an error message.
(if neither Helmut's suggestion nor mine resolves the issue, I think it would be necessary to see more detail about how the user has installed SBCL.)
Cheers,
Christophe
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel