From: Paolo A. <am...@mc...> - 2004-03-06 16:41:12
|
On my Debian Woody system I keep most of my Lisp sources in subdirectories of ~/src/, such as ~/src/clx/ for SBCL's CLX sources. I also have directory ~/src/systems/, in which I place symbolic links to .asd files, including: ~/src/systems/clx.asd -> ~/src/clx/clx.asd If I create directory ~/.sbcl/systems and the symbolic link: ~/.sbcl/systems/clx.asd -> ~/src/clx/clx.asd I can correctly build and compile CLX by hand as explained in the README file. But if ~/.sbcl/systems is not a regular directory but a symbolic link: ~/.sbcl/systems -> ~/src/systems/ I get an error when building or loading CLX (see the transcript included below). Why? Is this because of too much file system indirection? I use SBCL compiled from CVS sources updated no more than a couple of days ago, and the latest CLX CVS sources from cvs.telent.net. Paolo -------------------------------------------------------------------- This is SBCL 0.8.8.14, 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. * (require :asdf) ("ASDF") * (require :clx) ; loading system definition from ; #P"/usr/local/sbcl/lib/sbcl/systems/sb-bsd-sockets.asd" into ; #<PACKAGE "ASDF2639"> ; registering #<SYSTEM SB-BSD-SOCKETS {902D4A1}> as SB-BSD-SOCKETS ; registering #<SYSTEM SB-BSD-SOCKETS-TESTS {92DF469}> as SB-BSD-SOCKETS-TESTS debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread 435: The file "/home/paolo/.sbcl/systems/package.lisp" does not exist. You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {9192819}> on #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}>. 1: [ACCEPT ] Continue, treating #<ASDF:COMPILE-OP NIL {9192819}> on #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}> as having been successful. 2: [ABORT ] Reduce debugger level (leaving debugger, returning to toplevel). 3: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop. (TRUENAME 1 #P"/home/paolo/.sbcl/systems/package.lisp")[:EXTERNAL] 0] backtrace 0: (TRUENAME 1 #P"/home/paolo/.sbcl/systems/package.lisp")[:EXTERNAL] 1: ("FLET SB!C::TRY-WITH-TYPE" #P"/home/paolo/.sbcl/systems/package.lisp" "lisp" T) 2: (SB-C::VERIFY-SOURCE-FILE 1 #P"/home/paolo/.sbcl/systems/package.lisp")[:EXTERNAL] 3: (COMPILE-FILE 3 #P"/home/paolo/.sbcl/systems/package.lisp")[:EXTERNAL] 4: ((ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)) #<unavailable argument> #<unavailable argument> #<ASDF:COMPILE-OP NIL {9192819}> #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}>) 5: ("#'(LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. ...) (DECLARE #) ...)" #<unavailable argument> #<unavailable argument> #<ASDF:COMPILE-OP NIL {9192819}> #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}>) 6: ((ASDF:PERFORM :AROUND (T CLX-SYSTEM::CLX-SOURCE-FILE)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION "CLOSURE" {995D7CD}> :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (2)) #<ASDF:COMPILE-OP NIL {9192819}> #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}>) 7: ((ASDF:PERFORM :AROUND (ASDF:COMPILE-OP CLX-SYSTEM::CLX-SOURCE-FILE)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION # {9DF1935}> :PV-CELL NIL :NEXT-METHOD-CALL #S(SB-PCL::FAST-METHOD-CALL :FUNCTION # :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (2)) :ARG-INFO (2)) #<ASDF:COMPILE-OP NIL {9192819}> #<CLX-SYSTEM::CLX-SOURCE-FILE "package" {9D602C1}>) 8: ("#'(LAMBDA NIL (LOOP ASDF::FOR # ...))") 9: (SB-C::%WITH-COMPILATION-UNIT 1 #<FUNCTION "CLOSURE" {9537D95}>)[:EXTERNAL] 10: ("varargs entry for ASDF:OPERATE" ASDF:LOAD-OP :CLX) 11: (ASDF::MODULE-PROVIDE-ASDF :CLX) 12: ("#'(LAMBDA (#:G18) (LET # #))" ASDF::MODULE-PROVIDE-ASDF) 13: (SB-IMPL::%MAP-FOR-EFFECT-ARITY-1 2 #<FUNCTION "CLOSURE" {94F5AFD}> (ASDF::MODULE-PROVIDE-ASDF SB-IMPL::MODULE-PROVIDE-CONTRIB))[:EXTERNAL] 14: (SB-KERNEL:%MAP 3 NIL #<FUNCTION "CLOSURE" {94F5AFD}> (ASDF::MODULE-PROVIDE-ASDF SB-IMPL::MODULE-PROVIDE-CONTRIB))[:EXTERNAL] 15: ("hairy arg processor for top level local call REQUIRE" :CLX NIL) 16: (SB-INT:EVAL-IN-LEXENV 2 (REQUIRE :CLX) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL :CLEANUP NIL ...))[:EXTERNAL] 17: (INTERACTIVE-EVAL 1 (REQUIRE :CLX))[:EXTERNAL] 18: (SB-IMPL::REPL-FUN 1 NIL)[:EXTERNAL] 19: ("#'(LAMBDA NIL (LOOP # #))") 20: ("XEP for #'(LAMBDA NIL (LOOP # #))" 0)[:EXTERNAL] 21: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX 1 #<FUNCTION "CLOSURE" {90078ED}>)[:EXTERNAL] 22: (SB-IMPL::TOPLEVEL-REPL 1 NIL)[:EXTERNAL] 23: (SB-IMPL::TOPLEVEL-INIT 0)[:EXTERNAL] 24: ("FLET SB!IMPL::RESTART-LISP") 0] -------------------------------------------------------------------- -- Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film |