FAQ
Hello

I repeatedly run into problems when installing modules and I havent
yet figured out a way to consistently resolve them.

I want to install Audio::File but the tests fail

Any help is greatly appreciated.

david

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Audio-File....1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg
header - invalid file?
Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid file?
Use of uninitialized value in int at
/root/.cpan/build/Audio-File-0.11-VpGjWP/blib/lib/Audio/File/AudioProperties.pm
line 62.

# Failed test 'Audio::File::Ogg::AudioProperties::length()'
# at t/Audio-File.t line 55.
# got: '0'
# expected: '4'
Argument "03/03/03/03" isn't numeric in addition (+) at
/root/.cpan/build/Audio-File-0.11-VpGjWP/blib/lib/Audio/File/Tag.pm
line 179.
# Looks like you failed 1 test of 49.
t/Audio-File.... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/49 subtests


--
David Schmidt | http://www.fm5.at

Search Discussions

  • Owen at Mar 22, 2009 at 7:56 pm

    Hello

    I repeatedly run into problems when installing modules and I havent
    yet figured out a way to consistently resolve them.

    I want to install Audio::File but the tests fail

    Any help is greatly appreciated.

    david

    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/Audio-File....1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg
    header - invalid file?
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
    file?
    # Failed test 'Audio::File::Ogg::AudioProperties::length()'

    My guess is that you are missing a header file.

    If you are using a distribution based system, look for something like
    libogg-dev or/and libvorbis-dev



    Owen
  • David Schmidt at Mar 23, 2009 at 6:52 pm

    On Sun, Mar 22, 2009 at 8:56 PM, Owen wrote:
    Hello

    I repeatedly run into problems when installing modules and I havent
    yet figured out a way to consistently resolve them.

    I want to install Audio::File but the tests fail

    Any help is greatly appreciated.

    david

    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/Audio-File....1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an ogg
    header - invalid file?
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
    file?
    #   Failed test 'Audio::File::Ogg::AudioProperties::length()'

    My guess is that you are missing a header file.

    If you are using a distribution based system, look for something like
    libogg-dev or/and libvorbis-dev
    Thank you for your reply,
    I did that already but without success.

    aptitude search libogg
    i A libogg-dev - Ogg Bitstream Library
    Development
    p libogg-ocaml - OCaml bindings for the
    Ogg bitstream library
    p libogg-ocaml-dev - OCaml bindings for the
    Ogg bitstream library
    i libogg-vorbis-decoder-perl - An object-oriented Ogg
    Vorbis decoder
    i libogg-vorbis-header-perl - perl interface to Ogg
    Vorbis information and commen
    i libogg-vorbis-header-pureperl-perl - A pure Perl interface
    to Ogg Vorbis information fie
    i libogg-vorbis-perl - Perl extension for Ogg
    Vorbis streams
    i libogg0 - Ogg Bitstream Library
    v liboggz-dev -
    i liboggz1 - convenience interface
    for Ogg stream I/O
    p liboggz1-dbg - convenience interface
    for Ogg stream I/O debugging
    i liboggz1-dev - convenience interface
    for Ogg stream I/O (developme

    In case you are not familiar with apt/debian, those packages with "i"
    in the first column are installed on my system.

    I just wonder why cpan cant tell me what libs are missing or give any
    other clue about whats going wrong.

    Anyway, Audio::File is still not working




    --
    David Schmidt | http://www.fm5.at
  • Owen at Mar 23, 2009 at 7:33 pm

    On Sun, Mar 22, 2009 at 8:56 PM, Owen wrote:
    Hello

    I repeatedly run into problems when installing modules and I havent
    yet figured out a way to consistently resolve them.

    I want to install Audio::File but the tests fail

    Any help is greatly appreciated.

    david

    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/Audio-File....1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an
    ogg
    header - invalid file?
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
    file?
    #   Failed test 'Audio::File::Ogg::AudioProperties::length()'

    My guess is that you are missing a header file.

    If you are using a distribution based system, look for something
    like
    libogg-dev or/and libvorbis-dev
    Thank you for your reply,
    I did that already but without success.

    aptitude search libogg
    i A libogg-dev - Ogg Bitstream Library
    Development
    p libogg-ocaml - OCaml bindings for the
    Ogg bitstream library
    p libogg-ocaml-dev - OCaml bindings for the
    Ogg bitstream library
    i libogg-vorbis-decoder-perl - An object-oriented Ogg
    Vorbis decoder
    i libogg-vorbis-header-perl - perl interface to Ogg
    Vorbis information and commen
    i libogg-vorbis-header-pureperl-perl - A pure Perl interface
    to Ogg Vorbis information fie
    i libogg-vorbis-perl - Perl extension for Ogg
    Vorbis streams
    i libogg0 - Ogg Bitstream Library
    v liboggz-dev -
    i liboggz1 - convenience interface
    for Ogg stream I/O
    p liboggz1-dbg - convenience interface
    for Ogg stream I/O debugging
    i liboggz1-dev - convenience interface
    for Ogg stream I/O (developme

    In case you are not familiar with apt/debian, those packages with "i"
    in the first column are installed on my system.

    I just wonder why cpan cant tell me what libs are missing or give any
    other clue about whats going wrong.

    Anyway, Audio::File is still not working




    Fair enough, just looking at this Ubuntu pakage system, I see there is
    a liubaudio-file-perl

    Perl audio file abstraction library
    Audio::File abstracts a single audio file, independent of its format.
    Using this module you can access a files meta-info like title, album,
    etc. as well as the files audio-properties like its length and bitrate.


    Might be better to just install the prepackaged program?



    Owen
  • David Schmidt at Mar 24, 2009 at 3:08 am
    Thanks for your help,

    I installed said package and after that tried to install
    Catalyst::Plugin::Upload::Audio::File, the module I actually want (it
    depends on Audio::File) and got a very similiar error.

    Writing Makefile for Catalyst::Plugin::Upload::Audio::File
    cp lib/Catalyst/Plugin/Upload/Audio/File.pm
    blib/lib/Catalyst/Plugin/Upload/Audio/File.pm
    Manifying blib/man3/Catalyst::Plugin::Upload::Audio::File.3pm
    NHEINRIC/Catalyst-Plugin-Upload-Audio-File-0.01.tar.gz
    /usr/bin/make -- OK
    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
    t/00_load.....1/1 # Testing Catalyst::Plugin::Upload::Audio::File
    0.01, Perl 5.008008, /usr/bin/perl
    t/00_load.....ok
    t/01_basic....1/48
    # Failed test 'test.flac, bitrate value matches'
    # at t/01_basic.t line 78.
    # got: '94910'
    # expected: '91081'
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid file?
    Use of uninitialized value in int at
    /usr/share/perl5/Audio/File/AudioProperties.pm line 62.
    Use of uninitialized value in int at
    /usr/share/perl5/Audio/File/AudioProperties.pm line 62.
    Use of uninitialized value in int at
    /usr/share/perl5/Audio/File/AudioProperties.pm line 62.
    Use of uninitialized value in int at
    /usr/share/perl5/Audio/File/AudioProperties.pm line 62.
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid file?
    t/01_basic....35/48 # Looks like you failed 1 test of 48.
    t/01_basic.... Dubious, test returned 1 (wstat 256, 0x100)
    On Sun, Mar 22, 2009 at 10:48 PM, Owen wrote:
    On Sun, Mar 22, 2009 at 8:56 PM, Owen wrote:
    Hello

    I repeatedly run into problems when installing modules and I havent
    yet figured out a way to consistently resolve them.

    I want to install Audio::File but the tests fail

    Any help is greatly appreciated.

    david

    Running make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/Audio-File....1/49 Ogg::Vorbis::Header::PurePerl: Didn't find an
    ogg
    header - invalid file?
    Ogg::Vorbis::Header::PurePerl: Didn't find an ogg header - invalid
    file?
    #   Failed test 'Audio::File::Ogg::AudioProperties::length()'

    My guess is that you are missing a header file.

    If you are using a distribution based system, look for something
    like
    libogg-dev or/and libvorbis-dev
    Thank you for your reply,
    I did that already but without success.

    aptitude search libogg
    i A libogg-dev                               - Ogg Bitstream Library
    Development
    p   libogg-ocaml                             - OCaml bindings for the
    Ogg bitstream library
    p   libogg-ocaml-dev                         - OCaml bindings for the
    Ogg bitstream library
    i   libogg-vorbis-decoder-perl               - An object-oriented Ogg
    Vorbis decoder
    i   libogg-vorbis-header-perl                - perl interface to Ogg
    Vorbis information and commen
    i   libogg-vorbis-header-pureperl-perl       - A pure Perl interface
    to Ogg Vorbis information fie
    i   libogg-vorbis-perl                       - Perl extension for Ogg
    Vorbis streams
    i   libogg0                                  - Ogg Bitstream Library
    v   liboggz-dev                              -
    i   liboggz1                                 - convenience interface
    for Ogg stream I/O
    p   liboggz1-dbg                             - convenience interface
    for Ogg stream I/O debugging
    i   liboggz1-dev                             - convenience interface
    for Ogg stream I/O (developme

    In case you are not familiar with apt/debian, those packages with "i"
    in the first column are installed on my system.

    I just wonder why cpan cant tell me what libs are missing or give any
    other clue about whats going wrong.

    Anyway, Audio::File is still not working




    Fair enough, just looking at this Ubuntu pakage system, I see there is
    a liubaudio-file-perl

    Perl audio file abstraction library
    Audio::File abstracts a single audio file, independent of its format.
    Using this module you can access a files meta-info like title, album,
    etc. as well as the files audio-properties like its length and bitrate.


    Might be better to just install the prepackaged program?



    Owen


    --
    David Schmidt | http://www.fm5.at

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbeginners @
categoriesperl
postedMar 22, '09 at 4:19p
activeMar 24, '09 at 3:08a
posts5
users2
websiteperl.org

2 users in discussion

David Schmidt: 3 posts Owen: 2 posts

People

Translate

site design / logo © 2022 Grokbase