Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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
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 ??

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 contemplating the Monastery: (12)
As of 2015-07-31 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls