Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 72126
Status: rejected
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: artg [...] cs.nyu.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.03
Fixed in: (no value)



Subject: "Hello World" fails: Symbol not found: _PL_curpad
running cpan[2]> install LWP::UserAgent LWP::UserAgent is up to date (6.03). This is perl, v5.8.9 built for darwin-2level Darwin lski1167.mskcc.org 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 there's a problem with the dependencies in the install, I think. but Parser.bundle is present: [40 goldbera@lski1167:~/Documents/workspace/JobTalk]$ ls -l /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle -r-xr-xr-x 1 root admin 46328 Nov 2 13:10 /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle the attached program t.pl produces: $VAR1 = bless( { '_protocol' => 'HTTP/1.1', '_content' => '', '_rc' => '200', '_headers' => bless( { 'connection' => 'close', 'client-response-num' => 1, 'last-modified' => 'Wed, 02 Nov 2011 16:50:21 GMT', 'cache-control' => 'max-age=3599', 'date' => 'Wed, 02 Nov 2011 16:50:21 GMT', 'client-peer' => '199.15.176.161:80', 'content-length' => '5752', 'age' => '1401', 'client-aborted' => 'die', 'client-date' => 'Wed, 02 Nov 2011 17:13:42 GMT', 'x-died' => 'Can\'t load \'/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle\' for module HTML::Parser: dlopen(/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle, 1): Symbol not found: _PL_curpad Referenced from: /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle Expected in: dynamic lookup at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Parser.pm line 17 Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Entities.pm line 152. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm line 85. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm line 85. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/LWP/UserAgent.pm line 638.', 'content-type' => 'text/html', 'server' => 'Plack/Starman (Perl)', 'expires' => 'Wed, 02 Nov 2011 17:50:21 GMT' }, 'HTTP::Headers' ), '_msg' => 'OK', 'default_add_content' => 1, '_request' => bless( { '_content' => '', '_uri' => bless( do{\(my $o = 'http://search.cpan.org/')}, 'URI::http' ), '_headers' => bless( { 'user-agent' => 'libwww-perl/6.03' }, 'HTTP::Headers' ), '_method' => 'GET', '_uri_canonical' => $VAR1->{'_request'}{'_uri'} }, 'HTTP::Request' ) }, 'HTTP::Response' ); Use of uninitialized value in print at ./t.pl line 17.
Subject: t.pl
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; require LWP::UserAgent; my $ua = LWP::UserAgent->new; my $response = $ua->get('http://search.cpan.org/'); print Dumper $response; if ($response->is_success) { print $response->decoded_content; }
It sounds as though your HTML::Parser installation is somehow corrupt. What if you re-install it? If it’s up to date, use ‘force install’ at the cpan prompt. On Wed Nov 02 13:24:04 2011, ArthurG wrote: Show quoted text
> running > cpan[2]> install LWP::UserAgent > LWP::UserAgent is up to date (6.03). > > This is perl, v5.8.9 built for darwin-2level > Darwin lski1167.mskcc.org 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun > 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 > > there's a problem with the dependencies in the install, I think. > but Parser.bundle is present: > [40 goldbera@lski1167:~/Documents/workspace/JobTalk]$ ls -l > /opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle > -r-xr-xr-x 1 root admin 46328 Nov 2 13:10 > /opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle > > the attached program t.pl produces: > $VAR1 = bless( { > '_protocol' => 'HTTP/1.1', > '_content' => '', > '_rc' => '200', > '_headers' => bless( { > 'connection' => 'close', > 'client-response-num' => 1, > 'last-modified' => 'Wed, 02 > Nov > 2011 16:50:21 GMT', > 'cache-control' => 'max- > age=3599', > 'date' => 'Wed, 02 Nov 2011 > 16:50:21 GMT', > 'client-peer' => > '199.15.176.161:80', > 'content-length' => '5752', > 'age' => '1401', > 'client-aborted' => 'die', > 'client-date' => 'Wed, 02 Nov > 2011 17:13:42 GMT', > 'x-died' => 'Can\'t load > \'/opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle\' > for module HTML::Parser: > dlopen(/opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle, > 1): Symbol not found: _PL_curpad > Referenced from: > /opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle > Expected in: dynamic lookup > at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Parser.pm > line 17 > Compilation failed in require at > /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Entities.pm > line 152. > Compilation failed in require at > /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm > line 85. > BEGIN failed--compilation aborted at > /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm > line 85. > Compilation failed in require at > /opt/local/lib/perl5/site_perl/5.8.9/LWP/UserAgent.pm line 638.', > 'content-type' => 'text/html', > 'server' => 'Plack/Starman > (Perl)', > 'expires' => 'Wed, 02 Nov 2011 > 17:50:21 GMT' > }, 'HTTP::Headers' ), > '_msg' => 'OK', > 'default_add_content' => 1, > '_request' => bless( { > '_content' => '', > '_uri' => bless( do{\(my $o = > 'http://search.cpan.org/')}, 'URI::http' ), > '_headers' => bless( { > > 'user-agent' => 'libwww-perl/6.03' > }, > 'HTTP::Headers' ), > '_method' => 'GET', > '_uri_canonical' => > $VAR1->{'_request'}{'_uri'} > }, 'HTTP::Request' ) > }, 'HTTP::Response' ); > Use of uninitialized value in print at ./t.pl line 17.
From: artg [...] cs.nyu.edu
thanks SPROUT; I did sudo cpan force install HTML::Parser It says: o o o All tests successful. Files=48, Tests=445, 3 wallclock secs ( 0.23 usr 0.18 sys + 1.55 cusr 0.46 csys = 2.42 CPU) Result: PASS GAAS/HTML-Parser-3.69.tar.gz /usr/bin/make test -- OK Running make install Prepending /Users/goldbera/.cpan/build/HTML-Parser-3.69-Ow82tu/blib/arch /Users/goldbera/.cpan/build/HTML-Parser-3.69-Ow82tu/blib/lib to PERL5LIB for 'install' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Appending installation info to /opt/local/lib/perl5/5.8.9/darwin-2level/perllocal.pod GAAS/HTML-Parser-3.69.tar.gz /usr/bin/make install -- OK but #!/usr/bin/perl use strict; use warnings; use Data::Dumper; require LWP::UserAgent; my $ua = LWP::UserAgent->new; my $response = $ua->get('http://search.cpan.org/'); print Dumper $response; if ($response->is_success) { print $response->decoded_content; } still says: $VAR1 = bless( { '_protocol' => 'HTTP/1.1', '_content' => '', '_rc' => '200', '_headers' => bless( { 'connection' => 'close', 'client-response-num' => 1, 'last-modified' => 'Wed, 02 Nov 2011 17:44:19 GMT', 'cache-control' => 'max-age=3599', 'date' => 'Wed, 02 Nov 2011 17:44:19 GMT', 'client-peer' => '199.15.176.161:80', 'content-length' => '5752', 'age' => '8', 'client-aborted' => 'die', 'client-date' => 'Wed, 02 Nov 2011 19:18:15 GMT', 'x-died' => 'Can\'t load \'/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle\' for module HTML::Parser: dlopen(/opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle, 1): Symbol not found: _PL_curpad Referenced from: /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//auto/HTML/Parser/Parser.bundle Expected in: dynamic lookup at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Parser.pm line 17 Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/Entities.pm line 152. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm line 85. BEGIN failed--compilation aborted at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level//HTML/HeadParser.pm line 85. Compilation failed in require at /opt/local/lib/perl5/site_perl/5.8.9/LWP/UserAgent.pm line 638.', 'content-type' => 'text/html', 'server' => 'Plack/Starman (Perl)', 'expires' => 'Wed, 02 Nov 2011 18:44:19 GMT' }, 'HTTP::Headers' ), '_msg' => 'OK', 'default_add_content' => 1, '_request' => bless( { '_content' => '', '_uri' => bless( do{\(my $o = 'http://search.cpan.org/')}, 'URI::http' ), '_headers' => bless( { 'user-agent' => 'libwww-perl/6.03' }, 'HTTP::Headers' ), '_method' => 'GET', '_uri_canonical' => $VAR1->{'_request'}{'_uri'} }, 'HTTP::Request' ) }, 'HTTP::Response' ); Use of uninitialized value in print at ./t.pl line 13. wanna chat? A On Wed Nov 02 14:29:59 2011, SPROUT wrote: Show quoted text
> It sounds as though your HTML::Parser installation is somehow corrupt. > What if you re-install > it? If it’s up to date, use ‘force install’ at the cpan prompt. >
On Wed Nov 02 15:19:12 2011, ArthurG wrote: Show quoted text
> thanks SPROUT; > I did > > sudo cpan > force install HTML::Parser > > It says: > o o o > All tests successful. > > but > > #!/usr/bin/perl > > use strict; > use warnings; > use Data::Dumper; > require LWP::UserAgent; > > my $ua = LWP::UserAgent->new; > > my $response = $ua->get('http://search.cpan.org/'); > print Dumper $response; > if ($response->is_success) { > print $response->decoded_content; > } > > > still says: > > 1): Symbol not found: _PL_curpad > Referenced from: > /opt/local/lib/perl5/site_perl/5.8.9/darwin- > 2level//auto/HTML/Parser/Parser.bundle > > > wanna chat?
Well, I don’t think I’d be much help. I just saw this ticket here and though it might be something obvious. But now I’m stumped. I’m not actually very familiar with linking issues. Show quoted text
> > On Wed Nov 02 14:29:59 2011, SPROUT wrote:
> > It sounds as though your HTML::Parser installation is somehow
> corrupt.
> > What if you re-install > > it? If it’s up to date, use ‘force install’ at the cpan prompt. > >
From: artg [...] cs.nyu.edu
Thanks for trying!
I don't have any insight into what the problem might be. What I know is that this isn't a problem with the libwww-perl dist.