[NTLUG:Discuss] Perl Modules
Eric Schnoebelen
eric at cirr.com
Thu Sep 11 13:32:49 CDT 2003
"Paul Drew" writes:
- 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.
- #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
According to the error message above, this module needs
to compile a C module to do what it needs, and is unable to find
a C compiler on your system.
You might talk to your IRIX sysadmin, or to SGI about
getting a compiler for the system. (or seeing if gcc is in
/usr/freeware/bin, and making the needed tweaks for that to be
used.)
--
Eric Schnoebelen eric at cirr.com http://www.cirr.com
Frisbeetarianism is the belief that when you die, your soul goes
up on the roof and gets stuck. -- George Carlin
More information about the Discuss
mailing list