|
From: D. S. <new...@gm...> - 2008-01-14 00:27:15
|
Thanks for the tips!! I downloaded version 14.0.1 and (in/for Cygwin)
configured, made, and ... success! I left the house for hours this
time so not sure how long it
$ ./configure --enable-oss-dsp --disable-dependency-tracking
--with-sndfile --with-samplerate --disable-shared --with-ladspa
... ==>
sox -h
...
SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al ao au auto avr caf
cdda cdr cvs cvsd dat dvms fap fssd gsm hcom ima ircam la lpc lpc10 lu
m3u mat mat4 mat5 maud mp2 mp3 nist nul null ogg oss ossdsp paf pls
prc pvf raw s1 s2 s3 s4 sb sd2 sds sf sl smp snd sndfile sndt sou sph
sw txw u1 u2 u3 u4 ub ul uw vms voc vorbis vox w64 wav wavpcm wve xa
xi
...
(after strip sox.exe)
-rwxr-xr-x 1 Miew None 532K Jan 13 16:23 sox.exe
$ cygcheck ./sox.exe
.\sox.exe
C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\System32\ADVAPI32.DLL
C:\WINDOWS\System32\ntdll.dll
C:\WINDOWS\System32\KERNEL32.dll
C:\WINDOWS\System32\RPCRT4.dll
C:\cygwin\usr\local\bin\cygmp3lame-0.dll
C:\cygwin\usr\local\bin\cygogg-0.dll
C:\cygwin\usr\local\bin\cygsndfile-1.dll
C:\cygwin\usr\local\bin\cygvorbis-0.dll
C:\cygwin\usr\local\bin\cygvorbisenc-2.dll
C:\cygwin\usr\local\bin\cygvorbisfile-3.dll
Yee haa :-)
On Jan 13, 2008 11:04 AM, Chris Bagwell <ch...@cn...> wrote:
> I'll try and test with cygwin to make sure it works with 14.0.1.
> Normally, I only test cygwin with the -mno-cygwin option which makes it
> act quite differently. Yes, I agree configure scripts run agonizingly
> slow under cygwin but thats not really anything we can do other then
> keep configure scripts short as possible. In 14.0.1 we have ripped out
> the internal libltdl source code and so compile time will be a little
> bit faster.
>
> Couple of hints more:
>
> 1) Try with the "configure --disable-shared" option. This will make
> sure you don't use libltdl; if installed; which has known issues with
> SoX. There is supposed to be a check already in configure that disables
> libltdl on cygwin but maybe you've found a corner case.
> 2) If for some reason your using libltdl then you need to install SoX
> before it will find the plugins. If it can't find plugins then only m3u
> and pls will show up as known file formats.
>
> Chris
>
>
> D. S. wrote:
> > I was having problems with sox 14.0.0 compiling in Cygwin. Actually,
> > the compile seems to go OK (agonizingly slow configure and make), but
> > the resulting executable doesn't know about any file formats (except
> > for m3u and pls). So I think I'm not holding my mouth right. I
> > probably need to build it on linux to see where the Cygwin build is
> > going wrong. I started to install sox14 once (to see if that would
> > help sox14 remember all those audio file formats), but gave up after
> > abut 20 minutes of (libtool?) hell. It was making progress, but I lost
> > patience. With Cygwin sox 14 builds, also, it isnt uncommon to have to
> > reboot the machine after XP fragments the memory (or something) and it
> > starts to thrash the virtual memory.
> >
> > Maybe 14.0.1 will help .. Sox 12 on Cygwin has been and is a real
> > workhorse for me. :)
|