Results 1 to 8 of 8
  1. #1
    installing "make" in terminal

    Member Since
    Mar 14, 2010
    Posts
    5
    installing "make" in terminal
    hi, just having a problem using "make" in the terminal, i have xcode installed as i understood that it might have been the problem i was facing, does anyone have any input as to how i might install "make" for use with college software

  2. #2
    installing "make" in terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,390
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Make should be installed along with Xcode. There should be a symlink in /Developer/usr/bin from make to gnumake. Does this exist?
    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
    installing "make" in terminal

    Member Since
    Mar 14, 2010
    Posts
    5
    make -> gnumake symlink
    yes as far as I can tell there is a symlink between the two in the bin folder

  4. #4
    installing "make" in terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,390
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    There should also be a copy of gnumake in your /usr/bin/ folder as well. Edit the file /etc/paths and if /usr/bin isn't there (which it should be), add it.

    If this doesn't work, post back with the output from "echo $PATH" (without the quotes).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    installing "make" in terminal

    Member Since
    Mar 14, 2010
    Posts
    5
    to the best of my knowledge the /usr/bin is in the $PATH and there is a gnumake along with make in the bin directory for which make is an alias for gnumake

  6. #6
    installing "make" in terminal
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,390
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    If you have /usr/bin in your path (which you should) and there is a symlink from make to gnumake, you should be good to go. Does it work if you try to build something? If not, what is the output?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7
    installing "make" in terminal

    Member Since
    Nov 16, 2011
    Posts
    2
    Similar make problem
    I recently updated to Lion from snow leopard and I am having some troubles using make. I upgraded to Xcode 4.2 because I heard that could cause a problem but I am still having issues. I went though each of the things mentioned in this forum already (each of them checking out) and this is what is listed when I try to use the terminal to install the perl module HTML:arser:

    morricej:html-parser-3.69 Jarrod$ make
    cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
    cp Parser.pm blib/lib/HTML/Parser.pm
    cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
    cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
    cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
    cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
    cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
    /opt/local/bin/perl /opt/local/lib/perl5/5.8.9/ExtUtils/xsubpp -typemap /opt/local/lib/perl5/5.8.9/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
    /opt/local/bin/perl mkhctype >hctype.h
    /opt/local/bin/perl mkpfunc >pfunc.h
    /usr/bin/gcc-4.0 -c -pipe -O2 -arch i386 -arch ppc -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"3.69\" -DXS_VERSION=\"3.69\" "-I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE" -DMARKED_SECTION Parser.c
    /bin/sh: /usr/bin/gcc-4.0: No such file or directory
    make: *** [Parser.o] Error 127

    Do I need to install gcc-4.0? I thought this was included in Xcode? Is it ok for me to do a manual install of this without messing anything up?

    Thanks for any help you might be able to provide.

  8. #8
    installing "make" in terminal

    Member Since
    Nov 16, 2011
    Posts
    2
    Work around for make problem
    I was able to figure out (somewhat) what was happening with the reference to gcc-4.0 during my HTML:: Parser install. It turns out the version of perl that I was using was the default one that was installed during an installation from MacPorts (using perl version 5.8.9). When I updated to Lion this version of perl was still the default version of perl because of the way my $PATHS variable was set up. Anyway, for some reason this version of perl causes the makefile when installing modules to call specifically for gcc-4.0 instead of the default that is used for lion (not too sure about this but it seems to be either gcc or gcc-4.2). Using the system's version of perl (5.12.3) was able to clear this up for me. Hope this might help for anybody else out there who might be going through a similar process.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 08-30-2014, 07:42 PM
  2. Replies: 1
    Last Post: 04-06-2013, 04:13 AM
  3. Installing "gettext" & "libiconv" errors ...
    By coffee in forum OS X - Operating System
    Replies: 19
    Last Post: 01-08-2013, 07:33 PM
  4. How do I make "No Spacing" the default option in Mac Word 2008?
    By oxband in forum OS X - Apps and Games
    Replies: 1
    Last Post: 10-21-2009, 11:25 PM
  5. Replies: 4
    Last Post: 09-18-2008, 09:11 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
  •