10-03-04 02:13 AM
Chris F.A. Johnson wrote:
> On 2004-09-17, Katerina McLean wrote:
>
>
>
> Your shell probably doesn't export environment variables after
> they have been modified. You need to add:
>
> export PATH
>
Also, use a command line like the following:
% CC=/usr/local/bin/gcc PATH=/usr/local/bin:/usr/sbin:/usr/bin ./configure
which (I think) is still included in the INSTALL docs as the proper way to
run the configure command if your compiler isn't in your default login path.
Caveat Emptor: the syntax will be slightly different depending on which
shell you are running with. Notably, csh will need some setenv's, and a
"rehash" to make the PATH (-er- make that 'path' for csh) updates effective.
Read the man page for your shell, too, at least ... YMMV!
-fjb
--
Colorless Green Ideas Sleep Furiously, and so do I....
[ Post a follow-up to this message ]
|