sox(Under construction)

SoX (Sound eXchange) Converts audio files among various standard audio file formats and can apply different effects and filters to the audio data.

Compilation (V12.18.1,V14.4.1)

Optionally uses various libraries and headers installed: Some adaptions might be necessary in sources and headers:

Follow instructions in INSTALL, i.e. specify locations of optional headers and libraries in the configure run:

   make distclean
               # AIX 5.3, C 8.0  
   ./configure --prefix=/tmp/sox-14.4.1 CC=cc CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include"                      CFLAGS="-O2" LDFLAGS=-L/bio/local/lib --enable-static --disable-shared 
               # AIX 6.1, C 9.0:
               # fmemopen() needs SUSv4 prototypes, otherwise undef HAVE_FMEMOPEN src/soxconfig.h
   ./configure --prefix=/tmp/sox-14.4.1 CC=cc CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include  -D_XOPEN_SOURCE=700" CFLAGS="-O2" LDFLAGS=-L/bio/local/lib --enable-static --disable-shared 

               # HP-UX 11.00, gcc:
   ./configure --prefix=/tmp/sox-12.18.1 CPPFLAGS=-I/nfs/local/1100/include/ LDFLAGS=-L/nfs/local/1100/lib
               # HP-UX 10.20, native cc:
   ./configure --prefix=/tmp/sox-14.4.1 CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/nfs/local/1020/include" LDFLAGS=-L/nfs/local/1020/lib --enable-static --disable-shared
   make clean
   make -s
   make html   # requires groff2html
   make pdf    # requires pdfroff
   make install
   make install-html
   make install-pdf

Last update: 8-Aug-2013, M.Kraemer

Impressum Data privacy protection