I have problem regarding perl module installation.
I had downloaded a perl module from CPAN,while installation MakeFile.PL goes fine, but "make" creates problem, it reports me error about saying that "/usr/ucb/cc- Language optional software package not installed" , however i have gcc installed in my system(Solaris), Now i modified the environment to use gcc instead of cc, but again it reports error, something like below..
cp t1.pl blib/lib/Acme/t1.pl cp Damn.pm blib/lib/Acme/Damn.pm /usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /us +r/local/lib/perl5/5.8.8/ExtUtils/typemap Damn.xs > Damn.xsc && mv Da +mn.xsc Damn.c cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -I/ +usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_U +SE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -xO3 -xspace -xildoff -DVERS +ION=\"0.04\" -DXS_VERSION=\"0.04\" -KPIC "-I/usr/local/lib/perl5/5.8 +.8/sun4-solaris/CORE" Damn.c ucbcc: unrecognized option `-Xs' ucbcc: unrecognized option `-KPIC' ucbcc: language ildoff not recognized ucbcc: Damn.c: linker input file unused because linking not done ucbcc: -lucb: linker input file unused because linking not done ucbcc: -lsocket: linker input file unused because linking not done ucbcc: -lnsl: linker input file unused because linking not done ucbcc: -lelf: linker input file unused because linking not done ucbcc: -laio: linker input file unused because linking not done Running Mkbootstrap for Acme::Damn () chmod 644 Damn.bs rm -f blib/arch/auto/Acme/Damn/Damn.so cc -G -L/usr/local/lib -L/usr/lib Damn.o -o blib/arch/auto/Acme/Damn +/Damn.so \ \ ucbcc: Damn.o: No such file or directory ucbcc: unrecognized option `-Xs' *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/Acme/Damn +/Damn.so'
I guess the command line switches supported by "cc" is not supported by "gcc",Please provide any solution...I dont want to install "cc",
I guess without installation also, One can use the perl module, by putting the module file in the same directory. This works for me, except one module "Acme::Damn", in which it says, can not found loadable for "Acme::Damn".... Please have some look into the matter and provide solution...as i can not move with my project without it..
Thanks in Advance
In reply to CPAN Module Installation by ajeet@perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |