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 <rc...@pcug.org.au> wrote:
>> On Sun, Mar 22, 2009 at 8:56 PM, Owen <rc...@pcug.org.au> 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

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to