[ previous ] [ next ] [ threads ]
 To :  Yate Mailgroup <yate@v...>
 From :  Kiarash Ghiaseddin <koochy@a...>
 Subject :  Re: [yate] Building 4.3.0-1 from source on Debian "squeeze" 6.0.4
 Date :  Sat, 2 Feb 2013 00:50:08 +0100
Hi,

try to use this packages for pwlib and h323, it's on launchpad, both should be compiled on debian with no changes.
let me know if you have any problems with those packages

https://launchpad.net/~sico/+archive/yate

There are two packages for pwlib and h323 one for lucid and one for newer, the only change is one dpatch file, which fixes the api changes in the ssl verions.

regards 

Silver Connection OHG 
Kiarash Ghiaseddin
Heinrich Holtschneider Weg 111 A 
40489 Duesseldorf 
Phone:  +49 211 4057523
Fax:      +49 211 4057524
Mobile:  +49 163 7956143

Reg.Ger. HRA 17444 Duesseldorf
VAT No. DE 244101298

On 30.01.2013, at 22:05, Gilbert Amar wrote:

> Hello,
> As I had some troubles building yate-4.3.0-1 with h323 I am giving here the
> way I succeeded
> The main troubles I had was h323chan.yate.
> 
> I am not a debian guru 
> 
> I did what was explain here
> http://docs.yate.ro/wiki/Installing_OpenH323_under_Linux
> The trouble is that one include directory was missing in the flags.
> I had to edit modules/Makefile to add it.
> 
> 
> cd /usr/local/src/yate-4.3.0-1/modules
> #edit Makefile
> #add  -I/usr/local/lib/pwlib/include to line :
> Change 
> h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include/ptlib
> -D_REENTRANT -I/usr/local/lib/openH323/include/openh323
> To
> h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include
> -I/usr/local/lib/pwlib/include/ptlib -D_REENTRANT
> -I/usr/local/lib/openH323/include/openh323
> 
> 
> Gilbert
> 
> I put here all steps but they were all as expected.
> #please log as root  
> 
> 
> apt-get install build-essential
> apt-get install autoconf
> apt-get install flex
> apt-get install bison
> 
> cd /usr/local/src/
> wget http://yate.null.ro/tarballs/yate4/yate-4.3.0-1.tar.gz
> wget http://yate.null.ro/tarballs/openh323/pwlib-v1_11_0-src.tar.gz
> wget http://yate.null.ro/tarballs/openh323/openh323-v1_19_0_1-src.tar.gz
> 
> tar -xvzf openh323-v1_19_0_1-src.tar.gz
> tar -xvzf pwlib-v1_11_0-src.tar.gz
> tar -xvzf yate-4.3.0-1.tar.gz
> 
> mv yate yate-4.3.0-1
> 
> cd /usr/local/src/pwlib_v1_11_0/
> mkdir /usr/local/lib/pwlib
> ./configure --prefix=/usr/local/lib/pwlib
> make opt
> make install
> 
> export PWLIBDIR=/usr/local/src/pwlib_v1_11_0
> export OPENH323DIR=/usr/local/src/openh323_v1_19_0_1
> 
> cd /usr/local/src/openh323_v1_19_0_1/
> 
> ./configure --prefix=/usr/local/lib/openH323 --disable-ixj
> make opt
> make install
> 
> 
> #rename the lib correctly
> cd /usr/local/lib/openH323/lib
> ln -sf libh323_linux_x86_64_r.so.1.19.0 libopenh323.so
> 
> 
> LD_LIBRARY_PATH=/usr/local/lib/pwlib/lib:/usr/local/lib/openH323/lib
> 
> cd /usr/local/src/yate-4.3.0-1
> ./configure --with-pwlib=/usr/local/lib/pwlib
> --with-openh323=/usr/local/lib/openH323 --prefix=/opt/yate-4.3.0-1
> Make
> 
> #here you will have an error on h323
> #fix modules/Makefile
> #cd /usr/local/src/yate-4.3.0-1/modules
> #edit Makefile
> #add  -I/usr/local/lib/pwlib/include to line :
> #h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include/ptlib
> -D_REENTRANT -I/usr/local/lib/openH323/include/openh323
> 
> 
> 
> cd /usr/local/src/yate-4.3.0-1
> make
> make install
> 
> 
> #before running
> Edit /etc/ld.so.conf
> add
> /usr/local/lib/openH323/lib
> /usr/local/lib/pwlib/lib
> 
> run  ldconfig
> 
> 
> 
> 




