LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2009, 08:50 AM   #1
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,846

Rep: Reputation: 128Reputation: 128
cpan2tgz error on installing module: Failed to find module: build_requires


I'm trying to install a module called HTML::Entities using cpan2tgz on a fresh install of Slackware 12.2. I've built cpan2tgz from the SlackBuild on SlackBuilds.org and completed the configuration when first running cpan2tgz (the only odd thing there was that I didn't have a program called applypatch anywhere on my install to input when asked for it...).

When trying to install the HTML::Entities module using cpan2tgz HTML::Entities, I get the following:
Code:
root@slack:~# cpan2tgz HTML::Entities 
CPAN: Term::ANSIColor loaded ok (v1.12)
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 06 Jan 2009 02:28:57 GMT
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
CPAN: Digest::SHA loaded ok (v5.45)

  CPAN: Module::Signature security checks disabled because Module::Signature
  not installed.  Please consider installing the Module::Signature module.
  You may also need to be able to connect over the Internet to the public
  keyservers like pgp.mit.edu (port 11371).

CPAN: Time::HiRes loaded ok (v1.9711)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser-3.59.tar.gz ok
HTML-Parser-3.59/
HTML-Parser-3.59/Changes
HTML-Parser-3.59/eg/
HTML-Parser-3.59/eg/hanchors
HTML-Parser-3.59/eg/hdump
HTML-Parser-3.59/eg/hform
HTML-Parser-3.59/eg/hlc
HTML-Parser-3.59/eg/hrefsub
HTML-Parser-3.59/eg/hstrip
HTML-Parser-3.59/eg/htext
HTML-Parser-3.59/eg/htextsub
HTML-Parser-3.59/eg/htitle
HTML-Parser-3.59/hints/
HTML-Parser-3.59/hints/solaris.pl
HTML-Parser-3.59/hparser.c
HTML-Parser-3.59/hparser.h
HTML-Parser-3.59/lib/
HTML-Parser-3.59/lib/HTML/
HTML-Parser-3.59/lib/HTML/Entities.pm
HTML-Parser-3.59/lib/HTML/Filter.pm
HTML-Parser-3.59/lib/HTML/HeadParser.pm
HTML-Parser-3.59/lib/HTML/LinkExtor.pm
HTML-Parser-3.59/lib/HTML/PullParser.pm
HTML-Parser-3.59/lib/HTML/TokeParser.pm
HTML-Parser-3.59/Makefile.PL
HTML-Parser-3.59/MANIFEST
HTML-Parser-3.59/META.yml
HTML-Parser-3.59/mkhctype
HTML-Parser-3.59/mkpfunc
HTML-Parser-3.59/Parser.pm
HTML-Parser-3.59/Parser.xs
HTML-Parser-3.59/README
HTML-Parser-3.59/t/
HTML-Parser-3.59/t/api_version.t
HTML-Parser-3.59/t/argspec-bad.t
HTML-Parser-3.59/t/argspec.t
HTML-Parser-3.59/t/argspec2.t
HTML-Parser-3.59/t/attr-encoded.t
HTML-Parser-3.59/t/callback.t
HTML-Parser-3.59/t/case-sensitive.t
HTML-Parser-3.59/t/cases.t
HTML-Parser-3.59/t/comment.t
HTML-Parser-3.59/t/crashme.t
HTML-Parser-3.59/t/declaration.t
HTML-Parser-3.59/t/default.t
HTML-Parser-3.59/t/document.t
HTML-Parser-3.59/t/dtext.t
HTML-Parser-3.59/t/entities.t
HTML-Parser-3.59/t/entities2.t
HTML-Parser-3.59/t/filter-methods.t
HTML-Parser-3.59/t/filter.t
HTML-Parser-3.59/t/handler-eof.t
HTML-Parser-3.59/t/handler.t
HTML-Parser-3.59/t/headparser-http.t
HTML-Parser-3.59/t/headparser.t
HTML-Parser-3.59/t/ignore.t
HTML-Parser-3.59/t/largetags.t
HTML-Parser-3.59/t/linkextor-base.t
HTML-Parser-3.59/t/linkextor-rel.t
HTML-Parser-3.59/t/magic.t
HTML-Parser-3.59/t/marked-sect.t
HTML-Parser-3.59/t/msie-compat.t
HTML-Parser-3.59/t/offset.t
HTML-Parser-3.59/t/options.t
HTML-Parser-3.59/t/parsefile.t
HTML-Parser-3.59/t/parser.t
HTML-Parser-3.59/t/plaintext.t
HTML-Parser-3.59/t/pod.t
HTML-Parser-3.59/t/process.t
HTML-Parser-3.59/t/pullparser.t
HTML-Parser-3.59/t/script.t
HTML-Parser-3.59/t/skipped-text.t
HTML-Parser-3.59/t/stack-realloc.t
HTML-Parser-3.59/t/textarea.t
HTML-Parser-3.59/t/threads.t
HTML-Parser-3.59/t/tokeparser.t
HTML-Parser-3.59/t/uentities.t
HTML-Parser-3.59/t/unbroken-text.t
HTML-Parser-3.59/t/unicode-bom.t
HTML-Parser-3.59/t/unicode.t
HTML-Parser-3.59/t/xml-mode.t
HTML-Parser-3.59/TODO
HTML-Parser-3.59/tokenpos.h
HTML-Parser-3.59/typemap
HTML-Parser-3.59/util.c
CPAN: File::Temp loaded ok (v0.18)
Warning (usually harmless): 'YAML' not installed, will not store persistent state


Processing HTML::Entities...

Running make for G/GA/GAAS/HTML-Parser-3.59.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store persistent state

  CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.59.tar.gz


Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Parser
Could not read '/root/.cpan/build/HTML-Parser-3.59-ZadaaQ/META.yml'. Falling back to other methods to determine prerequisites
---- Unsatisfied dependencies detected during ----
----       GAAS/HTML-Parser-3.59.tar.gz       ----
    HTML::Tagset [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] 

handling 2 dependencies for HTML::Entities: build_requires, requires

Strange distribution name [build_requires]
root@slack:~#
If I try to build any other module, I end up with the same error. I had no problems installing any modules on 12.1, but haven't succeeded in getting any built using cpan2tgz on 12.2 (I've tried two machines with clean installs).

