Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Audio::TagLib and Strawberry Perl

by syphilis (Canon)
on Aug 26, 2012 at 13:05 UTC ( #989818=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: Audio::TagLib and Strawberry Perl
Select or Download Code
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 ??

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989818]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-21 17:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls