Dear Emmanuel,
This is progress. clisp 2.49 is reading the file wp-mirror-0.2.lisp.
Dependencies include: clisp (>= 2.48), cl-asdf, cl-getopt, and cl-md5. I think Ubuntu Lucid should have acceptable versions of the cl-* dependencies, so no need to compile from source. You only need to find out where Lucid installs them. Both Debian Lenny and Debian Squeeze install them under `/usr/share/common-lisp/systems'.
I did attempt to foresee the `no package' issue that you just mentioned. Please take a look at line 46 in `wp-mirror-0.2.lisp'. It should read
;(push "/usr/hare/common-lisp/systems/" custom:*load-paths*)
Please uncomment that line, and then try `make build' again. If that does not work, then I will dig into it further.
From the beginning of this project, I have been weighing in my mind
whether or not to prepare a DEB package. That would deal with all of the dependency issues, but would also require users to upgrade to Debian Squeeze or Ubuntu Natty. I note that you prepared a DEB package for KIWIX, so I hope to benefit from your advice on this matter.
Sincerely Yours, Kent
On 1/12/12, Emmanuel Engelhart emmanuel@engelhart.org wrote:
Hi Kent
I have compiled and installed the last version of clisp (2.49). I have changed the first line of ./wp-mirror-0.2.lisp with the right path. I have now an issue with ASDF although the cl-asdf package is installed $ ./wp-mirror-0.2.lisp --debug *** - read from #<input buffered file-stream character #P"./wp-mirror-0.2.lisp" @47>: there is no package with name "ASDF"
I have tried to install from source asdf, but this does not follow the ./configure;make;make install so no idea how really to install that clisp module.
I think it would be good to have a documentation listing all the dependences with per dependence: the minimum version required and the few steps to follow to install them.
Emmanuel
On 12/01/2012 18:38, wp mirror wrote:
Dear Emmanuel,
I found an old laptop with Debian Lenny. Ubuntu Lucid is related to Debian Lenny, and both distributions have clisp 2.44.
I can now confirm that wp-mirror 0.2 will not run using clisp 2.44. It really does need clisp 2.48.
Distributions having clisp 2.48 (or higher) include:
DEB - Debian Squeeze, Ubuntu Natty RPM - Fedora 13 updates, Mandriva 2010, OpenSuSE 11.4
Sincerely Yours, Kent
On 1/9/12, Emmanuel Engelhart emmanuel@engelhart.org wrote:
Hi Kent
On 08/01/2012 01:59, wp mirror wrote:
- Please let me see the output of
$ ./wp-mirror-0.2.lisp --debug
It should be:
;debug: Processing command line arguments ...
$./wp-mirror-0.2.lisp --debug
*** - Program stack overflow. RESET
- Debian Sqeeze uses clisp 2.48. I think Ubuntu Lucid uses clisp
2.44. Please let me see the output of:
$ clisp --version
The first line of mine reads:
GNU CLISP 2.48 (2009-07-28) (built 3487543663) (memory 3506736573)
$clisp --version GNU CLISP 2.44.1 (2008-02-23) (built 3476003035) (memory 3534936353) Software: GNU C 4.4.3 x86_64-linux-gnu-gcc -g -O2 -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -Wl,-Bsymbolic-functions -x none /usr/lib/libreadline.so -lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv SAFETY=0 TYPECODES WIDE GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.5 libreadline 5.2 Features: (ASDF CLC-OS-DEBIAN COMMON-LISP-CONTROLLER BERKELEY-DB CLX-ANSI-COMMON-LISP CLX READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline linux clx bdb) Installation directory: /usr/lib/clisp-2.44.1/ User language: ENGLISH Machine: X86_64 (X86_64) alaric [127.0.1.1]
- WP-MIRROR make use of functions such as `ext:probe-pathname' and
`posix:file-size' which were first introduced in clisp 2.47.
Please let me see the output of:
$ clisp -q [1]> (ext:probe-pathname "/etc/hosts")
Mine reads:
#P"/etc/hosts" ; #P"/etc/hosts" ; 3533434716 ; 2321751
$ clisp -q [1]> (ext:probe-pathname "/etc/hosts")
*** - READ from #<INPUT CONCATENATED-STREAM #<INPUT STRING-INPUT-STREAM> #<IO TERMINAL-STREAM>>: #<PACKAGE EXT> has no external symbol with name "PROBE-PATHNAME" The following restarts are available: ABORT :R1 Abort main loop Break 1 [2]>
Hope this can help you.
Emmanuel
Offline-l mailing list Offline-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/offline-l