You are not logged in.

#1 2008-03-25 07:51:01

clarence
Member
From: fremantle.au
Registered: 2005-10-12
Posts: 294

perl cpan error

hi.

so i was using the perlcpan repo for a few things to get a script working. but after removing the repo and everything installed from it (due to conflicts between perlcpan and the Archlinux perl) and upgrading to perl 5.10 the cpan shell is giving me this error

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_Tstack_sp_ptr

err......


fck art, lets dance.

Offline

#2 2008-03-26 04:39:28

oipat
Member
Registered: 2008-03-26
Posts: 3

Re: perl cpan error

I am also noticing strange things with Perl lately. When trying to run scripts with the WWW::Mechanize module I get this.

/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/HTML/Parser/Parser.so: undefined symbol: Perl_Tstack_sp_ptr

I got the same thing when trying to launch commands within the cpan shell.

Now cpan has disappeared due to my poor attempts on fix it smile

EDIT:
http://bbs.archlinux.org/viewtopic.php?id=46007
Looks like more people are experiencing problems with the 5.10.0-3 upgrade.

What is Perl_Tstack_sp_ptr, anyway?

Last edited by oipat (2008-03-26 04:42:40)

Offline

#3 2008-03-26 04:53:11

clarence
Member
From: fremantle.au
Registered: 2005-10-12
Posts: 294

Re: perl cpan error

dont know....

but i did fix it 5 minutes ago by pacman -Rd every perl package
and then pacman -S perl all the perl packages i need.

it took a while but problem solved. smile


fck art, lets dance.

Offline

#4 2008-03-26 05:40:17

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: perl cpan error

You probably just needed to update your system.  The perl packages from community have mostly been updated now.

Offline

#5 2008-03-27 09:34:45

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Hi!

I'm having the same problem after upgrading to perl 5.10.0-3.

I tried removing and re-installing all perl modules and mod_perl, but I'm still getting errors related to Perl_Tstack_sp_ptr while trying to compile certain perl modules.

mod_perl's @INC still looks modules from a number of /5.8.8/ paths, which do not exist since the 5.10.0-3 upgrade.

Any tips on how to fix this? My employer's intranet is down and I'm feeling the first signs of panic creeping up my spine... wink

- Jyri

Offline

#6 2008-03-27 09:42:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: perl cpan error

What module is giving those errors?

Offline

#7 2008-03-27 09:52:08

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Hi!

Allan wrote:

What module is giving those errors?

This time it's Apache::AuthenIMAP which I've also re-compiled and -installed since upgrading Perl.

tail -n 1 /var/log/httpd/error.log

[Thu Mar 27 11:48:42 2008] [error] [client nnn.nnn.nnn.nnn] failed to resolve handler `Apache::AuthenIMAP': Can't locate Apache/AuthenIMAP.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl . /etc/httpd) at (eval 2) line 3.\n

- Jyri

edit: AuthenIMAP.pm is located at /usr/lib/perl5/site_perl/current/Apache/AuthenIMAP.pm

Last edited by jyrijyri (2008-03-27 10:03:10)

Offline

#8 2008-03-27 10:19:27

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: perl cpan error

mod_perl problems...   http://bugs.archlinux.org/task/9928

Offline

#9 2008-03-27 10:48:46

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Allan wrote:

mod_perl problems...   http://bugs.archlinux.org/task/9928

So it seems... =I

- Jyri

Offline

#10 2008-03-27 12:47:11

oipat
Member
Registered: 2008-03-26
Posts: 3

Re: perl cpan error

Deleting /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/HTML/Parser/Parser.so solved my problem with cpan and WWW::Mechanize.

Don't take my word for it, though -- Back it up.

-oipat

Offline

#11 2008-03-27 15:39:49

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Hi!

oipat wrote:

Deleting /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/HTML/Parser/Parser.so solved my problem with cpan and WWW::Mechanize.

Thanks, but this does not work -- at least not for me.

- Jyri

Offline

#12 2008-03-28 11:11:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Offline

#13 2008-03-28 12:03:06

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Offline

#14 2008-03-28 12:51:40

jyrijyri
Member
Registered: 2007-10-21
Posts: 14

Re: perl cpan error

Hi!

It seems that removing mod_perl [Extra] and replacing it with mod_perl-svn [AUR] fixes at least part of the problems that pop up if you upgrade to Perl 5.10.*.

http://bbs.archlinux.org/viewtopic.php? … 72#p347772

- Jyri

Offline

Board footer

Powered by FluxBB