gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: Problem getting GCL working


From: James Amundson
Subject: Re: [Gcl-devel] Re: Problem getting GCL working
Date: Wed, 23 Apr 2003 09:44:25 -0500

On Wed, 2003-04-23 at 07:54, Camm Maguire wrote:
> Greetings!
> 
> Toby <address@hidden> writes:
> > However, when I try to run the program, it give me the error:
> > 
> > /usr/local/bin/gcl: C_INCLUDE_PATH=/usr/local/lib/gcl-2.5.2/h:: is not an 
> > identifier
> > 
> 
> OK, this is a quite simple fix.  gcl uses a shell script wrapper
> (/usr/bin/gcl) to setup a few environment variables:
> 
> export C_INCLUDE_PATH=/fix/s/camm//usr/lib/gcl-2.5.2/h:$C_INCLUDE_PATH
> 
> 1) your /bin/sh must not be bash, as it doesn't seem to accept this
>    syntax.  Just replace with whatever command you use to set a shell
>    environment variable on your /bin/sh.  Or, if you have bash, change
>    the first line in /usr/bin/gcl to #!/bin/bash

FYI, the syntax
        C_INCLUDE_PATH="/foo/bar:$C_INCLUDE_PATH"
        export C_INCLUDE_PATH
should work with any implementation of the Bourne shell.

--Jim





reply via email to

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