I've been tied up with other "real life" things lately so I haven't
been able to finish building the dependency stack I need to start
working on an OpenAL backend for libquicktime.
However, I have several notes about the dependency stack so far that
will likely prove useful to others.
The dependency stack has to be built in a specific order, and there
are several small changes I had to make along the way to even get
things to compile.
Special thanks goes to Stefan for his help along the way.
One of the biggest problems I ran into was that many of the items in
the svn repository at cvsdude use dos line endings. I had to run
dos2unix over most of the codebase manually before I could compile
most of them.
Here's what I have at the moment:
Build Order / Deps
1) faad2
./configure --without-bmp --without-xmms --prefix=/opt/local
Then add these to config.h:
#define __inline inline
#define INLINE inline
2) libmad
./configure --prefix=/opt/local
3) libid3tag
./configure --prefix=/opt/local
4) libogg
Changed configure to fix -O causing CFLAGS to be munged:
Right after sparc-sun-solaris*) for non-gcc case:
*solaris*)
DEBUG="-v -g"
CFLAGS="-xO3 -w -fsimple"
PROFILE="-v -xpg -g -xO4 -fsimple -Dsuncc"
;;
./configure --prefix=/opt/local
5) libvorbis
Changed configure to fix -O causing CFLAGS to be munged:
Right after sparc-sun-solaris*) for non-gcc case:
*solaris*)
DEBUG="-v -g"
CFLAGS="-xO3 -w -fsimple"
PROFILE="-v -xpg -g -xO4 -fsimple -Dsuncc"
;;
./configure --prefix=/opt/local --with-ogg=/opt/local
6) glew
7) glut
8) gpac
export FREETYPE_CONFIG="/usr/sfw/bin/freetype-config"
export CPPFLAGS=$CXXFLAGS
for FILE in `find . -name 'Makefile'`; do sed -e 's/-Wall//' -i $FILE; done
for FILE in `find . -name 'Makefile'`; do sed -e 's/$(CC) $(SHFLAGS)
$(LDFLAGS)/$(CC) $(CFLAGS) $(SHFLAGS) $(LDFLAGS)/' -i $FILE; done
In configure:
Change this:
LDFLAGS="$LDFLAGS -Wl,--warn-common"
Comment out the $LDFLAGS line.
Change this:
SunOS)
make="gmake"
LDFLAGS=""
Comment out the LDFLAGS line.
./configure --cc=$CC --prefix=/opt/local --use-jpeg=yes --use-png=yes
--use-faad=yes --use-mad=yes --extra-ldflags=ELDFLAGS
install breaks unless you use ginstall
Make sure you have downloaded TS26.104 from:
http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip
or through gpac_extra_libs and extracted src to modules/amr_float_dec/amr_nb_ft
without overwriting typedefs.h file
*** AMR WB NOTICE ***
Make sure you have downloaded TS26.204 from:
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-600.zip
or through gpac_extra_libs and extracted src to modules/amr_float_dec/amr_wb_ft
without overwriting typedefs.h file
9) A52DEC
./configure --prefix=/opt/local --enable-shared=yes
10) yasm
part of kdebld
11) x264
The horror.
12) libdv
13) flac (use 1.1.2, 1.1.4 has major api breakage)
./configure --disable-asm --enable-sse --prefix=/opt/local
Then add these to config.h:
#define __inline inline
#define INLINE inline
14) libgsm
15) mp3lame
16) libnut
17) libspeex
18) ffmpeg
19) mpeg4ip
I stopped at #13 I think, it's been a few weeks since I could work on this.
If I have anything else, I'll pass it along.
Cheers,
--
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/
"To err is human -- and to blame it on a computer is even more so." -
Robert Orben