Posted on 2007-05-21 05:42:04-07 by thekat in response to 3067
Re: Windows support?
I just tried on Windows using Cygwin, and ran into an iconv issue:

$ make
(snip)
g++ -c -I/usr/include -I./include -I. -I/usr/local/include/taglib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"1.43\" -DXS_VERSION=\"1.43\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DNO_DOXYGEN TagLib.c
In file included from TagLib.xs:16:
./include/iconv_wrap.h: In function `size_t iconv_wrap(void*, char**, size_t*, char**, size_t*)':
./include/iconv_wrap.h:30: error: invalid conversion from `char**' to `const char**'
./include/iconv_wrap.h:30: error: initializing argument 2 of `size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
TagLib.c:1335:15: warning: extra tokens at end of #ifdef directive
TagLib.c:1336:15: warning: extra tokens at end of #undef directive
TagLib.c:1339:16: warning: extra tokens at end of #undef directive
TagLib.c:1344:1: warning: "do_open" redefined
TagLib.c:1343:1: warning: this is the location of the previous definition
TagLib.c:1346:1: warning: "do_close" redefined
TagLib.c:1345:1: warning: this is the location of the previous definition
make: *** [TagLib.o] Error 1

Here's some other information about current versions:
(Perl, from stock Cygwin distribution as of today)
$ perl --version

This is perl, v5.8.7 built for cygwin-thread-multi-64int
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2005, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

(iconv is stock from Cygwin distribution as of today)
$ iconv --version
iconv (GNU libiconv 1.11)
Copyright (C) 2000-2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Bruno Haible.

(Taglib version, compiled on Cygwin with no additional modifications)
$ taglib-config --version
1.4

(Cygwin DLL version, though I doubt it's important :) )
1.5.24-cr-0x5f1
Direct Responses: 5178 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.