Perl Audio::Mad not installable in FC4, help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I only include this message in this group because this is only an issue
in FC4.

I am trying to install the Perl module Audio::Mad from CPAN.  It fails
on the compile of "Mad.xs" and gives errors speaking about "lvalue" etc
(I have included the errors at the end of this message).

I'm not a C programmer (hence Perl) and have no idea how to fix this.  I
never had a problem installing on previous versions of Fedora Core.  I
attempted to contact the author of the module, but I have yet to get a
response, and I doubt I will considering the last time the module was
updated was three years ago; and I doubt the author is checking his SF
email.

I noticed in the FC4 release notes about gcc 4.0 having changes
reguarding "lvalues", but I haven't a clue how to fix it.

This is hindering development work as I need that module.  If anyone
could please help, I'd be most thankful.

----BEGIN ERRORS----

[root@music Audio-Mad-0.6]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Audio::Mad
[root@music Audio-Mad-0.6]# make
cp lib/Audio/Mad/Util.pm blib/lib/Audio/Mad/Util.pm
cp lib/Audio/Mad/Frame.pm blib/lib/Audio/Mad/Frame.pm
cp lib/Audio/Mad/Dither.pm blib/lib/Audio/Mad/Dither.pm
cp lib/Audio/Mad/Synth.pm blib/lib/Audio/Mad/Synth.pm
cp Mad.pm blib/lib/Audio/Mad.pm
cp lib/Audio/Mad/Stream.pm blib/lib/Audio/Mad/Stream.pm
cp lib/Audio/Mad/Resample.pm blib/lib/Audio/Mad/Resample.pm
cp lib/Audio/Mad/Timer.pm blib/lib/Audio/Mad/Timer.pm
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O3 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=athlon-xp -mmmx -msse -m3dnow -fasynchronous-unwind-tables
-DVERSION=\"0.6\" -DXS_VERSION=\"0.6\" -fPIC
"-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE"   resample.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O3 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=athlon-xp -mmmx -msse -m3dnow -fasynchronous-unwind-tables
-DVERSION=\"0.6\" -DXS_VERSION=\"0.6\" -fPIC
"-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE"   dither.c
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap  Mad.xs > Mad.xsc
&& mv Mad.xsc Mad.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O3 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-m32 -march=athlon-xp -mmmx -msse -m3dnow -fasynchronous-unwind-tables
-DVERSION=\"0.6\" -DXS_VERSION=\"0.6\" -fPIC
"-I/usr/lib/perl5/5.8.6/i386-linux-thread-multi/CORE"   Mad.c
Mad.xs: In function âXS_Audio__Mad__Stream_newâ:
Mad.xs:44: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Stream_bufferâ:
Mad.xs:60: warning: pointer targets in assignment differ in signedness
Mad.xs: In function âXS_Audio__Mad__Frame_newâ:
Mad.xs:137: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Frame_durationâ:
Mad.xs:203: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Synth_newâ:
Mad.xs:229: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Timer_newâ:
Mad.xs:282: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Timer_new_copyâ:
Mad.xs:294: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Resample_newâ:
Mad.xs:399: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Resample_resampleâ:
Mad.xs:453: error: invalid lvalue in assignment
Mad.xs:468: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Dither_newâ:
Mad.xs:490: error: invalid lvalue in assignment
Mad.xs: In function âXS_Audio__Mad__Dither_ditherâ:
Mad.xs:525: error: invalid lvalue in assignment
Mad.xs:531: error: invalid lvalue in assignment
Mad.xs:536: warning: pointer targets in passing argument 2 of
âPerl_newSVpvnâ differ in signedness
make: *** [Mad.o] Error 1

----END ERRORS----



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux