Scons OsX Install Question

Post: #1
I finally got around to trying sCons as my build tool.

I downloaded the source tarball and ran:
python install

It looks like this sets up scons in
by default.

Of course this is not in my path.

So my simple question is what is the best approach to adding a path, should I:
1) Just add /System/Library/Frameworks/Python.framework/Versions/2.3/bin to my path.
2) Re-Install scons into a more appropriate bin dir with
python install --prefix=/usr/local (and add to path)
3) Add a symlink from /usr/bin/scons to /System/Library/Frameworks/Python.framework/Versions/2.3/bin (why didn't the install do this)

Thanks for any advice...
Quote this message in a reply
Posts: 469
Joined: 2002.10
Post: #2
I'd recommend just installing in /usr e.g.:
sudo python install \--prefix=/usr

This should be enough to put it on your path.
If it's still not, then you should edit ~/.profile and add /usr/bin to your PATH.
This is probably the most standard config.

15.4" MacBook Pro revA
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #3
I tend not to install it at all, just untar it somewhere, and stick a symbolic link to it somewhere, and set PYTHONPATH up so it works. The install thing never seems to work on Mac OS X.
Quote this message in a reply
Posts: 13
Joined: 2006.10
Post: #4
To my for Python 2.5 simple "sudo python install" worked like a charm. After reopening terminal window scons script was in the path and was working correctly.
Quote this message in a reply
Post: #5
MacPorts (previously DarwinPorts) has a scons package, installs with no problem. Of course, it also upgrades your python as a side effect, but no big deal.
Quote this message in a reply
Posts: 567
Joined: 2004.07
Post: #6
It installed fine for me in /usr/local/bin... you just have to set the prefix correctly.

It's not magic, it's Ruby.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Adsota (by Appota) - Boost mobile app's install & revenue Adsota 1 655 Aug 19, 2015 09:13 PM
Last Post: phamlinh222
  How to install TAO ? saladeverte 5 4,110 May 26, 2008 04:44 AM
Last Post: saladeverte
  Cross-Platform IDE compatible w/ Scons wyrmmage 6 7,107 Mar 30, 2008 06:47 PM
Last Post: OneSadCookie