ZWcarp has asked for the wisdom of the Perl Monks concerning the following question:
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::ColorObjectUpon 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/Distribution.pm 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
UPDATEI 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 http://www.mail-archive.com/macosx@perl.org/msg10184.html 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 :
Thoughts??cpan[1]> o conf $CPAN::Config options from '/Users/zwc2101/.cpan/CPAN/MyConfig.pm': 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 [ftp://mirrors.24-7-solutions.net/pub/CPAN/] 1 [ftp://cpan.erlbaum.net/CPAN/] 2 [ftp://cpan-du.viaverio.com/pub/CPAN/] 3 [ftp://mirror.team-cymru.org/CPAN/] 4 [ftp://mirror.atlantic.net/pub/CPAN/] use_sqlite [0] username undef version_timeout [15] wait_list undef wget [] yaml_load_code [0] yaml_module [YAML]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing make
by blue_cowdawg (Monsignor) on Aug 24, 2011 at 13:41 UTC | |
by ZWcarp (Beadle) on Aug 24, 2011 at 13:50 UTC | |
by zentara (Cardinal) on Aug 24, 2011 at 14:01 UTC | |
by ZWcarp (Beadle) on Aug 24, 2011 at 14:13 UTC | |
by pvaldes (Chaplain) on Aug 24, 2011 at 13:59 UTC | |
by ZWcarp (Beadle) on Aug 24, 2011 at 15:27 UTC | |
by Anonymous Monk on Jul 04, 2012 at 12:38 UTC |