Click here to get back home

CPAN install issues

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CPAN install issues macavenger@macosx.com 02-21-2007
Posted by macavenger@macosx.com on February 21, 2007, 6:48 pm
Please log in for more thread options


I ma trying to install modules using the CPAN module, specifically
Net::Jabber. however, whenever I try running the install Net::Jabber
command, I get the following output:

cpan[1]> install Net::Jabber
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 21 Feb 2007 12:08:13 GMT
Running install for module Net::Jabber
Running make for R/RE/REATMON/Net-Jabber-2.0.tar.gz
CPAN: Digest::SHA loaded ok
Can't use string ("") as a HASH ref while "strict refs" in use at /usr/
libdata/perl5/CPAN.pm line 4297.

as far as I can tell, this means that it was not installed. I
downloaded and installed the newest CPAN perl module (v1.8802) but
that didn't help. What can I do to fix this? trying to track down the
dependancy tree by hand would be nearly impossible. Thanks!


Posted by Mumia W. on February 21, 2007, 10:26 pm
Please log in for more thread options


On 02/21/2007 05:48 PM, macavenger@macosx.com wrote:
> I ma trying to install modules using the CPAN module, specifically
> Net::Jabber. however, whenever I try running the install Net::Jabber
> command, I get the following output:
>
> cpan[1]> install Net::Jabber
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Wed, 21 Feb 2007 12:08:13 GMT
> Running install for module Net::Jabber
> Running make for R/RE/REATMON/Net-Jabber-2.0.tar.gz
> CPAN: Digest::SHA loaded ok
> Can't use string ("") as a HASH ref while "strict refs" in use at /usr/
> libdata/perl5/CPAN.pm line 4297.
>

To me this suggests that your CPAN installation isn't proper.

> as far as I can tell, this means that it was not installed. I
> downloaded and installed the newest CPAN perl module (v1.8802) but
> that didn't help. What can I do to fix this? trying to track down the
> dependancy tree by hand would be nearly impossible. Thanks!
>

Consider reinstalling CPAN. If your operating system comes with CPAN,
try to install that version.


--
Windows Vista and your freedom in conflict:
http://www.badvista.org/

Posted by macavenger@macosx.com on February 22, 2007, 12:17 pm
Please log in for more thread options


On Feb 21, 6:26 pm, "Mumia W." <paduille.4060.mumia.w
+nos...@earthlink.net> wrote:
> On 02/21/2007 05:48 PM, macaven...@macosx.com wrote:
>
> To me this suggests that your CPAN installation isn't proper.

Agreed.
>
> Consider reinstalling CPAN. If your operating system comes with CPAN,
> try to install that version.

I did. As mentioned in my original message, I downloaded an installed
CPAN v1.8802, but this didn't help any. My system is OpenBSD 4.0, and
it did come with the CPAN module (or at least I'm fairly certain it
did), but I don't know what version. It would seem that since I'm
still getting the same errors after a reinstall, that either a) the
reinstall didn't replace everything it should have, or b) something
else is at fault. Thanks for the response!

Israel Brewster



Posted by Sherm Pendley on February 22, 2007, 12:58 pm
Please log in for more thread options



> On Feb 21, 6:26 pm, "Mumia W." <paduille.4060.mumia.w
> +nos...@earthlink.net> wrote:
>> On 02/21/2007 05:48 PM, macaven...@macosx.com wrote:
>>
>> To me this suggests that your CPAN installation isn't proper.
>
> Agreed.
>>
>> Consider reinstalling CPAN. If your operating system comes with CPAN,
>> try to install that version.
>
> I did. As mentioned in my original message, I downloaded an installed
> CPAN v1.8802, but this didn't help any.

Have you tried re-running the configuration q&a? It's "o conf init" at
the CPAN prompt.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Posted by macavenger@macosx.com on February 22, 2007, 1:32 pm
Please log in for more thread options


> Have you tried re-running the configuration q&a? It's "o conf init" at
> the CPAN prompt.
>

Thanks for the suggestion. I just tried re-reinstalling, this time
also deleting the /root/.cpan folder for good measure, and ran "o conf
init". Now when I try to install, I get the following string of
errors:

install Net::Jabber
CPAN: Storable loaded ok

Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get
ftp://cpan-sj.viaverio.com/pub/CPAN/authors/01mailrc.txt.gz
gzip: /root/.cpan/sources/authors/01mailrc.txt: unknown suffix:
ignored
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz

Trying with "/usr/local/bin/curl -L -f -s -S --netrc-optional" to get
ftp://cpan-sj.viaverio.com/pub/CPAN/modules/02packages.details.txt.gz
gzip: /root/.cpan/sources/modules/02packages.details.txt: unknown
suffix: ignored
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz
does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz
does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Use of uninitialized value in string ne at /usr/libdata/perl5/CPAN.pm
line 3924, <GEN3> line 2056.
Can't use string ("CPAN::Index") as a HASH ref while "strict refs" in
use at /usr/libdata/perl5/CPAN.pm line 3765, <GEN3> line 2056.
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz
does not contain a Line-Count header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz
does not contain a Last-Updated header.
Please check the validity of the index file by comparing it to more
than one CPAN mirror. I'll continue but problems seem likely to
happen.
Use of uninitialized value in string ne at /usr/libdata/perl5/CPAN.pm
line 3924, <GEN5> line 2056.
Lockfile removed.
Can't use string ("CPAN::Index") as a HASH ref while "strict refs" in
use at /usr/libdata/perl5/CPAN.pm line 3765, <GEN5> line 2056.

It looks like the final error is the same, except that now instead of
the string it can't use being "", it's "CPAN::Index" Any other ideas?

> sherm--
>
> --
> Web Hosting by West Virginians, for West Virginians:http://wv-www.net
> Cocoa programming in Perl:http://camelbones.sourceforge.net



Similar ThreadsPosted
Install ing GD Active Perl issues July 25, 2006, 1:55 pm
Issues Installing CPAN Modules on Win NT - Activestate Perl 5.61 November 19, 2004, 6:52 am
only want to install one module and the depended ones, but CPAN always install the whole Perl. September 14, 2007, 5:23 pm
Upgrading to CPAN.pm v1.76 install Bundle::CPAN fails May 10, 2005, 9:51 pm
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
install whole CPAN ? April 19, 2006, 10:39 am
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
XML::Parser CPAN install error with Expat.o October 1, 2004, 4:36 pm
install Bundle::CPAN in Cygwin failed October 17, 2004, 9:09 am
Customizing include path with CPAN install November 22, 2004, 9:46 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap