On Thu Apr 30 17:56:16 2009, ngrandbois wrote:
Show quoted text> > {{{{{{{{{{{{
> > shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$ perl
> > -Ilib wwwsearch.pl 38.112.48.21
> > IP:38.112.48.21
> > Version == 0.0106
> > shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$ perl
> > -Ilib wwwsearch.pl 24.123.61.102
> > IP:24.123.61.102
> > Version == 0.0106
> > shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$
> > }}}}}}}}}}}}
> >
>
> Shlomi,
>
> I have completely removed the WWW::Search::MSN module from my cpan build
> directory. I have verified it to be removed by:
>
> ngrandbois@zanzibar:/usr/local/bin$ ./wwwsearch.pl 38.112.48.21
> Can't locate WWW/Search/MSN.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl .) at ./wwwsearch.pl line 8.
> BEGIN failed--compilation aborted at ./wwwsearch.pl line 8.
>
> After reinstalling the module via CPAN, I get this:
>
> ngrandbois@zanzibar:/usr/local/bin$ ./wwwsearch.pl 38.112.48.21
> IP:38.112.48.21
> Version == 0.0105
> Can't call method "look_down" on an undefined value at
> /usr/local/share/perl/5.8.8/WWW/Search/MSN.pm line 134.
>
> Okay fine, maybe my cpan mirror doesn't have the latest one yet, so I
> download the tar.gz from the cpan website which is version 0.0106 and
> install it as per the README. Attempting to run the wwwsearch.pl script
> again, I get:
>
> ngrandbois@zanzibar:/usr/local/bin$ ./wwwsearch.pl 38.112.48.21
> IP:38.112.48.21
> Version == 0.0106
> Can't call method "look_down" on an undefined value at
> /usr/local/share/perl/5.8.8/WWW/Search/MSN.pm line 134.
>
> I'm not really sure what to do next. Is this something to do with my
> perl installation? Perhaps the code you are using is diff than the one
> posted on cpan? Not sure, but I'd really like to use this module. Have
> anything I can try to help with debugging this?
>
It's possible that due to the fact your CPAN mirror is out-of-date, that
you're using some out-of-date dependencies, which cause WWW::Search::MSN
to fail. Please look into it.
If this doesn't work, please record the HTTP request for one of the IPs
using Wireshark, and send me the recording log.
Show quoted text> The following is the output of the perl -V command:
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=linux, osvers=2.6.24-19-server,
> archname=i486-linux-gnu-thread-multi
> uname='linux palmer 2.6.24-19-server #1 smp sat jul 12 00:40:01 utc
[SNIP]
I've now tried it with my own copy of perl-5.8.8 and could not reproduce it:
{{{{{{{{{{{{{{{{{{{{
shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$
~/apps/perl/perl-5.8.8-debug/bin/perl wwwsearch.pl 24.123.61.102
IP:24.123.61.102
Version == 0.0106
shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$
~/apps/perl/perl-5.8.8-debug/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.20-rc6, archname=i686-linux
uname='linux telaviv1.shlomifish.org 2.6.20-rc6 #1 smp preempt thu
jan 25 21:49:47 ist 2007 i686 intel(r) pentium(r) 4 cpu 2.40ghz gnulinux '
config_args='-de -Dprefix=/home/shlomi/apps/perl/perl-5.8.8-debug
-Doptimize=-g'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-g',
cppflags='-DDEBUGGING -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.1.2 20070115 (prerelease)
(4.1.2-0.20070115.1mdv2007.1)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING PERL_MALLOC_WRAP USE_LARGE_FILES
USE_PERLIO
Built under linux
Compiled at Jan 26 2007 00:22:08
%ENV:
PERL5LIB="/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.10.0:/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8:/home/shlomi/apps/perl/modules/lib/site_perl/5.10.0:/home/shlomi/apps/perl/modules/lib/site_perl/5.8.8:/home/shlomi/apps/perl/modules/lib/perl5/5.10.0:/home/shlomi/apps/perl/modules/lib/perl5/5.8.8"
@INC:
/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.10.0
/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8
/home/shlomi/apps/perl/modules/lib/site_perl/5.10.0
/home/shlomi/apps/perl/modules/lib/site_perl/5.8.8/i686-linux
/home/shlomi/apps/perl/modules/lib/site_perl/5.8.8
/home/shlomi/apps/perl/modules/lib/perl5/5.10.0
/home/shlomi/apps/perl/modules/lib/perl5/5.8.8
/home/shlomi/apps/perl/perl-5.8.8-debug/lib/5.8.8/i686-linux
/home/shlomi/apps/perl/perl-5.8.8-debug/lib/5.8.8
/home/shlomi/apps/perl/perl-5.8.8-debug/lib/site_perl/5.8.8/i686-linux
/home/shlomi/apps/perl/perl-5.8.8-debug/lib/site_perl/5.8.8
/home/shlomi/apps/perl/perl-5.8.8-debug/lib/site_perl
.
shlomi:~/progs/perl/cpan/WWW/Search/trunk/modules/WWW-Search-MSN$
}}}}}}}}}}}}}}}}}}}}
So it seems to be some kind of problem on your end.
Regards,
Shlomi Fish