openPMA:HowToBuild
From openPMA
I've built various software for openPMA. Surprisingly this is easier than one might expect in most cases. (This expects well designed and mature source code) --dm8tbr 20:46, 10 July 2007 (CEST)
Here are some random hints:
curl - http://curl.haxx.se
./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/curl \ --without-ssl --without-krb4 --without-gnutls --with-random
Building with ssl might have worked but I didn't need it then.
xiph stuff - http://www.xiph.org
# libogg: ./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/libogg # libvorbis: ./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/libvorbis \ --with-ogg-libraries=/data/devel/openpma/build.arm/target/libogg/lib/ \ --with-ogg-includes=/data/devel/openpma/build.arm/libogg-1.1/include/ # icecast (2.3.1) ./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/icecast \ --with-vorbis=/data/devel/openpma/build.arm/target/libvorbis/ \ --with-curl-includes=/data/devel/openpma/build.arm/target/curl/include/ \ --with-ogg=/data/devel/openpma/build.arm/target/libogg/ \ --with-xslt-config=/data/devel/openpma/build.arm/target/libxslt/bin/xslt-config \ --enable-static # ezstream: PATH=/data/devel/openpma/build.arm/target/libshout/bin:$PATH \ PKG_CONFIG_PATH=/data/devel/openpma/build.arm/libshout-2.2.2 \ ./configure --host=arm \ --prefix=/data/devel/openpma/build.arm/target/ezstream \ --with-vorbis=/data/devel/openpma/build.arm/target/libvorbis/ \ --with-curl-includes=/data/devel/openpma/build.arm/target/curl/include/ \ --with-ogg=/data/devel/openpma/build.arm/target/libogg/ \ --with-speex=/data/devel/openpma/build.arm/target/speex/ \ --with-xml-config=/data/devel/openpma/build.arm/target/libxml2/bin/xml2-config \ --with-shout=/data/devel/openpma/build.arm/target/libshout \ --enable-static
ezstream is a bit funky because currently the configure script is broken if you keep all libraries in different paths (like I do for packaging reasons). I needed to copy some libs into other directories to be found correctly. YMMV
libxml2
./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/libxml2
libxslt
./configure --host=arm --prefix=/data/devel/openpma/build.arm/target/libxslt \ --with-libxml-src=/data/devel/openpma/build.arm/libxml2-2.6.11 --without-python --without-crypto
strace
./configure --host=arm-linux
Some software compiles absolutely clean too. In iodine I just needed to adjust the gcc variable to make it compile - and it didn't utter a single warning!

