According to the docs (http://clisp.cons.org/impnotes.html#make-dir) I
should be able to type (ext:make-directory "/mydir/") and clisp should
create the directory. But when I try that, I get the following error:
EAD from #<INPUT STRING-INPUT-STREAM>: #1=#<PACKAGE EXT> has no
external symbol with name "MAKE-DIRECTORY"
[Condition of type SYSTEM::SIMPLE-PACKAGE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CLOSE-CONNECTION] Close SLIME connection
Obviously not what I wanted.
Have I missed something really basic here?
My build info, if it helps:
$ clisp --version
GNU CLISP 2.42 (2007-10-16) (built 3403371576) (memory 3445474750)
Software: GNU C 4.1.3 20071019 (prerelease) (Ubuntu 4.1.2-17ubuntu1)
/usr/bin/gcc-4.1 -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -
Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -
fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -
DDYNAMIC_MODULES -I. -x none libcharset.a libavcall.a libcallback.a /
usr/lib/libreadline.so -lncurses -ldl -L/usr/lib -lsigsegv
SAFETY=0 HEAPCODES LINUX_NOEXEC_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS
SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.4
libreadline 5.2
Features:
(ASDF CLC-OS-DEBIAN COMMON-LISP-CONTROLLER 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)
Installation directory: /usr/lib/clisp-2.42/
User language: ENGLISH
Thanks.
-Jason
On 2009-03-13, Jason <·······@gmail.com> wrote:
> $ clisp --version
> GNU CLISP 2.42 (2007-10-16) (built 3403371576) (memory 3445474750)
> Software: GNU C 4.1.3 20071019 (prerelease) (Ubuntu 4.1.2-17ubuntu1)
The implementation notes are for the latest version; the one you are
using is quite old.
The function is there in 2.47 which is the latest release:
[25]> (ext:make-directory (make-pathname :directory '(:relative "clisp-test")))
T
[26]> (ext:make-directory "something/")
T
And the directories are created.
--
Taylor Christopher Venable
http://real.metasyntax.net:2357/
On Mar 12, 8:43 pm, Taylor Venable <······@metasyntax.net> wrote:
> On 2009-03-13, Jason <·······@gmail.com> wrote:
>
> > $ clisp --version
> > GNU CLISP 2.42 (2007-10-16) (built 3403371576) (memory 3445474750)
> > Software: GNU C 4.1.3 20071019 (prerelease) (Ubuntu 4.1.2-17ubuntu1)
>
> The implementation notes are for the latest version; the one you are
> using is quite old.
>
> The function is there in 2.47 which is the latest release:
>
> [25]> (ext:make-directory (make-pathname :directory '(:relative "clisp-test")))
> T
> [26]> (ext:make-directory "something/")
> T
>
> And the directories are created.
>
> --
> Taylor Christopher Venablehttp://real.metasyntax.net:2357/
Ugh... figures. Looks like I'm building from source, yet again...
Thanks!
-Jason