guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(system cmd) not working after slib


From: Scott Walck
Subject: (system cmd) not working after slib
Date: Wed, 24 Oct 2007 15:09:44 -0400

Gentle guile users,

I wonder if one of you could help me.  I am thrilled to find that use
of (ice-9 slib) has been improved in guile 1.8.3.  I am confused about
its behavior, though.  The (system) command works fine before I load
slib.  After I load slib, guile no longer understands what "system"
means.

(system "ls")                ; works
(use-modules (ice-9 slib))   ; works
(system "ls")                ; no longer works

I enclose a short transcript below.  Any suggestions would be
appreciated.

Thanks,

Scott Walck



address@hidden:~/computer/notes]$ guile --version
Guile 1.8.3
Copyright (c) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
Guile may be distributed under the terms of the GNU General Public Licence;
certain other uses are permitted as well.  For details, see the file
`COPYING', which is included in the Guile distribution.
There is no warranty, to the extent permitted by law.
address@hidden:~/computer/notes]$ guile
guile> (system "ls")
DataTransfer.txt   guile.txt          networking   PrinterDrivers   success
DataTransfer.txt~  installation.txt   networking~  PrinterDrivers~  Zip250.txt
GarberPrinting     installation.txt~  ppp          printing         Zip250.txt~
GarberPrinting~    lvcweb.txt         ppp~         printing~
0
guile> (use-modules (ice-9 slib))
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `gentemp'
guile> *slib-version*
"3a4"
guile> (system "ls")

Backtrace:
In current input:
   4: 0* (system "ls")

<unnamed port>:4:1: In _expression_ (system "ls"):
<unnamed port>:4:1: Unbound variable: system
ABORT: (unbound-variable)
guile>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]