Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > asdf, subdirs and debian do not like each other
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 21st November 11:44
haakon alstadheim
External User
 
Posts: 1
Default asdf, subdirs and debian do not like each other



Hi, im trying to use an asdf-file i got from somebody else. My system is
debian etch with the standard debian lisp setup, Im using sbcl. Source
code is available by doing (all on one line) at a shell prompt:

cvs -z3 -d
server:anonymous:anonymous@common-lisp.net:/project/cl-snmp/cvsroot co
cl-snmp

The .asd file contains things like:

(defsystem snmp
:components
((:file "asn1/package")
(:file "snmp/package"
:depends-on ("asn1/package"))
(:file "dependent"
:in-order-to ((compile-op (load-op "snmp/package")))
:in-order-to ((load-op (load-op "asn1/package"))))
.....

Compilation chokes like so:
The path

#P"/var/cache/common-lisp-controller/1003/sbcl/local/home/hakona/cl-snmp-cvs/cl-snmp/asn1/package.fasl"
does not exist.
[Condition of type SB-INT:SIMPLE-FILE-ERROR]

I.e. it stops on the first file that is in a subdir.

If I change to make asn1/package into asn1-package, and copy
asn1/package to asn1-package (i.e. one level up), things work.

Adding a pathname, like I've done for snmp/package here:
(defsystem snmp
:components
((:file "asn1-package")
(:file "snmp/package"
athname #.(pathname "snmp/package.lisp")
:depends-on ("asn1-package"))

....also fixes things.

I see three solutions.
1) Make the maintainer of the cl-snmp package change the layout of the
package.
2) Add pathname clauses everywhere.
3) Fix some other package to interpret (:file "asn1/package") as a
relative pathname.

Now, what should I do, 1,2 or 3 ?

Are relative pathnames without the athname clause even supposed to
work in asdf? I can not find anything in the docs about that.
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Development, Ada, Apple script, Assembler, Awk, Beos, Basic, C, C++, C#, C# .net, .net, .net frameworks, Asp .net, Clarion, Clipper, Clos, Clu, Cobol, Coldfusion, Delphi, Dylan, Eiffel, Forth, Fortran, Haskell, Hermes, Icon, Idl, Java, Java script, Jscript .net, Jcl, Linoleum, Lisp, Lotus, Limbo, Logo, Ml, Mumps, Oberon, Postscript, Pop, Pl1, Prolog, Python, Ruby, Pascal, Perl, Php, Rebol, Rexx, Sed, Sather, Scheme, Smalltalk, Tcl, Vhdl, Vrml, Visual basic, Visual basic .net, Yorick, Mysql, Omnis, Postgresql, Xbase, Access, Oracle, Adabas, Berkeley, Btrieve, Filemaker, Gupta, Db2, Informix, Ingres, Mssql server, Object, Olap, Paradox, Rdb, Revelation, Sybase, Theory, Dbase, Html, Java script, Css, Flash, Photoshop, Corel script, Xml, Tech, Beos, Gem, Hp48, Hpux, Linux, Mac, Ms-dos, Os2, Palm, Solaris, Ti99, Windows, Xenix, Aos, Chorus, Geos, Inferno, Lantastic, Lynx, Mach, Minix, Netware, Os9, Parix, Plan9, Psos, Qnx, Xinu, Sco, Unix, Aix, Aux, 386bsd, Bsdi, Freebsd, Netbsd, Openbsd, Ultrix, Amd, Intel, Aptiva, Buz, Deals, Homebuilt, Overclocking, Programming, Extra forums


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666