cpan2tgz error on installing module: Failed to find module: build_requires
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
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:
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 .
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.