libmad/libid3tag/madplay(Under construction)


MAD: MPEG Audio Decoder

Compilation

libmad (V0.15.1b)

Follow instructions in INSTALL.
The configure scripts seems to be slightly broken, I replaced all:
   rm -f 
by
   rm -rf 
Otherwise e.g. the sizeof() tests fail.
Then
            # AIX 5.3/7.1, C 8.0/12.1  
./configure --prefix=/tmp/libmad-0.15.1b CC=cc CFLAGS="-O2" CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES" --enable-static --disable-shared 

            # HP-UX 11.00, gcc  
./configure --prefix=/tmp/limad-0.15.1b CC=gcc CFLAGS=-O2

            # HP-UX 10.20, native cc  
./configure --prefix=/tmp/limad-0.15.1b CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z" --enable-static --disable-shared 

            # may additionally use: --enable-fpm=ARCH 
            # with ARCH one of: intel, arm, mips, sparc, ppc, 64bit, default
make clean
make
make install

libid3tag (V0.15.1b)

Needs zlib. Specify locations of headers and library and proceed:
            # AIX 5.3/7.1, C 8.0/12.1  
./configure --prefix=/tmp/libid3tag-0.15.1b CC=cc CXX=xlC CFLAGS="-O2" CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include/"    LDFLAGS=-L/bio/local/lib    --enable-static --disable-shared 
./configure --prefix=/tmp/libid3tag-0.15.1b CC=cc CXX=xlC CFLAGS="-O2" CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/nfs/local/71/include/" LDFLAGS=-L/nfs/local/71/lib --enable-static --disable-shared 

            # HP-UX 11.00, gcc  
./configure --prefix=/tmp/libid3tag-0.15.1b CPPFLAGS=-I/nfs/local/1100/include/ LDFLAGS=-L/nfs/local/1100/lib
            # HP-UX 10.20, native cc  
./configure --prefix=/tmp/libid3tag-0.15.1b CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z -I/nfs/local/1020/include/" LDFLAGS=-L/nfs/local/1020/lib --enable-static --disable-shared
make clean
make
make install

madplay (V0.15.2b)

Needs libmad headers and library.
Follow instructions in INSTALL.
The configure scripts seems to be slightly broken, I replaced all:
   rm -f 
by
   rm -rf 
Otherwise e.g. the sizeof() tests fail.
Then (specifying locations of libmad headers and library)
            # AIX 5.3/7.1, C 8.0/12.1  
./configure --prefix=/tmp/madplay-0.15.2b CC=cc CXX=xlC CFLAGS="-O2" CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/bio/local/include/"    LDFLAGS=-L/bio/local/lib    --enable-static --disable-shared 
./configure --prefix=/tmp/madplay-0.15.2b CC=cc CXX=xlC CFLAGS="-O2" CPPFLAGS="-D_THREAD_SAFE -D_LARGE_FILES -I/nfs/local/71/include/" LDFLAGS=-L/nfs/local/71/lib --enable-static --disable-shared 

            # HP-UX 11.00, gcc  
./configure --prefix=/tmp/madplay-0.15.2b CC=gcc CFLAGS=-O2 CPPFLAGS="-I/nfs/local/1100/include" LDFLAGS="-L/nfs/local/1100/lib"
            # HP-UX 10.20, native cc  
./configure --prefix=/tmp/madplay-0.15.2b CC=cc CFLAGS="-O -Ae -D_REENTRANT -D_FILE_OFFSET_BITS=64 +z -I/nfs/local/1020/include/" --enable-static --disable-shared LDFLAGS=-L/nfs/local/1020/lib
make clean
make
make install


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