From: Tamas Papp
Subject: can't install cxml
Date: 
Message-ID: <877ir4omwd.fsf@pu100877.student.princeton.edu>
Hi,

I tried to install CXML, but it failed.  Here is the debugger output:

File-error in function LISP::INTERNAL-LOAD:
   "/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f" does not exist.
   [Condition of type KERNEL:SIMPLE-FILE-ERROR]

Restarts:
  0: [CHECK-AGAIN] See if it exists now.
  1: [USE-VALUE] Prompt for a new name.
  2: [CONTINUE] Return NIL from load of #P"/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f".
  3: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {59270C75}> on #<CXML-SYSTEM::UTF8DOM-FILE "utf8-impl" {58EF047D}>.
  4: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {59270C75}> on #<CXML-SYSTEM::UTF8DOM-FILE "utf8-impl" {58EF047D}> as having been successful.
  5: [RETRY] Retry installation
  6: [ABORT-REQUEST] Abort handling SLIME request.
  7: [ABORT] Return to Top-Level.

Backtrace:
  0: (LISP::INTERNAL-LOAD #P"/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f" NIL :ERROR NIL)
  1: (LOAD #P"/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f" :VERBOSE NIL :PRINT ...)
  2: ("LAMBDA (G2037 G2038 G2039)" #<#1=unused-arg> #<#1#> #<ASDF:LOAD-OP NIL {59270C75}> #<CXML-SYSTEM::UTF8DOM-FILE "utf8-impl" {58EF047D}>)
  3: ((FLET #:G0 ASDF:OPERATE))
  4: (ASDF:OPERATE ASDF:LOAD-OP ASDF-INSTALL::|cxml|)
  5: (ASDF:OPERATE 2 ASDF:LOAD-OP ASDF-INSTALL::|cxml|)[:EXTERNAL]
  6: ((LABELS ASDF-INSTALL::ONE-ITER ASDF-INSTALL:INSTALL) ("/tmp/cxml.tgz"))
  7: (ASDF-INSTALL:INSTALL "/tmp/cxml.tgz" :PROPAGATE NIL :WHERE ...)

Any suggestions?

Tamas

From: David Lichteblau
Subject: Re: can't install cxml
Date: 
Message-ID: <slrnf4ub6a.9qq.usenet-2006@babayaga.math.fu-berlin.de>
On 2007-05-19, Tamas Papp <······@gmail.com> wrote:
> I tried to install CXML, but it failed.  Here is the debugger output:
>
> File-error in function LISP::INTERNAL-LOAD:
>    "/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f" does not exist.
>    [Condition of type KERNEL:SIMPLE-FILE-ERROR]

Works for me with last december's CMUCL snapshot and ASDF from SBCL
around 1.0.

Things to check:
  - Which version of CMUCL do you have?
  - Which version of ASDF do you have?
  - Are you running any scary ASDF hacks like asdf-binary-locations?
  - How did the source file get compiled?  Can you put up the complete
    build log for CXML somewhere, not just the final error?


d.
From: Tamas Papp
Subject: Re: can't install cxml
Date: 
Message-ID: <873b1so2rh.fsf@pu100877.student.princeton.edu>
David Lichteblau <···········@lichteblau.com> writes:

> On 2007-05-19, Tamas Papp <······@gmail.com> wrote:
>> I tried to install CXML, but it failed.  Here is the debugger output:
>>
>> File-error in function LISP::INTERNAL-LOAD:
>>    "/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl-utf8.x86f" does not exist.
>>    [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
> Works for me with last december's CMUCL snapshot and ASDF from SBCL
> around 1.0.
>
> Things to check:
>   - Which version of CMUCL do you have?
>   - Which version of ASDF do you have?

ii  cl-asdf        1.101-1        Another System Definition Facility
ii  cmucl          19d-20061116-1 The CMUCL lisp compiler and development syst

>   - Are you running any scary ASDF hacks like asdf-binary-locations?

No, ASDF is loaded from my ~/.cmucl-init.lisp, which looks like this:
(pushnew "/home/tpapp/.asdf-install-dir/systems/" 
         asdf:*central-registry* :test #'equal)
#-:asdf-install (asdf:operate 'asdf:load-op :asdf-install)

>   - How did the source file get compiled?  Can you put up the complete
>     build log for CXML somewhere, not just the final error?

The first thing I type after CMUCL has started up is

CL-USER> (asdf-install:install "/tmp/cxml.tgz")
Install where?
1) System-wide install: 
   System in /usr/local/asdf-install/site-systems/
   Files in /usr/local/asdf-install/site/ 
2) Personal installation: 
   System in /home/tpapp/.asdf-install-dir/systems/
   Files in /home/tpapp/.asdf-install-dir/site/ 
0) Abort installation.
 --> 2
cxml-2007-02-18/
cxml-2007-02-18/cxml.asd
cxml-2007-02-18/xml/
cxml-2007-02-18/xml/xml-name-rune-p.lisp
cxml-2007-02-18/xml/unparse.lisp
cxml-2007-02-18/xml/package.lisp
cxml-2007-02-18/xml/xml-parse.lisp
cxml-2007-02-18/xml/split-sequence.lisp
cxml-2007-02-18/xml/sax-proxy.lisp
cxml-2007-02-18/xml/CVS/
cxml-2007-02-18/xml/CVS/Entries.Log
cxml-2007-02-18/xml/CVS/Repository
cxml-2007-02-18/xml/CVS/Root
cxml-2007-02-18/xml/CVS/Entries
cxml-2007-02-18/xml/xmls-compat.lisp
cxml-2007-02-18/xml/sax-tests/
cxml-2007-02-18/xml/sax-tests/package.lisp
cxml-2007-02-18/xml/sax-tests/tests.lisp
cxml-2007-02-18/xml/sax-tests/CVS/
cxml-2007-02-18/xml/sax-tests/CVS/Repository
cxml-2007-02-18/xml/sax-tests/CVS/Root
cxml-2007-02-18/xml/sax-tests/CVS/Entries
cxml-2007-02-18/xml/sax-tests/event-collecting-handler.lisp
cxml-2007-02-18/xml/space-normalizer.lisp
cxml-2007-02-18/xml/recoder.lisp
cxml-2007-02-18/xml/xmlns-normalizer.lisp
cxml-2007-02-18/xml/catalog.lisp
cxml-2007-02-18/xml/sax-handler.lisp
cxml-2007-02-18/xml/util.lisp
cxml-2007-02-18/XMLCONF
cxml-2007-02-18/documentation.css
cxml-2007-02-18/klacks/
cxml-2007-02-18/klacks/klacks.lisp
cxml-2007-02-18/klacks/package.lisp
cxml-2007-02-18/klacks/CVS/
cxml-2007-02-18/klacks/CVS/Repository
cxml-2007-02-18/klacks/CVS/Root
cxml-2007-02-18/klacks/CVS/Entries
cxml-2007-02-18/klacks/klacks-impl.lisp
cxml-2007-02-18/test/
cxml-2007-02-18/test/xmlconf-base.diff
cxml-2007-02-18/test/CVS/
cxml-2007-02-18/test/CVS/Repository
cxml-2007-02-18/test/CVS/Root
cxml-2007-02-18/test/CVS/Entries
cxml-2007-02-18/test/xmlconf.lisp
cxml-2007-02-18/test/domtest.lisp
cxml-2007-02-18/test/utf8domtest.diff
cxml-2007-02-18/CVS/
cxml-2007-02-18/CVS/Entries.Log
cxml-2007-02-18/CVS/Repository
cxml-2007-02-18/CVS/Root
cxml-2007-02-18/CVS/Entries
cxml-2007-02-18/TIMES
cxml-2007-02-18/OLDNEWS
cxml-2007-02-18/contrib/
cxml-2007-02-18/contrib/CVS/
cxml-2007-02-18/contrib/CVS/Repository
cxml-2007-02-18/contrib/CVS/Root
cxml-2007-02-18/contrib/CVS/Entries
cxml-2007-02-18/contrib/xhtmlgen.lisp
cxml-2007-02-18/XMLS-SYMBOLS.diff
cxml-2007-02-18/DOMTEST
cxml-2007-02-18/mlisp-patch.diff
cxml-2007-02-18/COPYING
cxml-2007-02-18/catalog.dtd
cxml-2007-02-18/doc/
cxml-2007-02-18/doc/cxml.css
cxml-2007-02-18/doc/sax.xml
cxml-2007-02-18/doc/xmls-compat.xml
cxml-2007-02-18/doc/index.xml
cxml-2007-02-18/doc/html.xsl
cxml-2007-02-18/doc/CVS/
cxml-2007-02-18/doc/CVS/Repository
cxml-2007-02-18/doc/CVS/Root
cxml-2007-02-18/doc/CVS/Entries
cxml-2007-02-18/doc/klacks.xml
cxml-2007-02-18/doc/bg.png
cxml-2007-02-18/doc/installation.xml
cxml-2007-02-18/doc/dom.xml
cxml-2007-02-18/doc/GNUmakefile
cxml-2007-02-18/doc/quickstart.xml
cxml-2007-02-18/runes/
cxml-2007-02-18/runes/package.lisp
cxml-2007-02-18/runes/xstream.lisp
cxml-2007-02-18/runes/encodings-data.lisp
cxml-2007-02-18/runes/runes.lisp
cxml-2007-02-18/runes/CVS/
cxml-2007-02-18/runes/CVS/Repository
cxml-2007-02-18/runes/CVS/Root
cxml-2007-02-18/runes/CVS/Entries
cxml-2007-02-18/runes/utf8.lisp
cxml-2007-02-18/runes/encodings.lisp
cxml-2007-02-18/runes/definline.lisp
cxml-2007-02-18/runes/ystream.lisp
cxml-2007-02-18/runes/characters.lisp
cxml-2007-02-18/runes/syntax.lisp
cxml-2007-02-18/README
cxml-2007-02-18/GNUmakefile
cxml-2007-02-18/dom/
cxml-2007-02-18/dom/package.lisp
cxml-2007-02-18/dom/CVS/
cxml-2007-02-18/dom/CVS/Repository
cxml-2007-02-18/dom/CVS/Root
cxml-2007-02-18/dom/CVS/Entries
cxml-2007-02-18/dom/dom-builder.lisp
cxml-2007-02-18/dom/dom-sax.lisp
cxml-2007-02-18/dom/dom-impl.lisp
;;; ASDF-INSTALL: Found system definition: /home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/cxml.asd
;;; ASDF-INSTALL: Loading system ASDF-INSTALL::|cxml| via ASDF.
; loading system definition from
; /home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/cxml.asd into
; #<The ASDF0 package>
; Loading #P"/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/cxml.asd".
;;; Checking for wide character support... no, reverting to octet strings.
;;; Building cxml with (UNSIGNED-BYTE 16) RUNES
; registering #<SYSTEM :CXML-RUNES {587D8695}> as CXML-RUNES
; registering #<SYSTEM :CXML-XML {587F166D}> as CXML-XML
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. OPERATION C): 
; Compiling Top-Level Form: 
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C): 
; Compiling Top-Level Form: 
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. OPERATION C): 
; Compiling Top-Level Form: 
; registering #<SYSTEM :CXML-DOM {58B621F5}> as CXML-DOM
; registering #<SYSTEM :CXML-KLACKS {58B7C1DD}> as CXML-KLACKS
; registering #<SYSTEM :CXML-TEST {58B8B15D}> as CXML-TEST
; registering #<SYSTEM :CXML {58B9964D}> as CXML
; loading system definition from
; /home/tpapp/.asdf-install-dir/systems/trivial-gray-streams.asd into
; #<The ASDF0 package>
; Loading #P"/home/tpapp/.asdf-install-dir/site/trivial-gray-streams-2006-09-16/trivial-gray-streams.asd".
; registering #<SYSTEM :TRIVIAL-GRAY-STREAMS {58BB78E5}> as
; TRIVIAL-GRAY-STREAMS
; loading system definition from
; /home/tpapp/.asdf-install-dir/systems/puri.asd into #<The ASDF0 package>
; Loading #P"/home/tpapp/.asdf-install-dir/site/puri-1.5.1/puri.asd".
; registering #<SYSTEM PURI {58BD3A1D}> as PURI
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C): 
; Compiling Top-Level Form: 
; registering #<SYSTEM PURI-TESTS {581C62A5}> as PURI-TESTS
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C): 
; Compiling Top-Level Form: 
; Compiling LAMBDA (.PV-CELL. .NEXT-METHOD-CALL. O C): 
; Compiling Top-Level Form: 
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/trivial-gray-streams-2006-09-16/package.x86f".
;; Loading #P"/usr/lib/cmucl/subsystems/gray-streams-library.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/trivial-gray-streams-2006-09-16/mixin.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/puri-1.5.1/src.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/package.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/definline.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/runes.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/utf8.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/syntax.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/encodings.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/encodings-data.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/xstream.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/runes/ystream.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/package.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/util.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/sax-handler.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/xml-name-rune-p.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/split-sequence.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/xml-parse.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/unparse.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/xmls-compat.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/recoder.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/xmlns-normalizer.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/space-normalizer.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/catalog.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/xml/sax-proxy.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/package.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-impl.x86f".
; Loading #P"/var/cache/common-lisp-controller/1000/cmucl/local/home/tpapp/.asdf-install-dir/site/cxml-2007-02-18/dom/dom-builder.x86f".