Any thoughts?

Thanks.
 
Old 01-07-2009, 10:37 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Please send the full output of "/path_to/cpan2tgz.Slackbuild" command
 
Old 01-07-2009, 10:59 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,846

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Didier Spaier View Post
Please send the full output of "/path_to/cpan2tgz.Slackbuild" command
http://slackbuilds.org/slackbuilds/1...tgz.SlackBuild

I've since discovered that SlackBuilds.org have build scripts for all the modules I required (HTML::Entities and HTML::Cookies, as well as their dependencies), so I don't need cpan2tgz at the moment as the script I wanted to work is now satisfied!

For future information, I needed to build the following from SlackBuilds.org:

Compress-Raw-Zlib-2.011
Compress-Zlib-2.011
IO-Compress-Base-2.011
IO-Compress-Zlib-2.011
libwww-perl-5.819
perl-extutils-cbuilder-0.24
perl-extutils-parsexs-2.19
perl-html-parser-3.56
perl-html-tagset-3.20
perl-module-build-0.30
yaml-0.66 (not strictly necessary)
 
Old 01-07-2009, 11:20 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Sorry, I meant the output of command you issue to build the cpan2tgz package using the SlackBuild.

Someday I will try to learn English

Happy you got all you needed anyway.
 
Old 01-08-2009, 03:56 AM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,846

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Didier Spaier View Post
Sorry, I meant the output of command you issue to build the cpan2tgz package using the SlackBuild.

Someday I will try to learn English

Happy you got all you needed anyway.
No, it's my fault, I misread your post. Still, it's all sorted now, so it doesn't matter!
 
Old 01-08-2009, 04:22 AM   #6
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 441

Rep: Reputation: 51
Because there are some changes in CPAN API in the new Perl 5.10.0 that comes with Slackware 12.2, you have to use updated version of cpan2tgz also.
The latest cpan2tgz version is 0.6.5 .
 
Old 01-08-2009, 05:24 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,846

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by dunric View Post
Because there are some changes in CPAN API in the new Perl 5.10.0 that comes with Slackware 12.2, you have to use updated version of cpan2tgz also.
The latest cpan2tgz version is 0.6.5 .
That makes sense, I suppose. I was just using SlackBuilds.org for all my needs, but I'll email the SlackBuilds.org cpan2tgz SlackBuild maintainer to see if the version can be upgraded so it works with 12.2.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Can I Force Removal of a Kernel Module (ERROR: Module usb_storage is in use) klearview Linux - Software 2 10-10-2008 09:20 PM
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 03:50 AM
Failed to load module "ati" (module does not exist, after upgrad from Redhat 3 to 5. perrym8 Red Hat 2 07-24-2007 10:14 AM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 07:29 AM
(EE) Failed to load module error Seventh Linux - Newbie 8 02-23-2004 02:16 PM


All times are GMT -5. The time now is 01:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration