Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Protocol scheme 'http' is not supported

by Anonymous Monk
on Jul 28, 2012 at 00:00 UTC ( #984116=note: print w/ replies, xml ) Need Help??


in reply to Protocol scheme 'http' is not supported

What do you have installed?

Upgrade

$ perl -MDevel::Modlist -MWWW::Mechanize -e 1 AutoLoader 5.72 Carp 1.25 Compress::Raw::Zlib 2.054 Compress::Zlib 2.052 Config Encode 2.44 Encode::Alias 2.15 Encode::Config 2.05 Encode::Encoding 2.05 Exporter 5.66 Exporter::Heavy 5.66 Fcntl 1.11 File::Glob 1.12 File::GlobMapper 1.000 File::Spec 3.33 File::Spec::Unix 3.33 File::Spec::Win32 3.33 HTML::Entities 3.69 HTML::Form 6.03 HTML::Parser 3.69 HTML::PullParser 3.57 HTML::Tagset 3.20 HTML::TokeParser 3.69 HTTP::Date 6.02 HTTP::Headers 6.00 HTTP::Message 6.03 HTTP::Request 6.00 HTTP::Response 6.03 HTTP::Status 6.03 IO 1.25_04 IO::Compress::Adapter::Deflate 2.052 IO::Compress::Base 2.052 IO::Compress::Base::Common 2.052 IO::Compress::Gzip 2.052 IO::Compress::Gzip::Constants 2.052 IO::Compress::RawDeflate 2.052 IO::Compress::Zlib::Extra 2.052 IO::File 1.15 IO::Handle 1.31 IO::Seekable 1.1 IO::Uncompress::Adapter::Inflate 2.052 IO::Uncompress::Base 2.052 IO::Uncompress::Gunzip 2.052 IO::Uncompress::RawInflate 2.052 LWP 6.04 LWP::MemberMixin LWP::Protocol 6.00 LWP::UserAgent 6.04 List::Util 1.25 Scalar::Util 1.25 SelectSaver 1.02 Storable 2.30 Symbol 1.07 Time::Local 1.2000 URI 1.60 URI::Escape 3.31 WWW::Mechanize 1.72 XSLoader 0.15 base 2.18 bytes 1.04 constant 1.21 feature 1.20 overload 1.13 utf8 1.09 vars 1.02 warnings 1.12 warnings::register 1.02


Comment on Re: Protocol scheme 'http' is not supported
Download Code
Re^2: Protocol scheme 'http' is not supported
by ggerke (Novice) on Jul 28, 2012 at 11:47 UTC
    Well, this is something new:
    $ perl -MDevel::Modlist -MWWW::Mechanize -e 1 HTML::Parser object version 3.55 does not match bootstrap parameter 3. +69 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm +line 253. Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/x86_ +64-linux-thread-multi/HTML/Entities.pm line 152. Compilation failed in require at /usr/lib64/perl5/site_perl/5.8.8/x86_ +64-linux-thread-multi/HTML/TokeParser.pm line 9. BEGIN failed--compilation aborted at /usr/lib64/perl5/site_perl/5.8.8/ +x86_64-linux-thread-multi/HTML/TokeParser.pm line 9. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/WWW/Me +chanize.pm line 134. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/WW +W/Mechanize.pm line 134. Compilation failed in require. BEGIN failed--compilation aborted. AutoLoader 5.60 Carp 1.26 Config DynaLoader 1.05 Encode 2.12 Encode::Alias 2.04 Encode::Config 2.01 Encode::Encoding 2.02 Exporter 5.58 Exporter::Heavy 5.58 Fcntl 1.05 HTML::Entities 3.69 HTML::Form 6.03 HTML::Parser 3.69 HTML::TokeParser HTTP::Date 6.02 HTTP::Headers 6.00 HTTP::Message 6.03 HTTP::Request 6.00 HTTP::Response 6.03 HTTP::Status 6.03 LWP 6.04 LWP::MemberMixin LWP::Protocol 6.00 LWP::UserAgent 6.04 Storable 2.30 Time::Local 1.11 URI 1.60 URI::Escape 3.31 WWW::Mechanize XSLoader 0.15 base 2.07 bytes 1.02 integer 1.00 overload 1.04 vars 1.01 warnings 1.05 warnings::register 1.01

    I checked my path and current directory to be sure I wasn't looking somewhere I didn't mean to be: $ echo $PATH

    /bin:/usr/bin:/sbin:/usr/sbin:/usr/5bin:/adm/bin:/opt/admin/bin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/opt/VRTS/bin $ $ ls usr/* ls: usr/*: No such file or directory $

    Thanks for your time looking...
      IIRC, we used to see something exactly similar (:-D) to this in a previous incarnation when attempting to run perl v5.10 against libraries (badly) pre-built and and installed for v5.8.

      Are you sure that you haven't got a similar situation whereby there's a mismatch between the perl version you're running and the version for/from which the library/ies were built and installed ?

      perl -V might well be of use since, amongst other things, it identifies the library locations perl is attempting to read.

      Just a thought ...

      A user level that continues to overstate my experience :-))

        I'm happy for anybody else's thoughts since mine don't seem to be liking me much at the moment ;)

        When this all started I did have to install WWW:Mechanize in order to get the ball rolling. I don't recall any errors at the end of it but that may have been because I was figuring that it'd just magically work afterwards...

        perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-274.12.1.el5, archname=x86_64-linux-th +read-multi uname='linux x86-003.build.bos.redhat.com 2.6.18-274.12.1.el5 #1 s +mp tue nov 8 21:37:35 est 2011 x86_64 x86_64 x86_64 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOU +RCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 - +mtune=generic -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root +@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dpref +ix=/usr -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dprivlib=/usr/li +b/perl5/5.8.8 -Dsitelib=/usr/lib/perl5/site_perl/5.8.8 -Dvendorlib=/u +sr/lib/perl5/vendor_perl/5.8.8 -Darchlib=/usr/lib64/perl5/5.8.8/x86_6 +4-linux-thread-multi -Dsitearch=/usr/lib64/perl5/site_perl/5.8.8/x86_ +64-linux-thread-multi -Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.8 +/x86_64-linux-thread-multi -Darchname=x86_64-linux-thread-multi -Dven +dorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithre +ads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_g +dbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinpe +rl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_get +hostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_end +protoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_s +etservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/u +sr/bin' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemulti +plicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasin +g -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFI +LE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions +-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -W +declaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-50)', gcco +sandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags ='' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread +-lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - +Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_F +ORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-siz +e=4 -m64 -mtune=generic' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Dec 16 2011 08:20:05 @INC: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984116]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2014-09-17 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (55 votes), past polls