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

Discussion in 'Perl Misc' started by ozric99@gmail.com, Aug 10, 2005.

  1. Guest

    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
    , Aug 10, 2005
    #1
    1. Advertising

  2. Guest

    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.
    , Aug 11, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. carl d.
    Replies:
    1
    Views:
    376
    A. Sinan Unur
    May 10, 2005
  2. Replies:
    5
    Views:
    186
    Randy Kobes
    Oct 12, 2005
  3. Vilmos Soti

    File::MMagic doesn't recognize rar file

    Vilmos Soti, May 16, 2006, in forum: Perl Misc
    Replies:
    5
    Views:
    124
    A. Sinan Unur
    May 17, 2006
  4. Ben Bullock
    Replies:
    12
    Views:
    274
    Ben Bullock
    Jul 8, 2008
  5. SVCitian
    Replies:
    1
    Views:
    925
    SVCitian
    Oct 22, 2010
Loading...

Share This Page