Skip Menu |
 

This queue is for tickets about the Audio-FLAC-Header CPAN distribution.

Report information
The Basics
Id: 47992
Status: open
Priority: 0/
Queue: Audio-FLAC-Header

People
Owner: Nobody in particular
Requestors: RBOWES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.3
Fixed in: (no value)



Subject: Build failure on Strawberry Perl
Download (untitled) / with headers
text/plain 592b
Hi Dan, I'm currently evaluating better options to distribute my flac2mp3.pl script. I plan to remove all the 3rd-party modules & upload it to CPAN. I'll then provide bundles, or a stand-alone exe for those who can't or don't want to install from CPAN. So, I'm investigating Strawberry Perl. I tried to install Audio::FLAC::Header using the cpan client tool that comes with Strawberry perl, and the build fails with: * libFLAC is not installed or not in the default lib path. Aborting Flac is installed in C:\Program Files\Flac Do I need to explicitly install the Flac libs/headers ? R.
From: robinsp [...] gmail.com
Download (untitled) / with headers
text/plain 1.7k
On Sat Jul 18 08:20:19 2009, RBOWES wrote: Show quoted text
> Hi Dan, > > I'm currently evaluating better options to distribute my flac2mp3.pl > script. I plan to remove all the 3rd-party modules & upload it to CPAN. > I'll then provide bundles, or a stand-alone exe for those who can't or > don't want to install from CPAN. > > So, I'm investigating Strawberry Perl. I tried to install > Audio::FLAC::Header using the cpan client tool that comes with > Strawberry perl, and the build fails with: > > * libFLAC is not installed or not in the default lib path. Aborting > > Flac is installed in C:\Program Files\Flac > > Do I need to explicitly install the Flac libs/headers ? > > R.
Wasn't there a pure perl version of this module with some limitations? (i remember of embedding functions unavailable) For what it's worth, I've finally used something like: system("$FLAC_PATH/metaflac.exe", $options) If you still want to build it, I manage to build a version yesterday following these actions: Copy the whole flac/lib/LibFLAC* (from flac dev zip package) into C:\strawberry\c\lib (maybe LibFLAC.dll is the only file really required) In CPAN: Show quoted text
cpan> install Audio::Flac::Header (failing with the error you reported) cpan> look Audio::Flac::Header
Show quoted text
> perl Makefile.PL (there's a warining that I ignored succesfully)
Add an element like "C:\strawberry\c\lib\libFLAC.dll" to the end of line 291 of generated Makefile (LDLOADLIBS = C:\strawberry\c\lib\libmoldname [...] C:\strawberry\c\lib\libFLAC.dll) And then: Show quoted text
> dmake > dmake test
(it generated 4 errors, but I think it's just a matter of crlf or something like this) Show quoted text
> dmake install
Hope it helps, Hope it will be fixed, Robin PS: doesn't squeezebox server new use some pieces of exiftool?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.