Blog‎ > ‎Good Samaritan‎ > ‎

How to install sCons on Intel Mac OS 10.4.9

posted Feb 28, 2008, 8:15 PM by Brian Tanner   [ updated Feb 28, 2008, 8:15 PM ]

How to install sCons on Intel Mac OS 10.4.9

sCons (http://www.scons.org/) is an awesome, cross platform, python based build tool. I am using it for my bt-glue project.

Anyways: installation is quite straightforward. But you need to know 1 key thing! Get the latest build, and NOT the stable build. The stable build is several years old and missing features you want. I promise.

1) Download the latest tarball, unpack it
2) Execute: sudo python setup.py install
3) Edit your .profile and update your path to include:
/System/Library/Frameworks/Python.framework/Versions/Current/bin

If you don't know what that means, that's ok.
i) Create a file in your home directory called ".profile".
ii) Add a line like this:
export PATH=$PATH:/System/Library/Frameworks/Python.framework/Versions/current/bin

iii) Save the file

Now, when you open a new terminal session, you should be able to type: scons -version and have good things happen.

Happy sCons'ing.

Comments