Results 1 to 9 of 9
  1. #1


    Member Since
    Jan 08, 2012
    Posts
    4
    Make Terminal command
    Forgive me if this is not the correct place to post, but I found a similar question here.

    I have used a mac as my main machine for about 6 years, but have had no real need to get involved in the terminal. I've dabbled with xcode, but wanted to try something new and decided to try to learn Python. The first step was downloading Python, and then following the readme instructions as follows:


    Code:
    On Unix, Linux, BSD, OSX, and Cygwin:
    
        ./configure
        make
        make test
        sudo make install

    So I have run the first step although it doesn't appear successful:

    Code:
    checking for --enable-universalsdk... no
    checking for --with-universal-archs... 32-bit
    checking MACHDEP... darwin
    checking machine type as reported by uname -m... x86_64
    checking for --without-gcc... no
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/Volumes/Richard Home/richard/Downloads/Python-3.2.2':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    Any help on this would be appreciated....

    But then I don't seem to be able to run the make command, which is how I ended up at the link above.

    I've followed the advice within the post with the following results:

    Code:
    Richards-Mac-Pro:~ richard$ which gnumake
    Richards-Mac-Pro:~ richard$ sudo ln -s /usr/bin/gnumake /usr/bin/make
    Password:
    ln: /usr/bin/make: File exists
    Richards-Mac-Pro:~ richard$ which make
    Richards-Mac-Pro:~ richard$
    I have reinstalled xcode (from the app store), but still get no result from which make.

    I'd appreciate any advice on how to get python 3.2.2 up and running.

    Thanks.

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Any particular reason you're building Python? Not only is it included with OS X but the Python website has pre-built binaries.

    Python installers: http://python.org/download/
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3


    Member Since
    Jan 08, 2012
    Posts
    4
    Quote Originally Posted by vansmith View Post
    Any particular reason you're building Python? Not only is it included with OS X but the Python website has pre-built binaries.

    Python installers: Download Python
    Ah, thanks... Yes too much haste....

    Doesn't explain "which make" not returning a path, but should get me on the road to installation.

    Thanks.

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,881
    Specs:
    Way... way too many specs to list.
    echo $PATH

    I bet /usr/bin does not exist in your path.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by Dysfunction View Post
    echo $PATH

    I bet /usr/bin does not exist in your path.
    That would make sense since that's where make resides but I have no idea how /usr/bin/ wouldn't be in the user's path. I have however seen Xcode installs go wrong and leave certain symlinks uncreated (make is a symlink to /usr/bin/gnumake).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  6. #6


    Member Since
    Jan 08, 2012
    Posts
    4
    Thanks for your replys, sorry I've been tied up for a few days.

    my path is as follows:
    Code:
    Richards-Mac-Pro:Python-3.2.2 richard$ $PATH
    -bash: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin: No such file or directory
    so it does contain /usr/bin, but gets a bit messy towards the end. Not sure what the No such file or directory is referring to (I get it on my macbook too).

  7. #7

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Throw "echo" in front of that and you won't get that error.

    What do you get when you execute the following?
    Code:
    ls -l /usr/bin/make
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    Did you load the xcode development environment? If not that maybe why the make command is not available.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  9. #9


    Member Since
    Jan 08, 2012
    Posts
    4
    Thanks, I've reinstalled xcode again and it all seems to have sorted itself out.

    Many thanks for your help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How Can I Make A Terminal Command Permanent?
    By Todd Smith 265 in forum OS X - Operating System
    Replies: 10
    Last Post: 06-17-2012, 06:20 PM
  2. Terminal command to make aliases (shortcuts) of files/folders?
    By ericconn in forum OS X - Operating System
    Replies: 4
    Last Post: 05-24-2012, 03:16 PM
  3. Please help me with this Terminal command
    By nowakchr in forum OS X - Operating System
    Replies: 2
    Last Post: 12-12-2010, 11:39 AM
  4. terminal command help
    By ytbryan in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 09-18-2009, 06:22 PM
  5. cd Terminal Command
    By Mac_Daddy in forum OS X - Operating System
    Replies: 4
    Last Post: 11-19-2007, 10:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •