[Ecls-list] defsystem not working

Dean O'Connor dean.oconnor at ite.com.au
Fri May 4 04:09:27 UTC 2007


I am trying to load/compile cl-enumeration CL extension.
http://common-lisp.net/project/cl-enumeration/

I actually went though all of this back on 11/11/2005 looking at (my 
copy) of the archives (thread titled "Re: [Ecls-list] map iterator")

I have created a sub-directory under my ECL install directory called 
"extensions" and unzipped the package files there.
eg. C:\ECL\extensions\enumerations

Then I type this:

 > (require 'defsystem)

;;; Loading #P"C:/ECL/DEFSYSTEM.fas"
;;; Loading #P"C:/ECL/cmp.fas"
;;; Loading #P"C:/ECL/sysfun.lsp"
("CMP" "MAKE")

 > (mk:add-registry-location "c:/ecl/extensions")

("c:/ecl/extensions" "./" (MAKE::HOME-SUBDIRECTORY "lisp/systems/"))

;; This "hack" proposed by Juanjo to stop ECL (in Win32) thinking the 
.system file is a binary (causing a Segmentation Fault).

 > (push (cons "system" #'si::load-source) si::*load-hooks*)

(("system" . #<compiled-function LOAD-SOURCE>) ("asd" . LOAD-SOURCE)
 ("fas" . LOAD-BINARY) ("lsp" . LOAD-SOURCE) ("lisp" . LOAD-SOURCE)
 ("LSP" . LOAD-SOURCE) ("LISP" . LOAD-SOURCE) (NIL . LOAD-SOURCE))

CL-USER> (mk:load-system "enumerations")

;    - Source file C:/ecl/extensions/enumerations/enumerations-pkg.lsp and
;      binary file C:/ecl/extensions/enumerations/enumerations-pkg.so not
;      found, not loading.

Source file "C:/ecl/extensions/enumerations/enumerations-pkg.lsp" and 
binary file "C:/ecl/extensions/enumerations/enumerations-pkg.so" do not 
exist.
   [Condition of type SIMPLE-ERROR]


I got up to this same point last time, with no resolution (I think I 
ended up creating my own ASD file in the end).
It would be really nice to have this working with having to go hacking 
into extension packages.

Cheers
deano




More information about the ecl-devel mailing list