* (system cmd) not working after slib
@ 2007-10-24 19:09 Scott Walck
2007-10-27 9:28 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Scott Walck @ 2007-10-24 19:09 UTC (permalink / raw)
To: guile-user, walck
[-- Attachment #1.1: Type: text/plain, Size: 1651 bytes --]
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
[walck@entangle:~/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.
[walck@entangle:~/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>
[-- Attachment #1.2: Type: text/html, Size: 2439 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: (system cmd) not working after slib
2007-10-24 19:09 (system cmd) not working after slib Scott Walck
@ 2007-10-27 9:28 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2007-10-27 9:28 UTC (permalink / raw)
To: guile-user
Hi,
"Scott Walck" <scott.n.walck@gmail.com> writes:
> (system "ls") ; works
> (use-modules (ice-9 slib)) ; works
> (system "ls") ; no longer works
Unfortunately, I can't reproduce that here:
$ SCHEME_LIBRARY_PATH=/usr/local/lib/slib/ ./pre-inst-guile
guile> (system "ls")
[... output of `ls'...]
0
guile> (use-modules (ice-9 slib))
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `1+'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `*features*'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `1-'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `bit-count'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `identity'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `in-vicinity'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `port?'
WARNING: (guile-user): imported module (ice-9 slib) overrides core binding `make-array'
guile> (system "ls")
[... output of `ls'...]
0
guile>
Can you show the output of `(@@ (guile-user) system)' and `(@@ (ice-9
slib) system)'?
Also, are you sure 1.8.3 is correctly installed and doesn't interfere
with previously installed files from 1.8.2 or earlier?
Thanks,
Ludovic.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-27 9:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 19:09 (system cmd) not working after slib Scott Walck
2007-10-27 9:28 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).