http://www.perlmonks.org?node_id=989818


in reply to Re: Audio::TagLib and Strawberry Perl
in thread Audio::TagLib and Strawberry Perl

TagLib_String fails miserably ... causes a crash.
to be expected with the iostream issues.


Yes ... I get the same (and for TagLib_String_Iterator.t too) , though I'm not getting the TagLib_ID3v2_FrameList.t failure for any of my x86 perls.
However, I think my x64 perl-5.12. is the only x64 perl that I have that passes TagLib_ID3v2_FrameList.t

Anyway ... ppm packages for anyone interested are available from the sisyphusion repo - and there's a link on that page to the patches I applied.

In addition to those patches, I used a rewritten Makefile.PL:
use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Audio::TagLib', MIN_PERL_VERSION => '5.008001', VERSION_FROM => 'lib/Audio/TagLib.pm', LICENSE => 'perl', XSOPT => '-C++ -hiertype', ( $Config{'version'} >= 5.005 ? ( ABSTRACT_FROM => 'lib/Audio/TagLib.pm', AUTHOR => 'Geoffrey Leach <gleach@cpan.org>' ) : () ), PREREQ_PM => { "Encode" => 0, "Test::Deep" => 0, "File::Slurp" => 0, "Test::More" => 0, "Test::Output" => 0, }, "CONFIGURE_REQUIRES" => { "ExtUtils::MakeMaker" => 0, "Config" => 0, }, );
and then specified the INC, LIBS and CC settings as args to the 'perl Makefile.PL' command line.

One other problem with the module:
C:\>perldoc Audio::TagLib Got a 0-length file from C:\MinGW\perl\site\lib\Audio\TagLib.pm via Po +d::Perldoc ::ToText!? C:\>
I don't know what that's about and haven't even looked.

Cheers,
Rob

Replies are listed 'Best First'.
Re^3: Audio::TagLib and Strawberry Perl
by Anonymous Monk on Aug 29, 2012 at 18:31 UTC
    IMO, In TagLib.xs, apeitem.h should be replaced with taglib.h and moved up after ppoprt.h.
      oooPs, forgot this ... Adding apeitem.h to the top apeitem.xs
Re^3: Audio::TagLib and Strawberry Perl
by Anonymous Monk on Sep 04, 2012 at 20:52 UTC
    Why the changes to iconv_wrap and related ??