[Musickit-developer] Recent changes to SOX
Brought to you by:
leighsmith
From: Stephen B. <st...@br...> - 2001-11-28 16:39:44
|
Hi all, Chris Bagwell has made lots of structural changes to sox recently, and I've updated SndKit to track those changes. One effect of this is that you HAVE to have updated to the latest CVS version of sox in order to be able to compile SndKit. If you haven't already done so, here's how to "sign up" for the the latest version of sox: #cvs -d:pserver:ano...@cv...:/cvsroot/sox login (then press enter when prompted for password) #cvs -z3 -d:pserver:ano...@cv...:/cvsroot/sox co sox (that downloads the current version into a folder named sox). To updated your version at any time: #cd sox #cvs update -d -P To configure and make: On Linux, MacOSX, FreeBSD and others: #./configure #make libst.a (login as root) #make install-lib ... or on MacOSX: #sudo make install-lib Then install the gsm lib: #cd gsm #make #cp libgsm.a /usr/local/lib (as root if necessary, or "#sudo...") #ranlib /usr/local/lib/libgsm.a On Windows it's a bit more tricky. I do this with Cygwin and MinGW32 installed (the SndKit as currently set up requires this). First, you have to get hold of the file called "nul.c" from the cvs repository, and save it as "null.c". Windows DOES NOT ALLOW files called nul. Get the file from http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/sox/sox/nul.c?rev=HEAD&content-type=text/x-csrc and ensure that you can tell your browser a new file name for the file. Then edit Makefile.in and change the 1 occurrence of nul.o to null.o. Then: #RANLIB=/bin/ranlib ./configure --host=mingw32 --target=i686-mingw32 --prefix=d:/mingw #make install-lib #cd gsm #make #cp libgsm.a d:/cygwin/usr/local/lib #ranlib d:/cygwin/usr/local/lib/libgsm.a Cheers, Stephen Brandon |