[Ecls-list] Re: How to get ASDF working?
R. Mattes
rm at mh-freiburg.de
Wed Nov 17 03:01:22 UTC 2004
On Wed, 17 Nov 2004 09:50:03 +0100, Juan Jose Garcia Ripoll wrote:
> R. Mattes wrote:
>
>> [quoted text muted]
> ECL can handle links (see below), but it will try to resolve the true
> name of the file while probing it. If the destination file does not
> exist, PROBE-FILE will fail. Are you sure also that the permisions are
> right in all directories? Could you please execute the following two
> pieces of code:
>
> (si::file-kind "/usr/share/common-lisp/systems/md5.asd" t)
> (truename "/usr/share/common-lisp/systems/md5.asd")
Ok, here it comes, first the file layout:
ralf at hobbes:/etc$ ls -la /usr/share/common-lisp/source/md5/md5.asd
-rw-r--r-- 1 root root 941 Sep 7 2003
/usr/share/common-lisp/source/md5/md5.asd
ralrwxr-xr-x 1 root root 21 Jun 15 19:44
/usr/share/common-lisp/systems/md5.asd -> ../source/md5/md5.asdlf
and how ecl sees it:
ralf at hobbes:/etc$ rlwrap ecl
ECL (Embeddable Common-Lisp) 0.9d
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya Copyright (C) 1993
Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details. Type :h for
Help. Top level.
> (si::file-kind "/usr/share/common-lisp/systems/md5.asd" t)
:FILE
Top level.
> (truename "/usr/share/common-lisp/systems/md5.asd")
Filesystem error with pathname
#P"/usr/share/common-lisp/systems/md5.asd".
Either the file cannot be accessed or the pathname is not a valid one.
Broken at TRUENAME.
>> :pop
Top level.
Now let's try the destination of the link:
> (truename "/usr/share/common-lisp/source/md5/md5.asd")
#P"/usr/share/common-lisp/source/md5/md5.asd"
Top level.
>
So ecl sees the file but can't follow the link.
Cheers
Ralf Mattes
> They should help track where the real problem is.
>
> Juanjo
>
> -----------
>
> jlr at home:~> ls -l tmp
> total 0
> jlr at home:~> touch tmp/faa
> jlr at home:~> ln -sf tmp foo
> jlr at home:~> ls -l foo/faa
> -rw-r--r-- 1 jlr users 0 2004-11-17 09:41 foo/faa
> jlr at home:~> ecl
> ECL (Embeddable Common-Lisp) 0.9d
> [...]
> > (probe-file "foo/faa")
> #P"/home/jlr/tmp/faa"
> Top level.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
More information about the ecl-devel
mailing list