[Top][All Lists]

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

Re: problem with "Unbound variable: regexp-substitute/global"

From: Stan Pinte
Subject: Re: problem with "Unbound variable: regexp-substitute/global"
Date: Thu, 24 Jan 2002 15:10:11 +0100

I solved my problem, putting the statement 

(use-modules (ice-9 regex))

on top of my cgi script.

What is strange is that it works without using the regex module, when running 
guile interactively.

Any idea why?



On Thursday 24 January 2002 14:24, Stan Pinte wrote:
> hello,
> I am facing a complicated problem.
> I am trying to make a cgi script in guile, using the function
> "regexp-substitute/global".
> This function is working perfectly when I am running the guile interpretor
> with my user.
> When apache tries to run the script, it is using user "nobody", with the
> following environments variables:
> SetEnv LD_LIBRARY_PATH /lib:/usr/lib:/usr/lib/X11\
> :/usr/local/lib\
> :/usr/local/pgsql/lib\
> :/opt/gnome/lib
> SetEnv PGLIB /usr/local/pgsql/lib
> SetEnv PGDATA /usr/local/pgsql/data
> SetEnv PGDATESTYLE 'German'
> SetEnv GUILE_LOAD_PATH /usr/local/share/guile\
> :/usr/local/lib\
> :/usr/local/pgsql/lib\
> When running the scm file, apache is giving me a "Unbound variable:
> regexp-substitute/global" error.
> Does someone have a clue about what I should add to the environment
> variables, so that it works?
> thanks a lot,
> Stan.
> _______________________________________________
> Guile-user mailing list
> address@hidden

reply via email to

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