Click here to get back home

Trying to install Mozilla::DOM and ultimately Mozilla::Mechanize

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Trying to install Mozilla::DOM and ultimately Mozilla::Mechanize h4cks4w 04-13-2007
Posted by h4cks4w on April 13, 2007, 2:12 pm
Please log in for more thread options


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


Posted by Sherm Pendley on April 13, 2007, 4:09 pm
Please log in for more thread options


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

Posted by h4cks4w on April 16, 2007, 10:19 am
Please log in for more thread options


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/Gtk2MozEmbed.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


Similar ThreadsPosted
Help with Mechanize January 15, 2007, 3:14 pm
WWW::Mechanize v 1.03_01 August 3, 2004, 9:57 pm
Mechanize question November 8, 2004, 10:57 pm
WWW:Mechanize with Menu September 9, 2006, 9:13 pm
WWW:Mechanize problem? January 29, 2007, 7:00 am
WWW::Mechanize "There is no Form named (...)" December 8, 2004, 5:58 am
win32::ie::mechanize PROBLEM December 10, 2004, 7:06 am
WWW::Mechanize and NTLM authentication December 21, 2004, 3:55 pm
www::mechanize $mech->select February 4, 2005, 5:01 pm
WWW::Mechanize cannot find the form. February 14, 2006, 9:04 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap