On 9 Jun 2000, Sergei Pokrovsky wrote:

> Well, there are quite a few strange things.  To start with, somtimes
> ./configure does not accept the native compiler:
> 
> ,----
> | 18:46:32 lynx2-8-4#460$ rm config.cache
> | config.cache: No such file or directory
> | 18:46:32 lynx2-8-4#460$ which cc
> | /opt/SUNWspro/bin/cc
> | 18:46:44 lynx2-8-4#461$ which gcc
> | /export/AB/local/bin//gcc
> | 18:46:50 lynx2-8-4#462$ CC=cc

You seem to be using a Bourne-derived shell (in (t)csh, that line
would be an error).
You forgot to 'export'.

> | 18:47:02 lynx2-8-4#463$ echo $CC
> | cc

Yes, *this* shell knows it now...

> | 18:47:09 lynx2-8-4#464$ CC=cc;./configure --disable-news

...but not its child processes.

You could use
       CC=cc ./configure --disable-news (no semicolon!), instead of
explicit 'export', that would also have the effect of 'export', but
for this command only.


   Klaus


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to