[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  Paul Chitescu <paulc@v...>
 Subject :  Re: [yate] Problem compiling yate
 Date :  Tue, 20 Dec 2005 14:59:40 +0200 (EET)
Daniel,

You instructed Yate to use the PWlib and OpenH323 from their source
directories. This may not work in newer versions of OpenH323 and/or with
newer versions of gcc. PWlib has a weird build system and some unusual
include files.

Please install both PWlib and OpenH323 and rerun configure so it picks the 
include and library files from their install location which is under /usr 
or /usr/local - depending on how you configured PWlib and OpenH323.

If you used /usr/local you should do like this:
./configure --with-pwlib=/usr/local --with-openh323=/usr/local

If /usr was used the configure script should be able to find them by 
itself.


Regards,

Paul Chitescu

P.S. Please send the messages only to the list (yate@v...)


On Mon, 19 Dec 2005, Daniel Galicia wrote:
> Hi All,
> 
> I've tried to install yate using this command:
> 
> ./configure --with-pwlib=$PWLIBDIR --with-openh323=$OPENH323DIR
> 
> where $OPENH323  is /usr/openh323 and $PWLIBDIR is /usr/pwlib.
> 
> But i got some problems about openh323.
> 
> 
> checking for C++ compiler default output... a.out
> checking whether the C++ compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> 
> 
> checking for dlopen in default libs... no
> checking for dlopen in -ldl... yes
> checking for pthread_mutexattr_settype declaration... no
> checking for pthread_kill_other_threads_np declaration... yes
> checking whether to use inline functions... auto
> checking libpri.h usability... no
> checking libpri.h presence... no
> checking for libpri.h... no
> checking for Postgress SQL in /usr... no
> checking for Zaptel linux headers... no
> checking for Wanpipe linux headers... no
> 
> 
> checking for gsm.h in /usr/local/include/gsm... no
> checking for iLBC in contrib... yes
> checking for Pwlib in /usr/pwlib... sources  RTTI: none
> checking for OpenH323 in /usr/openh323... sources
> checking for IAX 2 in contrib... yes
> checking for Gtk2 using pkg-config... 2.4.13
> checking for Gtk Mozilla embedding using pkg-config... no
> checking whether to enable RTTI support... none
> configure: creating ./config.status
> 
> 
> #make
> 
> In file included from /usr/openh323/include/channels.h:173,
>                  from /usr/openh323/include/codecs.h:288,
>                  from /usr/openh323/include/h323caps.h:199,
>                  from /usr/openh323/include/h323con.h:305,
>                  from /usr/openh323/include/h323.h:483,
>                  from h323chan.cpp:32:
> /usr/openh323/include/transports.h:190:1: unterminated #ifndef
> In file included from /usr/openh323/include/codecs.h:288,
>                  from /usr/openh323/include/h323caps.h:199,
>                  from /usr/openh323/include/h323con.h:305,
>                  from /usr/openh323/include/h323.h:483,
>                  from h323chan.cpp:32:
> /usr/openh323/include/channels.h:164:1: unterminated #ifndef
> In file included from /usr/openh323/include/h323caps.h:199,
>                  from /usr/openh323/include/h323con.h:305,
>                  from /usr/openh323/include/h323.h:483,
>                  from h323chan.cpp:32:
> /usr/openh323/include/codecs.h:278:1: unterminated #ifndef
> In file included from /usr/openh323/include/h323con.h:305,
>                  from /usr/openh323/include/h323.h:483,
>                  from h323chan.cpp:32:
> /usr/openh323/include/h323caps.h:191:1: unterminated #ifndef
> In file included from /usr/openh323/include/h323.h:483,
>                  from h323chan.cpp:32:
> /usr/openh323/include/h323con.h:296:1: unterminated #ifndef
> make[1]: *** [h323chan.yate] Error 1
> make: *** [modules] Error 2
> 
> 
> Is there any known bug about it? Somebody can help me installing this with
> Signaling proxy capacity??
> 
> Thanks