Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Audio::TagLib and Strawberry Perl

by syphilis (Canon)
on Aug 23, 2012 at 02:25 UTC ( #989184=note: print w/ replies, xml ) Need Help??


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

c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.6.3/include/c++/streambuf:571:7: error: expected ')' before '*' token

Yes, that's as far as I got with 1.61, too.
I think it means that streambuf is being parsed as a C file instead of as the C++ file that it is.
But I don't know why that is happening or what to do about it. I do see one invocation of 'gcc' in the generated Makefile:

.c.i: gcc -E -c $(PASTHRU_INC) $(INC) \ $(CCFLAGS) $(OPTIMIZE) \ $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ $(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFIN +E) $(DEFINE) $*.c > $*.i
But I see nothing in the build output to indicate that's causing the problem. (Still, perhaps that's something that could be investigated further.)

I think you're quite right that there's nothing wrong with the taglib library, and that the problem is Audio::TagLib.
I think it's a pity that Audio::TagLib has chosen to build against the libtag C++ library, instead of against the libtag_c C library.
At least I presume libtag_c is a C library - and that I'd therefore have a good chance of being able to work around any problems in the offchance that it didn't build straight out of the box.

Cheers,
Rob


Comment on Re^2: Audio::TagLib and Strawberry Perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2014-09-20 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (164 votes), past polls