Thanks,

Tamas
From: David Lichteblau
Subject: Re: can't install cxml
Date: 
Message-ID: <slrnf4v4oe.e3i.usenet-2006@babayaga.math.fu-berlin.de>
On 2007-05-19, Tamas Papp <······@gmail.com> wrote:
>>   - Are you running any scary ASDF hacks like asdf-binary-locations?
> No, ASDF is loaded from my ~/.cmucl-init.lisp, which looks like this:

Oh, but you are using common-lisp-controller, which certainly counts as
a scary ASDF hack.  I will have to try and make cxml.asd compatible with
clc's :around method on asdf:output-files.

Until then, just disable clc's redirection feature like this:

(setf common-lisp-controller:*redirect-fasl-files-to-cache* nil)

CXML should then load fine.


Thanks for the report,
d.
From: Tamas Papp
Subject: Re: can't install cxml
Date: 
Message-ID: <87y7jkme8u.fsf@pu100877.student.princeton.edu>
David Lichteblau <···········@lichteblau.com> writes:

> On 2007-05-19, Tamas Papp <······@gmail.com> wrote:
>>>   - Are you running any scary ASDF hacks like asdf-binary-locations?
>> No, ASDF is loaded from my ~/.cmucl-init.lisp, which looks like this:
>
> Oh, but you are using common-lisp-controller, which certainly counts as
> a scary ASDF hack.  I will have to try and make cxml.asd compatible with
> clc's :around method on asdf:output-files.
>
> Until then, just disable clc's redirection feature like this:
>
> (setf common-lisp-controller:*redirect-fasl-files-to-cache* nil)
>
> CXML should then load fine.
>
>
> Thanks for the report,
> d.

Thanks David,

Now it installs.  I needed cxml to try out atdoc, but when I try to
install it, installation halts because it doesn't have permissions to
generate the x86f files in directories that are read only for the user
(for example, swank and other dependencies were installed as Debian
packages).

It would be great if you could fix cxml to work with
common-lisp-controller, the latter is very useful to me.

Thanks,

Tamas