Trying to install Mozilla::DOM and ultimately Mozilla::Mechanize
am 13.04.2007 20:12:03 von h4ck4w
I've been having a not-so-fun time trying to install
Mozilla::Mechanize. I'm trying to install through the CPAN module,
but when I do so I get an error report a mile long. I'm trying to
install Mozilla::DOM first now, but I'm running into this:
*snip*
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp -noprototypes -
C++ -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap /
root/.cpan/build/Mozilla-DOM-0.20/mozilladom.typemap xs/DOM.xs > xs/
DOM.xsc && mv xs/DOM.xsc xs/DOM.c
make: *** No rule to make target `/usr/lib/perl5/5.8.7/i386-linux/CORE/
EXTERN.h', needed by `xs/DOM.o'. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
SLANNING/Mozilla-DOM-0.20.tar.gz : make NO
*snip*
I've Googled and stared at this for a while now. Not sure what to
do. Any thoughts? Thanks for the help.
Todd
Re: Trying to install Mozilla::DOM and ultimately Mozilla::Mechanize
am 13.04.2007 22:09:02 von Sherm Pendley
h4cks4w@gmail.com writes:
> make: *** No rule to make target `/usr/lib/perl5/5.8.7/i386-linux/CORE/
> EXTERN.h', needed by `xs/DOM.o'. Stop.
Looks like you're using an OS that divides its Perl into perl and perl-dev
packages, but you haven't installed the perl-dev package.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Re: Trying to install Mozilla::DOM and ultimately Mozilla::Mechanize
am 16.04.2007 16:19:11 von h4ck4w
Great, that got me a lot further. Now I can install Mozilla::DOM.
But when I try to install Mozilla::Mechanize I get:
*snip*
Creating new 'Build' script for 'Mozilla-Mechanize' version '0.05'
CPAN: YAML loaded ok
/usr/bin/perl5.8.7 Build --makefile_env_macros 1
Copying lib/Mozilla/Mechanize/Image.pm -> blib/lib/Mozilla/Mechanize/
Image.pm
Copying lib/Mozilla/Mechanize.pm -> blib/lib/Mozilla/Mechanize.pm
Copying lib/Mozilla/Mechanize/Form.pm -> blib/lib/Mozilla/Mechanize/
Form.pm
Copying lib/Mozilla/Mechanize/Link.pm -> blib/lib/Mozilla/Mechanize/
Link.pm
Copying lib/Mozilla/Mechanize/Input.pm -> blib/lib/Mozilla/Mechanize/
Input.pm
Copying lib/Mozilla/Mechanize/Browser.pm -> blib/lib/Mozilla/Mechanize/
Browser.pm
Copying lib/Mozilla/Mechanize/Browser/Gtk2MozEmbed.pm -> blib/lib/
Mozilla/Mechanize/Browser/Gtk2MozEmbed.pm
Manifying blib/lib/Mozilla/Mechanize/Browser/Gtk2MozEmbed.pm -> blib/
libdoc/Mozilla::Mechanize::Browser::Gtk2MozEmbed.3pm
Manifying blib/lib/Mozilla/Mechanize/Link.pm -> blib/libdoc/
Mozilla::Mechanize::Link.3pm
Manifying blib/lib/Mozilla/Mechanize.pm -> blib/libdoc/
Mozilla::Mechanize.3pm
Manifying blib/lib/Mozilla/Mechanize/Browser.pm -> blib/libdoc/
Mozilla::Mechanize::Browser.3pm
Manifying blib/lib/Mozilla/Mechanize/Form.pm -> blib/libdoc/
Mozilla::Mechanize::Form.3pm
Manifying blib/lib/Mozilla/Mechanize/Image.pm -> blib/libdoc/
Mozilla::Mechanize::Image.3pm
Manifying blib/lib/Mozilla/Mechanize/Input.pm -> blib/libdoc/
Mozilla::Mechanize::Input.3pm
/usr/bin/make -- OK
Running make test
/usr/bin/perl5.8.7 Build --makefile_env_macros 1 test
t/00-props........NOK 1/11
# Failed test 'use Mozilla::Mechanize;'
# at t/00-props.t line 8.
# Tried to use 'Mozilla::Mechanize'.
# Error: Can't load '/usr/lib/perl5/vendor_perl/5.8.6/i386-linux/
auto/Gtk2/MozEmbed/MozEmbed.so' for module Gtk2::MozEmbed:
libgtkembedmoz.so: cannot open shared object file: No such file or
directory at /usr/lib/perl5/5.8.7/i386-linux/DynaLoader.pm line 230.
# at /root/.cpan/build/Mozilla-Mechanize-0.05/blib/lib/Mozilla/
Mechanize/Browser/Gtk2MozEmbed.pm line 7
# Compilation failed in require at /root/.cpan/build/Mozilla-
Mechanize-0.05/blib/lib/Mozilla/Mechanize/Browser/Gtk2MozEmb ed.pm line
7.
# BEGIN failed--compilation aborted at t/00-props.t line 8.
# Compilation failed in require at /root/.cpan/build/Mozilla-
Mechanize-0.05/blib/lib/Mozilla/Mechanize/Browser.pm line 8.
# BEGIN failed--compilation aborted at /root/.cpan/build/Mozilla-
Mechanize-0.05/blib/lib/Mozilla/Mechanize/Browser.pm line 8.
# Compilation failed in require at /root/.cpan/build/Mozilla-
Mechanize-0.05/blib/lib/Mozilla/Mechanize.pm line 12.
# BEGIN failed--compilation aborted at /root/.cpan/build/Mozilla-
Mechanize-0.05/blib/lib/Mozilla/Mechanize.pm line 12.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
*snip*
I checked and I do have /usr/lib/perl5/vendor_perl/5.8.6/i386-linux/
auto/Gtk2/MozEmbed/MozEmbed.so and also libgtkembedmoz.so in a couple
different places. I don't know if this matters, but I have Perl
v5.8.7, not v5.8.6. Also, I'm running Mandvira 2006. Any help anyone
can provide is much appreciated. Thanks.
Todd