[NTLUG:Discuss] Perl Modules
Paul Drew
solarcurve at msn.com
Thu Sep 11 12:59:52 CDT 2003
Howdy Guys,
I am going to have to appeal to you guys for some help. I have been trying
to figure out how to gather disk space usage using Perl. It appears that I
am in the need of a module Filesys::Df, and that requires Filesys::Statvfs.
I cannot get this damn thing installed. I am too new to Perl to know what to
do, and I have not been able to get this installed. I will paste in the
errors below, and see if anyone can shed some light on this. I have been
getting this with other Modules I have tried to install in the past, so
there has got to be some sort of basic thing I am missing.
#perl -MCPAN -e 'install Filesys::Df' (This is what I ran to start it)
Checking if your kit is complete...
Looks good
Writing Makefile for Filesys::Statvfs
cp Df.pm blib/lib/Filesys/Df.pm
cp Statvfs.pm blib/lib/Filesys/Statvfs.pm
/usr/freeware/bin/perl -I/usr/freeware/lib/perl5/5.6.1/irix-n32
-I/usr/freeware/lib/perl5/5.6.1
/usr/freeware/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/freeware/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Statvfs.xs >
Statvfs.xsc && mv Statvfs.xsc Statvfs.c
Please specify prototyping behavior for Statvfs.xs (see perlxs manual)
cc -n32 -mips3 -IPA -c -D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/freeware/include
-I/usr/include -O3 -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\"
-I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE Statvfs.c
sh: cc: not found
*** Error code 127 (bu21)
/sbin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I tried installing Filesys::DiskSpace which seemed to go ok with no errors,
however I can't use it. I get the following errors.
Can't locate Filesys/DiskSpace.pm in @INC (@INC contains:
/usr/share/lib/perl5/irix-n32/5.00405 /usr/share/lib/perl5
/usr/share/lib/perl5/site_perl/irix-n32 /usr/share/lib/perl5/site_perl
/usr/share/lib/perl5/sgi_perl .) at ./arg_tests line 2.
BEGIN failed--compilation aborted at ./arg_tests line 2.
When I type whats below I get NO errors, and yet I still get the above
errors.
#perl -e 'use Filesys::DiskSpace'
I have also tried to just put in place the .pm's under directorys included
in @INC. And yet I still can't use any of the modules. I am just stuck, any
suggestions you guys might be able to offer would be great. Thank in
Advance. Have a great day, and take care.
Paul Drew
_________________________________________________________________
Need more e-mail storage? Get 10MB with Hotmail Extra Storage.
http://join.msn.com/?PAGE=features/es
More information about the Discuss
mailing list