` bt-blog: How to install sCons on Intel Mac OS 10.4.9


NOTE : This is no longer being maintained -- go to http://research.tannerpages.com

In fact, it's worse than not being maintained... I actually moved the content. So just come over!

May 7, 2007

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:

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.


Anonymous said...

Hi i followed it, and its finally installed it.so thanks a million for that. but you then ask to edit a ".profile"? i dont have this. and then you say i can create one? but i cant create a "." file, and when i try to do it in terminal, it turns into an emac. is this right? it ends up #.profile# but i cant run it with the command "scons -version". any ideas?
ps im a complete noob.

Brian Tanner said...

Sorry, I do not regularly check this blog (go to my homepage instead, the one linked at the top), and send me an e-mail.

I don't have a way to respond to your anonymous post otherwise.