This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

strange behavior with guile -s



When running a program that uses guile's regex stuff, I got this:

crayc@durbin:~/src/recluse-0.2$ guile-pgsql -s start.scm
ERROR: Unbound variable: match:start

However, this works fine:

crayc@durbin:~/src/recluse-0.2$ guile-pgsql
guile> (load "start.scm")
starting web server...

Narrowing it down, when I try to run a program consisting of just this line:

match:start

crayc@durbin:~/src/test$ echo match:start > test.scm
crayc@durbin:~/src/test$ guile -s test.scm
ERROR: Unbound variable: match:start

OK, I figure, maybe I need to load boot-9.scm when using -s...

crayc@durbin:~/src/test$ echo \
'(load "/usr/share/guile/1.3.4/ice-9/boot-9.scm")' > test.scm
crayc@durbin:~/src/test$ echo match:start >> test.scm
crayc@durbin:~/src/test$ guile -s test.scm
Segmentation fault

My question is, what is going on here?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]