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