Hi all,
I am attempting to install necessary perl modules to run a perl script. I need to use gcc as my compiler and believe I have an issue, also may have a (g)make issue as well. I will copy the output of two install failures, and then my current o conf setup. if someone could help me out I would sincerely appreciate it.
When trying to install IO::Pty I received the following output.
cpan[1]> install IO::Pty
Reading '/.cpan/Metadata'
Database was generated on Thu, 26 Sep 2013 13:53:03 GMT
Running install for module 'IO::Pty'
Running make for T/TO/TODDR/IO-Tty-1.10.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
Scanning cache /.cpan/build for sizes
..........................................................................--DONE
DEL(1/3): /.cpan/build/Data-Dumper-2.145-wR9zqH
DEL(2/3): /.cpan/build/Time-Local-1.2300-_ZUYVw
DEL(3/3): /.cpan/build/Time-Local-1.2300-_ZUYVw.yml
CPAN.pm: Building T/TO/TODDR/IO-Tty-1.10.tar.gz
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1868.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1869.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1879.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1880.
Now let's see what we can find out about your system
(logfiles of failing tests are available in the conf/ dir)...
sh: cc: not found
ERROR: cannot run the configured compiler 'cc'
(see conf/compilerok.log). Suggestions:
1) The complier 'cc' is not in your PATH. Add it
to the PATH and try again. OR
2) The compiler isn't installed on your system. Install it. OR
3) You only have a different compiler installed (e.g. 'gcc').
Either fix the compiler config in the perl Config.pm
or install a perl that was built with the right compiler
(you could build perl yourself with the available compiler).
Note: this is a system-administration issue, please ask your local
admin for help. Thank you.
Warning: No success on command[/usr/perl5/5.8.4/bin/perl Makefile.PL]
TODDR/IO-Tty-1.10.tar.gz
/usr/perl5/5.8.4/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Failed during this command:
TODDR/IO-Tty-1.10.tar.gz : writemakefile NO '/usr/perl5/5.8.4/bin/perl Makefile.PL' returned status 512
When trying to install Data::Dumper I received the following output.
cpan[2]> install Data::Dumper
Running install for module 'Data::Dumper'
Running make for S/SM/SMUELLER/Data-Dumper-2.145.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
CPAN.pm: Building S/SM/SMUELLER/Data-Dumper-2.145.tar.gz
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1868.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1869.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1879.
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 1880.
Checking if your kit is complete...
Looks good
Generating a GNU-style Makefile
Writing Makefile for Data::Dumper
Writing MYMETA.yml and MYMETA.json
Use of uninitialized value in scalar assignment at /usr/perl5/5.8.4/lib/CPAN/Distribution.pm line 2033.
cp Dumper.pm blib/lib/Data/Dumper.pm
/usr/perl5/5.8.4/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap Dumper.xs > Dumper.xsc && mv Dumper.xsc Dumper.c
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.145\" -DXS_VERSION=\"2.145\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUSE_PPPORT_H Dumper.c
/bin/sh: cc: not found
gmake: *** [Dumper.o] Error 1
SMUELLER/Data-Dumper-2.145.tar.gz
/usr/sfw/bin/gmake -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
SMUELLER/Data-Dumper-2.145.tar.gz : make NO
cpan[3]> o conf
$CPAN::Config options from /usr/perl5/5.8.4/lib/CPAN/Config.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 [10]
build_dir [/.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 [/.cpan]
curl undef
dontload_hash
dontload_list undef
ftp [/usr/bin/ftp]
ftp_passive [1]
ftp_proxy [Proxy info removed]
ftpstats_period undef
ftpstats_size undef
getcwd [cwd]
gpg []
gzip [/usr/bin/gzip]
halt_on_failure [0]
histfile [/.cpan/histfile]
histsize [100]
http_proxy [Proxy info removed]
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [/.cpan/sources]
load_module_verbosity [none]
lynx []
make [/usr/sfw/bin/gmake] I have also tried [/usr/sfw/bin/make] and still the installs fail
make_arg []
make_install_arg [UNINST=1]
make_install_make_command [/usr/sfw/bin/gmake] I have also tried [/usr/sfw/bin/make] and still the installs fail
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_external_tar [0]
prefer_installer [MB]
prefs_dir [/.cpan/prefs]
prerequisites_policy [ask]
proxy_pass undef
proxy_user []
randomize_urllist undef
scan_cache [atstart]
shell [/sbin/sh]
show_unparsable_versions [0]
show_upload_date [0]
show_zero_versions [0]
tar [/usr/sfw/bin/gtar]
tar_verbosity [none]
term_is_latin [1]
term_ornaments [1]
test_report [0]
trust_test_report_history [0]
unzip [/usr/bin/unzip]
urllist
0 [http://cpan.cse.msu.edu/]
1 [http://httpupdate23.cpanel.net/CPAN/]
2 [http://cpan.llarian.net/]
use_sqlite [0]
username undef
version_timeout [15]
wait_list undef
wget [/usr/sfw/bin/wget]
yaml_load_code [0]
yaml_module [YAML]
I would appreciate any assistance,
Thank you in advance,
Steve O