[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  koochy black <koochy@a...>
 Subject :  Re: [yate] h323chan.yate Compile error , again
 Date :  Mon, 11 May 2009 19:03:12 +0200
Hi
thank you all for your help.
@Paul: Yeah you are right --without-libpri is not used anymore in yate
2.0....makes nosens
After trying every combination with OpenH323 and H323Plus I figuerd out
that just the one from the yat homepage is working fine, even when you
use the same version from sourcefroge it does not work, for me.And it
looks like that in all releases from OpenH323 and H323Plus the Makefile
has a bug in ther install part.

Well thats the way it worked for me:
- Downloaded files from:
http://yate.null.ro/tarballs/openh323/
-exported vars in .bashrc
    export PWLIBDIR=/usr/src/pwlib
    export OPENH323DIR=/usr/src/openh323
    export LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib
- installed PWLib:
    ./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
    make opt
    make install
- compiled OpenH323:
./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
--prefix=/usr/src/openh323 --disable-ixj
    make opt
    cp /usr/src/openh323/lib/libh323_linux_x86_r* /usr/lib/
    ln -s /usr/lib/libh323_linux_x86_r.so.1.19.0 /usr/lib/libh323.so
- Downloade Yate2.tar.gz
./configure CFLAGS="-O3 -mtune=pentium4" CXXFLAGS="-O3 -mtune=pentium4"
--prefix=/usr --with-pwlib=/usr/src/pwlib --with-openh323=/usr/src/openh323
make
make install

If you donnt give --prefix in yates configure script, you are not able
to run yate from cmd in ubuntu then you have to copy /usr/src/yate/lib/*
to /usr/lib yourself.

Looks easy, but took me lots of time to get it running and I've still
some error while starting yate:
 /usr/lib/libh323_linux_x86_r.so.1.19.0: undefined symbol:
OSPPTransactionReportUsage
Looks like yate does not like open settlement protocol, and it looks
like the symlink libh323.so is unneeded for yate.

Well when everything works fine, then I can write a little how-to for
ubuntu, if it is usefull for your documenation part on the site.

Thank you all for your help