Hi,

try to use this packages for pwlib and h323, it's on launchpad, both should be compiled on debian with no changes.
let me know if you have any problems with those packages

https://launchpad.net/~sico/+archive/yate

There are two packages for pwlib and h323 one for lucid and one for newer, the only change is one dpatch file, which fixes the api changes in the ssl verions.

regards 

Silver Connection OHG 
Kiarash Ghiaseddin
Heinrich Holtschneider Weg 111 A 
40489 Duesseldorf 
Phone:  +49 211 4057523
Fax:      +49 211 4057524
Mobile:  +49 163 7956143

Reg.Ger. HRA 17444 Duesseldorf
VAT No. 
DE 244101298

On 30.01.2013, at 22:05, Gilbert Amar wrote:

Hello,
As I had some troubles building yate-4.3.0-1 with h323 I am giving here the
way I succeeded
The main troubles I had was h323chan.yate.

I am not a debian guru

I did what was explain here
http://docs.yate.ro/wiki/Installing_OpenH323_under_Linux
The trouble is that one include directory was missing in the flags.
I had to edit modules/Makefile to add it.


cd /usr/local/src/yate-4.3.0-1/modules
#edit Makefile
#add  -I/usr/local/lib/pwlib/include to line :
Change
h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include/ptlib
-D_REENTRANT -I/usr/local/lib/openH323/include/openh323
To
h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include
-I/usr/local/lib/pwlib/include/ptlib -D_REENTRANT
-I/usr/local/lib/openH323/include/openh323


Gilbert

I put here all steps but they were all as expected.
#please log as root  


apt-get install build-essential
apt-get install autoconf
apt-get install flex
apt-get install bison

cd /usr/local/src/
wget http://yate.null.ro/tarballs/yate4/yate-4.3.0-1.tar.gz
wget http://yate.null.ro/tarballs/openh323/pwlib-v1_11_0-src.tar.gz
wget http://yate.null.ro/tarballs/openh323/openh323-v1_19_0_1-src.tar.gz

tar -xvzf openh323-v1_19_0_1-src.tar.gz
tar -xvzf pwlib-v1_11_0-src.tar.gz
tar -xvzf yate-4.3.0-1.tar.gz

mv yate yate-4.3.0-1

cd /usr/local/src/pwlib_v1_11_0/
mkdir /usr/local/lib/pwlib
./configure --prefix=/usr/local/lib/pwlib
make opt
make install

export PWLIBDIR=/usr/local/src/pwlib_v1_11_0
export OPENH323DIR=/usr/local/src/openh323_v1_19_0_1

cd /usr/local/src/openh323_v1_19_0_1/

./configure --prefix=/usr/local/lib/openH323 --disable-ixj
make opt
make install


#rename the lib correctly
cd /usr/local/lib/openH323/lib
ln -sf libh323_linux_x86_64_r.so.1.19.0 libopenh323.so


LD_LIBRARY_PATH=/usr/local/lib/pwlib/lib:/usr/local/lib/openH323/lib

cd /usr/local/src/yate-4.3.0-1
./configure --with-pwlib=/usr/local/lib/pwlib
--with-openh323=/usr/local/lib/openH323 --prefix=/opt/yate-4.3.0-1
Make

#here you will have an error on h323
#fix modules/Makefile
#cd /usr/local/src/yate-4.3.0-1/modules
#edit Makefile
#add  -I/usr/local/lib/pwlib/include to line :
#h323chan.yate: EXTERNFLAGS = -I/usr/local/lib/pwlib/include/ptlib
-D_REENTRANT -I/usr/local/lib/openH323/include/openh323



cd /usr/local/src/yate-4.3.0-1
make
make install


#before running
Edit /etc/ld.so.conf
add
/usr/local/lib/openH323/lib
/usr/local/lib/pwlib/lib

run  ldconfig