ntom;483100 Wrote: 
> Trying to set up Robin Bowes FLAC2MP3 tool to convert my FLAC library to
> MP3 to use on Ipod.
> 
> Am using latest version (I think) flac2mp3-0.3.0rc3.zip 
> 
> Running under Windows XP
> 
> When I try running it I get the following error:
> 
> Your vendor has not defined Fcntl macro F_SETFL, used at
> C:/flac2mp3/flac2mp3-0.3.0rc3/lib/Proc/ParallelLoop.pm line 409
> 
> Guessing this is just a set up problem.....   but I re-installed /
> downloaded the latest various pre-requisites (PERL,FLAC,LAME) but still
> get the same error.
> 
> Can anyone suggest what I have done wrong....?  Thanks!

Hi ntom,

This is *not* a setup problem, it is a problem in the selected
implementation of parallel processing, which is simply not compatible
with Windows. 
Quoting from
http://cpansearch.perl.org/src/BDARRAH/Proc-ParallelLoop-0.5/README:
"Proc::ParallelLoop

This is a perl module, along with an executable shell interface, that
provides looping constructs similar to "for" and "foreach", except
that the loop bodies can be executed in parallel. [...]

*At least for now, this is not likely to work with Active Perl for
Windows. * If you can get it to work without harming the unix
functionality, I would love to hear from you.

Enjoy,
-- 
Byron C. Darrah
[email protected]" 

I pointed out this to Robin in earlier this year, but he seems to have
forgotten about it. :) I also prepared and sent him a patched version
based on the most recent version (at that time) which, amongst other
things, senses which OS it is running on, and uses "pareach" of
proc::parallelloop only if running on a non-Windows OS.

The patch can be found here:
ftp://gnypp45main.dynalias.net/patch_r134_mod
Please note that this patch was created in July for version r134 in the
trunk. (The correspondingly patched script is here:
ftp://gnypp45main.dynalias.net/flac2mp3_r134_mod.pl)

If you want to try out my modified version which supports copying over
album art (both embedded and jpg files placed in the folders) -a feature
not yet implemented in the "offical" version - then download it from
here: ftp://gnypp45main.dynalias.net/flac2mp3_wPics.zip

I hope this helps (both for you and for Robin :)!


-- 
gnypp45
------------------------------------------------------------------------
gnypp45's Profile: http://forums.slimdevices.com/member.php?userid=15106
View this thread: http://forums.slimdevices.com/showthread.php?t=71145

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/ripping

Reply via email to