LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 09-17-2004, 03:03 PM   #1
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
perl module Audio::MPEG CPAN install


Trying to install Audio::MPEG from cpan, I get the below error. I understand the module requires libraries for lame and mad; i got and built as suggested.

Thank y'all for your generous help.
matt

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

cpan> install Audio::MPEG
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 17 Sep 2004 09:05:51 GMT
CPAN: HTTP::Date loaded ok
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Running install for module Audio::MPEG
Running make for P/PT/PTIMOF/Audio-MPEG-0.04.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/P/PT/PTIMOF/Audio-MPEG-0.04.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Audio-MPEG-0.04/
Audio-MPEG-0.04/resample.h
Audio-MPEG-0.04/README
Audio-MPEG-0.04/t/
Audio-MPEG-0.04/t/encode.t
Audio-MPEG-0.04/t/wave.t
Audio-MPEG-0.04/t/buffer.t
Audio-MPEG-0.04/t/verify.t
Audio-MPEG-0.04/t/conftest.c
Audio-MPEG-0.04/t/testcase2.mp3
Audio-MPEG-0.04/t/testcase.mp3
Audio-MPEG-0.04/t/base.t
Audio-MPEG-0.04/t/testcase.wav
Audio-MPEG-0.04/encode.h
Audio-MPEG-0.04/audio.h
Audio-MPEG-0.04/MANIFEST
Audio-MPEG-0.04/Changes
Audio-MPEG-0.04/Makefile.PL
Audio-MPEG-0.04/MPEG.xs
Audio-MPEG-0.04/LICENSE
Audio-MPEG-0.04/decode.c
Audio-MPEG-0.04/typemap
Audio-MPEG-0.04/MPEG.pm
Audio-MPEG-0.04/decode.h
Audio-MPEG-0.04/resample.c
Audio-MPEG-0.04/encode.c
Audio-MPEG-0.04/audio.c
Removing previously used /root/.cpan/build/Audio-MPEG-0.04

