I've successfully built the 2.2 branch (SVN 13253) on debian etch, the
following log describes what I did.

BTW: Is it possible in the cmake-framework to do a statically-linked build that
works on all Linux platforms regardless which libs are installed?

Install the following debian packages (I might have installed some
packages which are not needed):

- libboost-dev 1.33.1-10
- cmake 2.4.5-1
- qt4-designer 4.2.1-2+etch1
- libssl-dev 0.9.8c-4etch1
- libglib1.2-dev 1.2.10-17
- libglib2.0-dev 2.12.4-2
- libgnutls11-dev 1.0.16-13.2sarge2
- uuid-dev 1.2-1.39+1.40-WIP-2006.11.14+dfsg-2etch1
- libxml2-dev 2.6.27.dfsg-1
- libspeex-dev 1.1.12-3
- libavcodec-dev      0.cvs20060823-8
- libavformat-dev     0.cvs20060823-8
- portaudio19-dev 19+svn20060825-1
- libalsaplayer-dev 0.99.76-9
- libasound2-dev 1.0.13-2
- libsndfile1-dev 1.0.16-2
- libsamplerate0-dev 0.1.2-2
- libcurl3-openssl-dev 7.15.5-1etch1
- libosip2-dev 2.2.2-3.1
- libboost-date-time-dev            1.33.1-10
- libboost-dev                      1.33.1-10
- libboost-filesystem-dev           1.33.1-10
- libboost-graph-dev                1.33.1-10
- libboost-iostreams-dev            1.33.1-10
- libboost-program-options-dev      1.33.1-10
- libboost-python-dev               1.33.1-10
- libboost-regex-dev                1.33.1-10
- libboost-signals-dev              1.33.1-10
- libboost-test-dev                 1.33.1-10
- libboost-thread-dev               1.33.1-10
- libboost-wave-dev                 1.33.1-10
- libboost-serialization-dev        1.33.1-10

Note 1: I also had to install the gcc-3.4 and g++-3.4 packages (because of an
incompatibility of boost and g++-4.1 which is checked by the wengo make
environment, I was able to verify that I had some unexpected coredumps when
overriding this warning :-).
I had to do the following changes to build/build_make.sh:

svn diff build_make.sh
Index: build_make.sh
===================================================================
--- build_make.sh       (revision 13255)
+++ build_make.sh       (working copy)
@@ -55,7 +55,7 @@
 
 cd ${BUILDDIR}
 
-OPTIONS="--graphviz=${BUILDDIR}/wengophone.dot"
+OPTIONS="--graphviz=${BUILDDIR}/wengophone.dot 
-DCMAKE_CXX_COMPILER=/usr/bin/g++-3.4 -DCMAKE_C_COMPILER=/usr/bin/gcc-3.4"
 
 while test -n "$1"; do
        PARAM="$1"


This change sets the C and C++ compiler to gcc-3.4 as installed by debian.

Note 2: First I had installed devel libs from www.debian-multimedia.org
for libav* from ffmpeg. These won't work (missing symbols
img_resample_init img_resample img_resample_close img_convert) -- seems
that ffmpeg has changed the API and wengo needs to follow this change in
future versions, the following libs *don't* work:
- libavcodeccvs51-dev 3:20070329-0.0
- libavutilcvs49-dev 3:20070329-0.0

Note 3: Cmake generates a cache file with the name 
CMakeCache.txt
in various directories so these should be removed when retrying a
build after a cmake failure.
./build_make.sh --clean
should probably also do this.

After all this simply call 

./build_make.sh --build debug
for a debug build or
./build_make.sh --build final
(haven't tried the second, so far I've only generated a debug build)

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  Fax:   +43/2243/26465-23
Reichergasse 131                        www:   http://www.runtux.com
A-3411 Weidling                         email: [EMAIL PROTECTED]
osAlliance member                       email: [EMAIL PROTECTED]
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to