Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

unable to install switch.pm

by bar10der (Beadle)
on Jul 08, 2004 at 10:01 UTC ( #372731=perlquestion: print w/replies, xml ) Need Help??

bar10der has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I am trying to install switch.pm on my server. While installing I get message saying missing module Filter::Util::Call. So I went and downloaded Filter::Util::Call and tried to install this module but I am getting following error -
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int -I/usr/perl5/5 +.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap /usr/perl5/5. +6.1/lib/ExtUtils/typemap Call.xs > Call.xsc && mv Call.xsc Call.c cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DV +ERSION=\"1.06\" -DXS_VERSION=\"1.06\" -KPIC -I/usr/perl5/5.6.1/lib/s +un4-solaris-64int/CORE -D_NOT_CORE Call.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `Call.o' Current working directory /.cpan/build/Filter-1.30/Call *** Error code 1 make: Fatal error: Command failed for target `subdirs' /usr/ccs/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

Replies are listed 'Best First'.
Re: unable to install switch.pm
by gellyfish (Monsignor) on Jul 08, 2004 at 10:36 UTC

    It looks like you have installed Perl from a package (or it was preinstalled) and you don't have the C compiler that is required to build that module.

    /J\

Re: unable to install switch.pm
by JSchmitz (Canon) on Jul 08, 2004 at 14:43 UTC
    You need to install gcc and then build. gcc will compile anything. happy hunting! If this is a Sun box you can get gcc here http://www.sunfreeware.com If this is a linux system you can grab the RPM here http://www.rpmfind.com

    cheers!

    Jeffery
Re: unable to install switch.pm
by sweetblood (Prior) on Jul 08, 2004 at 15:40 UTC
    At first I missed not having switch or case in Perl, but if you look at 'perldoc -q switch' I think you'll agree that switch.pm really isn't needed.

    On the other hand, If you really feel you need to, the answers above will get you on the right road.

    HTH

    Sweetblood

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://372731]
Approved by adrianh
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2021-10-28 10:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (96 votes). Check out past polls.

    Notices?