Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Audio::TagLib and Strawberry Perl

by Anonymous Monk
on Aug 14, 2012 at 19:05 UTC ( #987439=note: print w/replies, xml ) Need Help??

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

Thank you,
That got me a bit further, Now it cannot find the taglib libraries ...
I have built the libraries (taglib.dll, taglib.a) (after almost 20 hours, what a mess) but have no clue where to put them so they are found!
I have tried adding them to a folder that is in the path, no luck.
What and Where does the 'cpan Audio::TagLib' install look for in relation to the taglib library components?

The Error:
C:\Documents and Settings\user\My Documents\Scripts\Perl\Audio>cpan Au +dio::TagLib CPAN: CPAN::SQLite loaded ok (v0.202) Database was generated on Mon, 13 Aug 2012 19:48:23 GMT Running install for module 'Audio::TagLib' Running make for G/GL/GLEACH/Audio-TagLib-1.60.tar.gz CPAN: Digest::SHA loaded ok (v5.71) CPAN: Compress::Zlib loaded ok (v2.055) Checksum for C:\strawberry\cpan\sources\authors\id\G\GL\GLEACH\Audio-T +agLib-1.60.tar.gz ok CPAN: Archive::Tar loaded ok (v1.88) CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.70) Building G/GL/GLEACH/Audio-TagLib-1.60.tar.gz The system cannot find the path specified. Please install the taglib C++ library first. I need the package that has taglib-config at Makefile.PL line 7. No 'Makefile' createdCPAN: YAML::XS loaded ok (v0.38) GLEACH/Audio-TagLib-1.60.tar.gz C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Stopping: 'install' failed for 'Audio::TagLib'. Could not read metadata file. Falling back to other methods to determi +ne prerequisites C:\Documents and Settings\user\My Documents\Scripts\Perl\Audio>

Thanks fh : )_~

Replies are listed 'Best First'.
Re^3: Audio::TagLib and Strawberry Perl
by syphilis (Chancellor) on Aug 15, 2012 at 00:32 UTC
    Now it cannot find the taglib libraries ...

    The dll needs to be in the path. Options for making the import lib (taglib.a) locatable include:

    1) placing it in C:/strawberry/c/lib
    2) setting the LIBRARY_PATH environment variable to its location (set LIBRARY_PATH=C:\wherever\it\is).

    Similarly, if there are taglib headers that need to be found you can:

    1) place them in C:/strawberry/c/include
    2) set the CPATH environment variable to their location (set CPATH=C:\wherever\they\are).

    Not sure if the "LIBRARY_PATH" approach will work on your strawberry. It depends upon which version of ExtUtils::MakeMaker you have.
    The "CPATH" solution should work fine on all versions of strawberry.


      Dunno if this will help, but it might...

      Assuming that the code 129 is the OS return code from a program dmake is trying to run, then:

      C:\test>perl -E" say $^E = 129" The %1 application cannot be run in Win32 mode

      Which kind of suggests that a 32-bit program is trying to load a 64-bit dll.

      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      The start of some sanity?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987439]
and a moth chases the moon...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2018-05-25 11:24 GMT
Find Nodes?
    Voting Booth?