Greeting SoX Users List. I'm posting this information to this list based on my
recent experience with SoX, as I could find very little reference information
to support my attempt at building SoX on Mac OS X.
Please note I'm a fairly ignorant newbie OS X user (going on 3 days), and my
Unix is pretty rusty/ugly.
At this time, SoX 12.17.x source is available for Mac OSX through the unstable
Fink repository. Fink configures and builds source automagically for the user
(that's next on my reading list).
I attempted 12.17 install following Fink installation of libmad, lame, and
other required packages for this from Fink.
Fink, to my knowledge, offers very little ability to affect the configure and
make process through their source code install. After several attempts at
installation, I switched to the /sw/src sources which Fink downloads and builds
from. I was never successful and abandoned SoX 12.17 and downloaded the SoX
12.18.2 tarball. Note for newbies, crudely working in my /sw/src directory so
pretty much sudo'ing any command. At this point, this may have been because of
LDPATH misconfigurations (I'm still figuring out the complete layout on this
hybrid Darwin / Fink installation), but I suspect was more likely due to what
appears to be an insufficient Lame installation (identified through attempts to
install 12.18).
Having switched to 12.18, the ./configure process returns better information,
and continued to inform me that I was missing lame encoder, even though I
thought it was installed through Fink. Having concretely defined my ldpath, I
realized I was missing some lame encoding component (slips my memory now)
apparently not packaged with Fink, so grabbed the latest tarball of lame into
my /sw/src and built manually (configure/make/make install).
My final ./configure statement on this OS X 10.4 box was:
sudo ./configure --prefix=/sw CPPFLAGS="-I/sw/include" LDFLAGS="-L/sw/lib"
I'll note that man pages did not populate, and I should have used the
--mandir=/sw/share/man switch as well. Manually moved the man pages as a
result.
Appears to yield fine results except I get "bus error" when trying to select
frequency with the stretch command. Works fine without it, so really all of
the functionality I wish to use (i.e. stretch .7 170 yields bus error where
stretch .7 works fine).
Best of luck to other Mac OS X adventurers.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV