Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: ceverett [...] ceverett.com
Cc:
AdminCc:

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



Subject: Can't build Audio::FLAC::Header
I think this is possibly a dependency issue???? [16:10 - 1.18] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ 5. perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Audio::FLAC::Header [16:10 - 1.07] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ 6. make cp Header.pm blib/lib/Audio/FLAC/Header.pm /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap Header.xs > Header.xsc && mv Header.xsc Header.c cc -c -Wall -O2 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" -fPIC "-I/usr/lib/perl/5.8/CORE" -O Header.c Header.xs:31:22: error: FLAC/all.h: No such file or directory Header.xs:53: error: syntax error before ‘FLAC__StreamMetadata’ Header.xs: In function ‘_read_metadata’: Header.xs:58: error: ‘block’ undeclared (first use in this function) Header.xs:58: error: (Each undeclared identifier is reported only once Header.xs:58: error: for each function it appears in.) Header.xs:60: error: ‘FLAC__METADATA_TYPE_STREAMINFO’ undeclared (first use in this function) Header.xs:90: error: ‘self’ undeclared (first use in this function) Header.xs:98: error: ‘path’ undeclared (first use in this function) Header.xs:115: error: ‘FLAC__METADATA_TYPE_PADDING’ undeclared (first use in this function) Header.xs:116: error: ‘FLAC__METADATA_TYPE_SEEKTABLE’ undeclared (first use in this function) Header.xs:120: error: ‘FLAC__METADATA_TYPE_APPLICATION’ undeclared (first use in this function) Header.xs:145: error: ‘FLAC__METADATA_TYPE_VORBIS_COMMENT’ undeclared (first use in this function) Header.xs:185: error: ‘FLAC__METADATA_TYPE_CUESHEET’ undeclared (first use in this function) Header.xs:190: error: syntax error before ‘*’ token Header.xs:193: error: ‘cs’ undeclared (first use in this function) Header.xs:203: error: syntax error before ‘*’ token Header.xs:205: error: ‘track’ undeclared (first use in this function) Header.xs:219: error: syntax error before ‘*’ token Header.xs:221: error: request for member ‘number’ in something not a structure or union Header.xs:225: error: request for member ‘offset’ in something not a structure or union Header.xs:233: error: request for member ‘offset’ in something not a structure or union Header.xs: At top level: Header.xs:258: error: syntax error before ‘*’ token Header.xs: In function ‘print_error_with_chain_status’: Header.xs:260: error: syntax error before ‘status’ Header.xs:263: warning: implicit declaration of function ‘FLAC__ASSERT’ Header.xs:263: error: ‘format’ undeclared (first use in this function) Header.xs:269: error: ‘FLAC__Metadata_ChainStatusString’ undeclared (first use in this function) Header.xs:269: error: ‘status’ undeclared (first use in this function) Header.xs:271: error: ‘FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE’ undeclared (first use in this function) Header.xs:275: error: ‘FLAC__METADATA_CHAIN_STATUS_NOT_A_FLAC_FILE’ undeclared (first use in this function) Header.xs:279: error: ‘FLAC__METADATA_CHAIN_STATUS_NOT_WRITABLE’ undeclared (first use in this function) Header.xs:283: error: ‘FLAC__METADATA_CHAIN_STATUS_BAD_METADATA’ undeclared (first use in this function) Header.xs:287: error: ‘FLAC__METADATA_CHAIN_STATUS_READ_ERROR’ undeclared (first use in this function) Header.xs:291: error: ‘FLAC__METADATA_CHAIN_STATUS_WRITE_ERROR’ undeclared (first use in this function) Header.xs:295: error: ‘FLAC__METADATA_CHAIN_STATUS_UNLINK_ERROR’ undeclared (first use in this function) Header.xs:265: error: ‘va_start’ used in function with fixed args Header.xs: In function ‘XS_Audio__FLAC__Header_new_XS’: Header.xs:316: error: ‘FLAC__Metadata_Chain’ undeclared (first use in this function) Header.xs:316: error: ‘chain’ undeclared (first use in this function) Header.xs:316: warning: implicit declaration of function ‘FLAC__metadata_chain_new’ Header.xs:323: warning: implicit declaration of function ‘FLAC__metadata_chain_read’ Header.xs:329: error: ‘FLAC__Metadata_Iterator’ undeclared (first use in this function) Header.xs:329: error: ‘iterator’ undeclared (first use in this function) Header.xs:329: warning: implicit declaration of function ‘FLAC__metadata_iterator_new’ Header.xs:330: error: ‘FLAC__StreamMetadata’ undeclared (first use in this function) Header.xs:330: error: ‘block’ undeclared (first use in this function) Header.xs:331: error: ‘FLAC__bool’ undeclared (first use in this function) Header.xs:331: error: syntax error before ‘ok’ Header.xs:338: warning: implicit declaration of function ‘FLAC__metadata_iterator_init’ Header.xs:341: warning: implicit declaration of function ‘FLAC__metadata_iterator_get_block’ Header.xs:342: error: ‘ok’ undeclared (first use in this function) Header.xs:355: warning: implicit declaration of function ‘FLAC__metadata_iterator_next’ Header.xs:357: warning: implicit declaration of function ‘FLAC__metadata_iterator_delete’ Header.xs:360: warning: implicit declaration of function ‘FLAC__metadata_chain_delete’ make: *** [Header.o] Error 1
From: ceverett [...] ceverett.com
Oh yeah, [16:14 - 0.93] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ 7. perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=linux, osvers=2.6.10, archname=i486-linux-gnu-thread-multi uname='linux rothera 2.6.10 #1 smp fri may 13 09:24:22 utc 2005 i686 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.7 -Dsitearch=/usr/local/lib/perl/5.8.7 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dd_dosuid -des' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='4.0.3 20051204 (prerelease) (Ubuntu 4.0.2-5ubuntu2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so.5.8.7 gnulibc_version='2.3.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962 Built under linux Compiled at Dec 16 2005 07:48:39 @INC: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl [16:25 - 0.98] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ 8. uname -a Linux johannes 2.6.15-27-686 #1 SMP PREEMPT Sat Sep 16 02:13:27 UTC 2006 i686 GNU/Linux And I'm using Ubuntu Dapper, 6.06 LTS On Sat Sep 23 17:24:36 2006, ceverett@ceverett.com wrote: Show quoted text
> I think this is possibly a dependency issue???? > > [16:10 - 1.18] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ > 5. perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Audio::FLAC::Header > > [16:10 - 1.07] root@johannes:~/.cpan/build/Audio-FLAC-Header-1.4/ > 6. make > cp Header.pm blib/lib/Audio/FLAC/Header.pm > /usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap > /usr/share/perl/5.8/ExtUtils/typemap Header.xs > Header.xsc && mv > Header.xsc Header.c > cc -c -Wall -O2 -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" -fPIC > "-I/usr/lib/perl/5.8/CORE" -O Header.c > Header.xs:31:22: error: FLAC/all.h: No such file or directory > Header.xs:53: error: syntax error before ‘FLAC__StreamMetadata’ > Header.xs: In function ‘_read_metadata’: > Header.xs:58: error: ‘block’ undeclared (first use in this function) > Header.xs:58: error: (Each undeclared identifier is reported only once > Header.xs:58: error: for each function it appears in.) > Header.xs:60: error: ‘FLAC__METADATA_TYPE_STREAMINFO’ undeclared (first > use in this function) > Header.xs:90: error: ‘self’ undeclared (first use in this function) > Header.xs:98: error: ‘path’ undeclared (first use in this function) > Header.xs:115: error: ‘FLAC__METADATA_TYPE_PADDING’ undeclared (first > use in this function) > Header.xs:116: error: ‘FLAC__METADATA_TYPE_SEEKTABLE’ undeclared (first > use in this function) > Header.xs:120: error: ‘FLAC__METADATA_TYPE_APPLICATION’ undeclared > (first use in this function) > Header.xs:145: error: ‘FLAC__METADATA_TYPE_VORBIS_COMMENT’ undeclared > (first use in this function) > Header.xs:185: error: ‘FLAC__METADATA_TYPE_CUESHEET’ undeclared (first > use in this function) > Header.xs:190: error: syntax error before ‘*’ token > Header.xs:193: error: ‘cs’ undeclared (first use in this function) > Header.xs:203: error: syntax error before ‘*’ token > Header.xs:205: error: ‘track’ undeclared (first use in this function) > Header.xs:219: error: syntax error before ‘*’ token > Header.xs:221: error: request for member ‘number’ in something not a > structure or union > Header.xs:225: error: request for member ‘offset’ in something not a > structure or union > Header.xs:233: error: request for member ‘offset’ in something not a > structure or union > Header.xs: At top level: > Header.xs:258: error: syntax error before ‘*’ token > Header.xs: In function ‘print_error_with_chain_status’: > Header.xs:260: error: syntax error before ‘status’ > Header.xs:263: warning: implicit declaration of function ‘FLAC__ASSERT’ > Header.xs:263: error: ‘format’ undeclared (first use in this function) > Header.xs:269: error: ‘FLAC__Metadata_ChainStatusString’ undeclared > (first use in this function) > Header.xs:269: error: ‘status’ undeclared (first use in this function) > Header.xs:271: error: ‘FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE’ > undeclared (first use in this function) > Header.xs:275: error: ‘FLAC__METADATA_CHAIN_STATUS_NOT_A_FLAC_FILE’ > undeclared (first use in this function) > Header.xs:279: error: ‘FLAC__METADATA_CHAIN_STATUS_NOT_WRITABLE’ > undeclared (first use in this function) > Header.xs:283: error: ‘FLAC__METADATA_CHAIN_STATUS_BAD_METADATA’ > undeclared (first use in this function) > Header.xs:287: error: ‘FLAC__METADATA_CHAIN_STATUS_READ_ERROR’ > undeclared (first use in this function) > Header.xs:291: error: ‘FLAC__METADATA_CHAIN_STATUS_WRITE_ERROR’ > undeclared (first use in this function) > Header.xs:295: error: ‘FLAC__METADATA_CHAIN_STATUS_UNLINK_ERROR’ > undeclared (first use in this function) > Header.xs:265: error: ‘va_start’ used in function with fixed args > Header.xs: In function ‘XS_Audio__FLAC__Header_new_XS’: > Header.xs:316: error: ‘FLAC__Metadata_Chain’ undeclared (first use in > this function) > Header.xs:316: error: ‘chain’ undeclared (first use in this function) > Header.xs:316: warning: implicit declaration of function > ‘FLAC__metadata_chain_new’ > Header.xs:323: warning: implicit declaration of function > ‘FLAC__metadata_chain_read’ > Header.xs:329: error: ‘FLAC__Metadata_Iterator’ undeclared (first use in > this function) > Header.xs:329: error: ‘iterator’ undeclared (first use in this function) > Header.xs:329: warning: implicit declaration of function > ‘FLAC__metadata_iterator_new’ > Header.xs:330: error: ‘FLAC__StreamMetadata’ undeclared (first use in > this function) > Header.xs:330: error: ‘block’ undeclared (first use in this function) > Header.xs:331: error: ‘FLAC__bool’ undeclared (first use in this function) > Header.xs:331: error: syntax error before ‘ok’ > Header.xs:338: warning: implicit declaration of function > ‘FLAC__metadata_iterator_init’ > Header.xs:341: warning: implicit declaration of function > ‘FLAC__metadata_iterator_get_block’ > Header.xs:342: error: ‘ok’ undeclared (first use in this function) > Header.xs:355: warning: implicit declaration of function > ‘FLAC__metadata_iterator_next’ > Header.xs:357: warning: implicit declaration of function > ‘FLAC__metadata_iterator_delete’ > Header.xs:360: warning: implicit declaration of function > ‘FLAC__metadata_chain_delete’ > make: *** [Header.o] Error 1 >
You need to install the FLAC development libraries & header files.