Re: setting env variable from Guile

2005-08-01 Thread Jon Wilson
Hi Aurelien, Aurelien Chanudet wrote: Thank you guys for the tip. Unfortunately, the environnement variable set in this way doesn't appear to be visible from the shell guile was launched from. As a result, the environnement variable does not appear to be visible to the dynamic link editor. W

Re: setting env variable from Guile

2005-07-30 Thread Thien-Thi Nguyen
From: Mike Gran <[EMAIL PROTECTED]> Date: Sat, 30 Jul 2005 06:47:57 -0700 (PDT) You could wrap the function lt_dladdsearchdir as a Guile function and call it from your script. fyi, this is the approach taken in Guile 1.4.x, as implemented in libguile/lt.c, below. works fine. thi

Re: setting env variable from Guile

2005-07-30 Thread Mike Gran
There are four things that should work, but, that I haven't tried out yet. You could call "dynamic-link" with the explicit pathname plus filename to your library. If your app is a pure guile script, you could write a wrapper shell script that exports the environment variable you need and then cal

Re: setting env variable from Guile

2005-07-29 Thread Christian Mauduit
Hi, Aurelien Chanudet a écrit : > Thank you guys for the tip. > > Unfortunately, the environnement variable set in this way doesn't > appear to be visible from the shell guile was launched from. As a > result, the environnement variable does not appear to be visible to > the dynamic link editor.

Re: setting env variable from Guile

2005-07-29 Thread Aurelien Chanudet
Thank you guys for the tip. Unfortunately, the environnement variable set in this way doesn't appear to be visible from the shell guile was launched from. As a result, the environnement variable does not appear to be visible to the dynamic link editor. On 7/29/05, José Roberto B. de A. Monteiro <

Re: setting env variable from Guile

2005-07-29 Thread José Roberto B . de A . Monteiro
On Thu, Jul 28, 2005 at 05:55:59PM +0200, Aurelien Chanudet wrote: > Hi all, > > I have a dynamic library located in a non standard > place I'd like to load within guile using > "dynamic-link". The dynamic link editor can be told > where to look for the library using an environment > variable. Is

Re: setting env variable from Guile

2005-07-29 Thread David Pirotte
setenv: (setenv "PGCLIENTENCODING" "UNICODE") > Is there a way to set up the environnement > variable directly _from_ Guile using for instance the > "system" primitive ? ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mail

setting env variable from Guile

2005-07-28 Thread Aurelien Chanudet
Hi all, I have a dynamic library located in a non standard place I'd like to load within guile using "dynamic-link". The dynamic link editor can be told where to look for the library using an environment variable. Is there a way to set up the environnement variable directly _from_ Guile using for

setting env variable from Guile

2005-07-28 Thread Aurelien Chanudet
Hi all, I have a dynamic library located in a non standard place I'd like to load within guile using "dynamic-link". The dynamic link editor can be told where to look for the library using an environment variable. Is there a way to set up the environnement variable directly _from_ Guile using for