Skip Menu |

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

Report information
The Basics
Id: 18497
Status: resolved
Priority: 0/
Queue: Audio-TagLib

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

Bug Information
Severity: Normal
Broken in: 1.4.1
Fixed in: 1.62



Subject: Build and install fails on FreeBSD
Attempting to install on FreeBSD 6, Perl 5.8.8 via CPAN, I get the following error message: ONLY support TagLib version 1.4.* on Linux currently only support Linux at Makefile.PL line 9 main::BEGIN() called at Makefile.PL line 22 eval {...} called at Makefile.PL line 22 BEGIN failed--compilation aborted at Makefile.PL line 22. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
On Sun Apr 02 03:37:05 2006, guest wrote: Sorry, my package has not been tested on FreeBSD. Maybe you can help;-) Just do as follow: 1) download the tar bazz from CPAN, extract and cd; 2) comment three lines: ### code begin ### require Carp; Carp::croak("currently only support Linux\n") unless $^O eq 'linux'; ### code end ### 3) perl Makefile.PL 4) make 5) make test 6) If all tests passed, you can install it via `make install' [as root] Looking forward to seeing your test result. I can open the package on FreeBSD at next release in case everything goes fine. Show quoted text
> Attempting to install on FreeBSD 6, Perl 5.8.8 via CPAN, I get the > following error message: > > > ONLY support TagLib version 1.4.* on Linux > currently only support Linux > at Makefile.PL line 9 > main::BEGIN() called at Makefile.PL line 22 > eval {...} called at Makefile.PL line 22 > BEGIN failed--compilation aborted at Makefile.PL line 22. > Running make test > Make had some problems, maybe interrupted? Won't test > Running make install > Make had some problems, maybe interrupted? Won't install
Commenting out those lines in Makefile.pl works, but make fails: g++ -c -I/usr/local/include/taglib -I/usr/include -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DNO_DOXYGEN TagLib.c cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ In file included from TagLib.xs:14: ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined In file included from TagLib.xs:11: /usr/local/lib/perl5/5.8.8/mach/CORE/perl.h:163:1: warning: this is the location of the previous definition TagLib.c:1420:15: warning: extra tokens at end of #ifdef directive TagLib.c:1421:15: warning: extra tokens at end of #undef directive TagLib.c:1424:16: warning: extra tokens at end of #undef directive TagLib.c:1429:1: warning: "do_open" redefined TagLib.c:1428:1: warning: this is the location of the previous definition TagLib.c:1431:1: warning: "do_close" redefined TagLib.c:1430:1: warning: this is the location of the previous definition TagLib.xs: In function `void XS_TagLib__String_new(CV*)': TagLib.xs:147: error: invalid conversion from `char**' to `const char**' TagLib.xs:147: error: initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)' TagLib.xs: In function `void XS_TagLib__String_getChar(CV*)': TagLib.xs:342: error: invalid conversion from `char**' to `const char**' TagLib.xs:342: error: initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)' TagLib.xs: In function `void XS_TagLib__String__Iterator_data(CV*)': TagLib.xs:65: error: invalid conversion from `char**' to `const char**' TagLib.xs:65: error: initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)' *** Error code 1 g++ --version reports g++ (GCC) 3.4.4 [FreeBSD] 20050518
On Fri Apr 14 12:29:15 2006, guest wrote: Show quoted text
> Commenting out those lines in Makefile.pl works, but make fails: > > g++ -c -I/usr/local/include/taglib -I/usr/include > -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe > -Wdeclaration-after-statement -I/usr/local/include -O2 > -fno-strict-aliasing -pipe -DVERSION=\"1.41\" -DXS_VERSION=\"1.41\" > -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE" -DNO_DOXYGEN
TagLib.c Show quoted text
> cc1plus: warning: command line option "-Wdeclaration-after-statement" is > valid for C/ObjC but not for C++ > In file included from TagLib.xs:14: > ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined > In file included from TagLib.xs:11: > /usr/local/lib/perl5/5.8.8/mach/CORE/perl.h:163:1: warning: this is the > location of the previous definition > TagLib.c:1420:15: warning: extra tokens at end of #ifdef directive > TagLib.c:1421:15: warning: extra tokens at end of #undef directive > TagLib.c:1424:16: warning: extra tokens at end of #undef directive > TagLib.c:1429:1: warning: "do_open" redefined > TagLib.c:1428:1: warning: this is the location of the previous definition > TagLib.c:1431:1: warning: "do_close" redefined > TagLib.c:1430:1: warning: this is the location of the previous definition > TagLib.xs: In function `void XS_TagLib__String_new(CV*)': > TagLib.xs:147: error: invalid conversion from `char**' to `const char**' > TagLib.xs:147: error: initializing argument 2 of `size_t > libiconv(void*, const char**, size_t*, char**, size_t*)'
caused by diff function prototype on FressBSD Thanks very much for information. Be fixed in next release. Show quoted text
> TagLib.xs: In function `void XS_TagLib__String_getChar(CV*)': > TagLib.xs:342: error: invalid conversion from `char**' to `const char**' > TagLib.xs:342: error: initializing argument 2 of `size_t > libiconv(void*, const char**, size_t*, char**, size_t*)' > TagLib.xs: In function `void XS_TagLib__String__Iterator_data(CV*)': > TagLib.xs:65: error: invalid conversion from `char**' to `const char**' > TagLib.xs:65: error: initializing argument 2 of `size_t > libiconv(void*, const char**, size_t*, char**, size_t*)' > *** Error code 1 > > g++ --version reports > g++ (GCC) 3.4.4 [FreeBSD] 20050518