CPAN install of File::MMagic fails with [Build] Error 9

O

ozric99

Trying to install the CPAN module File::MMagic with a fresh install of
debian testing. It fails with the following error messages. Any idea
what is wrong?

sfa:~# uname -a
Linux sfa 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux
sfa:~# perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install File::MMagic
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 10 Aug 2005 03:09:55 GMT
Running install for module File::MMagic
Running make for K/KN/KNOK/File-MMagic-1.24.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/root/.cpan/sources/authors/id/K/KN/KNOK/File-MMagic-1.24.tar.gz ok
Scanning cache /root/.cpan/build for sizes
File-MMagic-1.24/
File-MMagic-1.24/t/
File-MMagic-1.24/t/01-selfcheck.t
File-MMagic-1.24/t/03-typecheck.t
File-MMagic-1.24/t/04-string-mod.t
File-MMagic-1.24/t/test-magic
File-MMagic-1.24/t/test.html
File-MMagic-1.24/t/02-extmagic.t
File-MMagic-1.24/META.yml
File-MMagic-1.24/COPYING
File-MMagic-1.24/README.en
File-MMagic-1.24/MANIFEST
File-MMagic-1.24/ChangeLog
File-MMagic-1.24/MMagic.pm
File-MMagic-1.24/README.ja
File-MMagic-1.24/Makefile.PL
File-MMagic-1.24/Build.PL
Removing previously used /root/.cpan/build/File-MMagic-1.24

CPAN.pm: Going to build K/KN/KNOK/File-MMagic-1.24.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for File::MMagic
cp MMagic.pm blib/lib/File/MMagic.pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build
Too early to specify a build action 'Build'. Do 'Build Build' instead.
Manifying blib/man3/File::MMagic.3pm
make: *** [Build] Error 9
make: *** Waiting for unfinished jobs....
/usr/bin/make -j3 -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible


My CPAN config:

cpan> o conf
CPAN::Config options from /etc/perl/CPAN/Config.pm:
commit Commit changes to disk
defaults Reload defaults from disk
init Interactive setting of all options

build_cache 50
build_dir /root/.cpan/build
cache_metadata 1
cpan_home /root/.cpan
cpan_version_check 1
dontload_hash
ftp /usr/bin/ftp
ftp_proxy
getcwd cwd
gpg /usr/bin/gpg
gzip /bin/gzip
histfile /root/.cpan/histfile
histsize 100
http_proxy
inactivity_timeout 0
index_expire 1
inhibit_startup_message 0
keep_source_where /root/.cpan/sources
lynx /usr/bin/lynx
make /usr/bin/make
make_arg -j3
make_install_arg UNINST=1
makepl_arg INSTALLDIRS=site
ncftpget /usr/bin/ncftpget
no_proxy
pager /usr/bin/less
prerequisites_policy ask
scan_cache atstart
shell /bin/bash
tar /bin/tar
term_is_latin 1
unzip /usr/bin/unzip
urllist
http://www.perl.com/CPAN/
http://mirror.hyperian.net/CPAN
http://cpan.mirrors.nks.net/
http://mirrors.cloud9.net/CPAN/
http://www.uberlan.net/CPAN
wget /usr/bin/wget
 
O

ozric99

Tried installing it manually in bash but got the same error so I looked
in the MakeFile.pl and saw the line

use ExtUtils::MakeMaker;

Figuring this might be the problem I installed that package manually
and then tried File::MMagic again. It installed fine.

No idea why it defaults to a broken state though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top