Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Installing make on mac LION osx

by ZWcarp (Beadle)
on Aug 24, 2011 at 13:32 UTC ( #922110=perlquestion: print w/ replies, xml ) Need Help??
ZWcarp has asked for the wisdom of the Perl Monks concerning the following question:

After much effort I have decided its better just to go ahead and ask for help from the wise monks. To give you an idea of my xp level.. have gone through "learning perl" and am pretty comfortable with it that book, but system modules and things of this nature are still a little confusing to me. I am trying to install and use a program called "circos" which lets you depict data on circle plots, on Mac OsX v10.7. During the install I came across a list of errors because I was missing certain modules.... here is this list :
rabadan14:bin zwc2101$ ./test.modules ok Carp fail Config::General is not usable (it or a sub-module is missing) ok Data::Dumper ok Digest::MD5 ok File::Basename ok File::Spec::Functions ok FindBin fail GD is not usable (it or a sub-module is missing) fail GD::Polyline is not usable (it or a sub-module is missing) ok Getopt::Long fail Graphics::ColorObject is not usable (it or a sub-module is missin +g) ok IO::File ok List::MoreUtils ok List::Util fail Math::Bezier is not usable (it or a sub-module is missing) ok Math::BigFloat fail Math::Round is not usable (it or a sub-module is missing) fail Math::VecStat is not usable (it or a sub-module is missing) ok Memoize ok POSIX fail Params::Validate is not usable (it or a sub-module is missing) ok Pod::Usage fail Readonly is not usable (it or a sub-module is missing) ok Regexp::Common fail Set::IntSpan is not usable (it or a sub-module is missing) ok Storable ok Time::HiRes

So seing I lacked these modules I followed a tutorial online about cpan and installing new modules like so :

cpan[3]> install Graphics::ColorObject

Upon attempting this I received the following error:

Warning: Prerequisite 'IPC::Run3 => 0.034' for 'ADAMK/Test-Script-1.07 +.tar.gz' failed when processing 'RJBS/IPC-Run3-0.044.tar.gz' with 'ma +ke => NO'. Continuing, but chances to succeed are limited. Can't exec "make": No such file or directory at /System/Library/Perl/5 +.12/CPAN/ line 2026. ADAMK/Test-Script-1.07.tar.gz make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

This told me that perhaps not having this thing called "make" was this issue, so then I looked up how to install this and received several directions. First was to just install Xcode... although I have Xcode installed, and even tried reinstalling it to no avail. So second I downloaded make from GNU and tried to follow their install read me but upon doing so was made aware that install was not possible due to:

rabadan14:make-3.82 zwc2101$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/zwc2101/Downloads/make-3.82': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.

Before I go any farther I would really benefit from some clarification, I'm sure this is an asinine problem but we all have to start somewhere. Any help would be greatly appreciated. Keep in mind I am not sure that make is actually the problem here that is just my best guess! Thanks


I have found this thread : "Oh boy, this is producing awful lot of pain. I did type ~ > which make /usr/bin/make ~ > which gcc /usr/bin/gcc download and I used sudo rm -rf /Users/larus/.cpan/build/ download and I tried sudo perl -MCPAN -e 'install Bundle::CPAN' download But all I got was errors. After all this hassle I found this download and tried installing manually. After all, I don't know if this procedure installs all the dependencies. Any glue? Thanks to all who gave a share of their mighty wisdom. Why this have to be so hard? We are programmers, we should make programs that flow like a river stream, eih?"

And have also tried doing everything suggested in it, including checking my o conf file in CPAN to see if make had a file path... here is what the o conf looks like :

cpan[1]> o conf $CPAN::Config options from '/Users/zwc2101/.cpan/CPAN/': commit [Commit changes to disk] defaults [Reload defaults from disk] help [Short help about 'o conf' usage] init [Interactive setting of all options] applypatch [] auto_commit [0] build_cache [100] build_dir [/Users/zwc2101/.cpan/build] build_dir_reuse [0] build_requires_install_policy [yes] bzip2 [/usr/bin/bzip2] cache_metadata [1] check_sigs [0] colorize_debug undef colorize_output [0] colorize_print undef colorize_warn undef commandnumber_in_prompt [1] commands_quote undef connect_to_internet_ok [1] cpan_home [/Users/zwc2101/.cpan] curl [/usr/bin/curl] dontload_hash undef dontload_list undef ftp [/usr/bin/ftp] ftp_passive [1] ftp_proxy [] ftpstats_period undef ftpstats_size undef getcwd [cwd] gpg [] gzip [/usr/bin/gzip] halt_on_failure [0] histfile [/Users/zwc2101/.cpan/histfile] histsize [100] http_proxy [] inactivity_timeout [0] index_expire [1] inhibit_startup_message [0] keep_source_where [/Users/zwc2101/.cpan/sources] load_module_verbosity [none] lynx [] make [/usr/bin/make] make_arg [] make_install_arg [] make_install_make_command [] makepl_arg [] mbuild_arg [] mbuild_install_arg [] mbuild_install_build_command [./Build] mbuildpl_arg [] ncftp [] ncftpget [] no_proxy [] pager [/usr/bin/less] password undef patch [/usr/bin/patch] patches_dir undef perl5lib_verbosity [none] prefer_installer [MB] prefs_dir [/Users/zwc2101/.cpan/prefs] prerequisites_policy [follow] proxy_pass undef proxy_user undef randomize_urllist undef scan_cache [atstart] shell [/bin/bash] show_unparsable_versions [0] show_upload_date [0] show_zero_versions [0] tar [/usr/bin/tar] tar_verbosity [none] term_is_latin [1] term_ornaments [1] test_report [0] trust_test_report_history [0] unzip [/usr/bin/unzip] urllist 0 [] 1 [] 2 [] 3 [] 4 [] use_sqlite [0] username undef version_timeout [15] wait_list undef wget [] yaml_load_code [0] yaml_module [YAML]

Comment on Installing make on mac LION osx
Select or Download Code
Re: Installing make
by blue_cowdawg (Monsignor) on Aug 24, 2011 at 13:41 UTC
        Before I go any farther I would really benefit from some clarification, I'm sure this is an asinine problem but we all have to start somewhere. Any help would be greatly appreciated.

    What OS are you running on? If you are running on a Linux distribution you should be able to install/update the make you don't? have on the system.

    Linux Flavorpackage install command
    RedHat, Fedora and friendsyum -y install make
    Debian and friendsapt-get install make
    Don't remember SUSE and friends, but those should point you in the right direction if you are on a Linux distro. If you are on Solaris things get a bit dicier. As far as Windows goes I don't do windows.

    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      I apologize for not specifying... I'm running max OSX v 10.7 I have access to a linux cluster but would prefer to stay on the local machine
        Developer's Tools for Mac probably
        Googling for "make on OSX" results in the advice

        You will have to install the "Developer Tools" that are provided as optional packages in OS X installation disks.

        I'm not really a human, but I play one on earth.
        Old Perl Programmer Haiku ................... flash japh
      I think I may have figured it out... I have Snow leopard Xcode installed on the new lion osx ... somehow the perl versions aren't synced.
        This solved the problem for me:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://922110]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-07-03 03:03 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (47 votes), past polls