From: Ajeet Kumar Sent: Wednesday, March 24, 2010 7:12 PM To: 'cpan-disc...@perl.org!' Subject: CPAN Module Installation problem
Hello Everybody.. 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.. I also tried it to install from CPAN prompt, but that reports me CPAN: Storable loaded ok Going to read /opt/home/netboss/.cpan/Metadata Warning: Found only 0 objects in /opt/home/netboss/.cpan/Metadata CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.perl.org'] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz Trying with "/usr/sfw/bin/ncftpget" to get ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz ftp.perl.org: unknown host. ncftpget: cannot open ftp.perl.org: unknown host. System call "cd /opt/home/netboss/.cpan/sources/authors && /usr/sfw/bin/ncftpget "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz" " returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist Trying with "/usr/sfw/bin/wget -O -" to get ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz --18:49:27-- ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz => `-' Resolving ftp.perl.org... failed: Host not found. System call "/usr/sfw/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz" > /opt/home/netboss/.cpan/sources/authors/01mailrc.txt" returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist Issuing "/usr/bin/ftp -n" ftp.perl.org: unknown host or invalid literal address Not connected. Local directory now /opt/home/netboss/.cpan/sources/authors Not connected. Not connected. Not connected. Not connected. Not connected. Not connected. Bad luck... Still failed! Can't access URL ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz. Please check, if the URLs I found in your configuration file () are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.perl.org'] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz Trying with "/usr/sfw/bin/ncftpget" to get ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz ftp.perl.org: unknown host. ncftpget: cannot open ftp.perl.org: unknown host. System call "cd /opt/home/netboss/.cpan/sources/modules && /usr/sfw/bin/ncftpget "ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz" " returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist Trying with "/usr/sfw/bin/wget -O -" to get ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz --18:49:32-- ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz => `-' Resolving ftp.perl.org... failed: Host not found. System call "/usr/sfw/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz" > /opt/home/netboss/.cpan/sources/modules/02packages.details.txt" returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist Issuing "/usr/bin/ftp -n" ftp.perl.org: unknown host or invalid literal address Not connected. Local directory now /opt/home/netboss/.cpan/sources/modules Not connected. Not connected. Not connected. Not connected. Not connected. Not connected. Bad luck... Still failed! Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz. Please check, if the URLs I found in your configuration file () are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/02packages.details.txt.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname 'ftp.perl.org'] Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz Trying with "/usr/sfw/bin/ncftpget" to get ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz ftp.perl.org: unknown host. ncftpget: cannot open ftp.perl.org: unknown host. System call "cd /opt/home/netboss/.cpan/sources/modules && /usr/sfw/bin/ncftpget "ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz" " returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/modules/03modlist.data.gz] doesn't exist Trying with "/usr/sfw/bin/wget -O -" to get ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz --18:49:36-- ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz => `-' Resolving ftp.perl.org... failed: Host not found. System call "/usr/sfw/bin/wget -O - "ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz" > /opt/home/netboss/.cpan/sources/modules/03modlist.data" returned status 1 (wstat 256) Warning: expected file [/opt/home/netboss/.cpan/sources/modules/03modlist.data.gz] doesn't exist Issuing "/usr/bin/ftp -n" ftp.perl.org: unknown host or invalid literal address Not connected. Local directory now /opt/home/netboss/.cpan/sources/modules Not connected. Not connected. Not connected. Not connected. Not connected. Not connected. Bad luck... Still failed! Can't access URL ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz. Please check, if the URLs I found in your configuration file () are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch modules/03modlist.data.gz Going to write /opt/home/netboss/.cpan/Metadata Warning: Cannot install Acme::Damn, don't know what it is. Try the command i /Acme::Damn/ to find objects with matching identifiers. Please Help me with installation.... Thanks in Advance Thanks & Regards AJEET KUMAR GUPTA Trainee-Software Engineer A R I C E N T Plot 17 Electronic City Sector 18 Gurgaon 122015 India Hand Phone +91 9871675405 Extension 3445 ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."