CPAN.pm: Going to build P/PT/PTIMOF/Audio-MPEG-0.04.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Audio::MPEG
cp MPEG.pm blib/lib/Audio/MPEG.pm
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.6.1/ExtUtils/typemap -typemap typemap MPEG.xs > MPEG.xsc && mv MPEG.xsc MPEG.c
cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC -I/usr/lib/perl/5.6.1/CORE MPEG.c
MPEG.xs: In function `XS_Audio__MPEG__Encode_new':
MPEG.xs:597: warning: assignment from incompatible pointer type
MPEG.xs:612: request for member `num_channels' in something not a structure or union
MPEG.xs:614: request for member `num_channels' in something not a structure or union
MPEG.xs:636: request for member `in_samplerate' in something not a structure or union
MPEG.xs:644: request for member `in_samplerate' in something not a structure or union
MPEG.xs:666: warning: passing arg 1 of `lame_set_out_samplerate' from incompatible pointer type
MPEG.xs:679: warning: passing arg 1 of `lame_set_scale' from incompatible pointer type
MPEG.xs:684: warning: passing arg 1 of `lame_set_quality' from incompatible pointer type
MPEG.xs:693: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type
MPEG.xs:695: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type
MPEG.xs:697: warning: passing arg 1 of `lame_set_mode' from incompatible pointer type
MPEG.xs:708: warning: passing arg 1 of `lame_set_mode_automs' from incompatible pointer type
MPEG.xs:713: request for member `free_format' in something not a structure or union
MPEG.xs:718: request for member `brate' in something not a structure or union
MPEG.xs:723: request for member `compression_ratio' in something not a structure or union
MPEG.xs:725: request for member `brate' in something not a structure or union
MPEG.xs:725: request for member `compression_ratio' in something not a structure or union
MPEG.xs:733: request for member `copyright' in something not a structure or union
MPEG.xs:738: request for member `original' in something not a structure or union
MPEG.xs:743: request for member `error_protection' in something not a structure or union
MPEG.xs:754: request for member `strict_ISO' in something not a structure or union
MPEG.xs:760: request for member `brate' in something not a structure or union
MPEG.xs:760: request for member `compression_ratio' in something not a structure or union
MPEG.xs:766: request for member `VBR' in something not a structure or union
MPEG.xs:768: request for member `VBR' in something not a structure or union
MPEG.xs:770: request for member `VBR' in something not a structure or union
MPEG.xs:772: request for member `VBR' in something not a structure or union
MPEG.xs:774: request for member `VBR' in something not a structure or union
MPEG.xs:784: request for member `VBR_q' in something not a structure or union
MPEG.xs:790: request for member `brate' in something not a structure or union
MPEG.xs:790: request for member `compression_ratio' in something not a structure or union
MPEG.xs:794: request for member `VBR' in something not a structure or union
MPEG.xs:795: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:796: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:797: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:798: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:799: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:800: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:800: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:801: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:802: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:802: request for member `VBR_mean_bitrate_kbps' in something not a structure or union
MPEG.xs:809: request for member `VBR_min_bitrate_kbps' in something not a structure or union
MPEG.xs:812: request for member `VBR_hard_min' in something not a structure or union
MPEG.xs:815: request for member `VBR_max_bitrate_kbps' in something not a structure or union
MPEG.xs:821: request for member `lowpassfreq' in something not a structure or union
MPEG.xs:824: request for member `lowpasswidth' in something not a structure or union
MPEG.xs:827: request for member `lowpassfreq' in something not a structure or union
MPEG.xs:831: request for member `highpassfreq' in something not a structure or union
MPEG.xs:834: request for member `highpasswidth' in something not a structure or union
MPEG.xs:837: request for member `highpassfreq' in something not a structure or union
MPEG.xs:846: warning: passing arg 1 of `lame_init_params' from incompatible pointer type
MPEG.xs: In function `XS_Audio__MPEG__Encode_DESTROY':
MPEG.xs:858: warning: passing arg 1 of `lame_close' from incompatible pointer type
MPEG.xs: In function `XS_Audio__MPEG__Encode_encoder_delay':
MPEG.xs:869: request for member `encoder_delay' in something not a structure or union
MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_float':
MPEG.xs:895: request for member `encoder_delay' in something not a structure or union
MPEG.xs:896: request for member `num_channels' in something not a structure or union
MPEG.xs:897: request for member `encoder_delay' in something not a structure or union
MPEG.xs:898: request for member `encoder_delay' in something not a structure or union
MPEG.xs:904: request for member `num_channels' in something not a structure or union
MPEG.xs: In function `XS_Audio__MPEG__Encode_encode16':
MPEG.xs:930: request for member `encoder_delay' in something not a structure or union
MPEG.xs:931: request for member `num_channels' in something not a structure or union
MPEG.xs:932: request for member `encoder_delay' in something not a structure or union
MPEG.xs:937: request for member `num_channels' in something not a structure or union
MPEG.xs:940: request for member `num_channels' in something not a structure or union
MPEG.xs:940: warning: passing arg 1 of `lame_encode_buffer_interleaved' from incompatible pointer type
MPEG.xs:944: request for member `num_channels' in something not a structure or union
MPEG.xs:944: warning: passing arg 1 of `lame_encode_buffer' from incompatible pointer type
MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_flush':
MPEG.xs:959: warning: passing arg 1 of `lame_encode_flush' from incompatible pointer type
MPEG.xs: In function `XS_Audio__MPEG__Encode_encode_vbr_flush':
MPEG.xs:972: warning: passing arg 1 of `lame_mp3_tags_fid' from incompatible pointer type
make: *** [MPEG.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

cpan>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Perl module via CPAN Sparky.Watson Linux - Software 1 08-24-2005 08:23 PM
Perl CPAN Problem murphy23 Slackware 4 01-24-2005 07:03 AM
perl module Audio::MPEG CPAN install secesh Linux - Software 0 09-17-2004 01:55 PM
perl CPAN LinFreak! Slackware 3 01-03-2004 08:16 AM
Perl:CPAN problem on startup jester_69 Linux - Software 0 10-04-2003 08:29 PM


All times are GMT -5. The time now is 07:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration