Skip Menu |

This queue is for tickets about the Audio-FLAC-Header CPAN distribution.

Report information
The Basics
Id: 34332
Status: resolved
Priority: 0/
Queue: Audio-FLAC-Header

People
Owner: Nobody in particular
Requestors: bvictor [...] atlasnw.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: error on make Audio-FLAC-Header-2.0
Date: Fri, 21 Mar 2008 22:30:47 +0300
To: bug-Audio-FLAC-Header [...] rt.cpan.org
From: Виктор Белоус <bvictor [...] atlasnw.ru>
Hi! I can't compile the programm. I got the error Larisa/root22:01:46/usr/local/src/Audio-FLAC-Header-2.0#make cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -Wall -DVERSION=\"2.0\" -DXS_VERSION=\"2.0\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" Header.c cc: illegal option -Wall make: *** [Header.o] Error 1 Larisa/root22:02:58/usr/local/src/Audio-FLAC-Header-2.0#perl -v This is perl, v5.8.4 built for i86pc-solaris-64int (with 29 registered patches, see perl -V for more detail) Copyright 1987-2004, Larry Wall Larisa/root22:26:17/usr/local/src/Audio-FLAC-Header-2.0#uname -a SunOS Larisa 5.10 Generic_127112-10 i86pc i386 i86pc Larisa/root22:28:22/usr/local/src/Audio-FLAC-Header-2.0#cc -V cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12 If you need any additional information, I will be glad to give it for you. Thanks Victor Belous
From: daniel [...] cpan.org
Remove -Wall from Makefile.PL or use gcc and not Sun's compiler. *Shakes head in disbelief that Sun doesn't support -Wall*
From: robin-bitcard [...] robinbowes.com
On Fri Mar 21 15:37:26 2008, DANIEL wrote: Show quoted text
> Remove -Wall from Makefile.PL or use gcc and not Sun's compiler. > > *Shakes head in disbelief that Sun doesn't support -Wall*
Hey Dan, I just ran into the same issue. I removed "-Wall" from Makefile.PL and it builds OK but fails one of the tests: # make test PERL_DL_NONLAZY=1 /opt/coolstack/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/application-id.t t/basic.t t/id3tagged.t t/md5.t t/picture.t t/pod-coverage.t t/pod.t t/write.t t/application-id......ok t/basic...............1/33 # Failed test at t/basic.t line 45. # Looks like you failed 1 test of 33. t/basic............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/33 subtests t/id3tagged...........ok t/md5.................ok t/picture.............ok t/pod-coverage........skipped: Test::Pod::Coverage required for testing pod coverage t/pod.................skipped: Test::Pod 1.14 required for testing POD t/write...............ok Test Summary Report ------------------- t/basic.t (Wstat: 256 Tests: 33 Failed: 1) Failed test: 26 Non-zero exit status: 1 Files=8, Tests=74, 0 wallclock secs ( 0.05 usr 0.04 sys + 0.34 cusr 0.08 csys = 0.51 CPU) Result: FAIL Failed 1/8 test programs. 1/74 subtests failed. *** Error code 29 make: Fatal error: Command failed for target `test_dynamic' This is perl 5.8.8 from Sun Coolstack on OpenSolaris SXVE b83. R.
Fixed! Now on github: http://github.com/dsully/perl-audio-flac-header/tree/master I'll push out a v2.4 to CPAN at some point. Only adds -Wall if the compiler is GCC