./configure

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Jun 3 20:31:41 EDT 2012


On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:

> Thanks Alain.  I should have a compiler on my Mac OS X Lion.  I am
> thinking that it isn't set in my $PATH variable.  I don't know where the
> $PATH is set at.  I will check to see if their is a binary.

At the command line, run:

echo $PATH

to see the path.

I'm not sure where OS X sets the PATH, but Linux systems normally set 
them in /etc/profile. User-customisations should go in a shell rc file, 
e.g. if you are using bash, edit ~/.bashrc.

To add additional paths to the PATH:

export $PATH=$PATH:/some/directory:/another/directory


To replace the system path completely:

export $PATH=/some/directory:/another/directory



-- 
Steven



More information about the Python-list mailing list