Problem with MySQL at compiling GnuGK on Linux 9.0 step by step

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On linux 9.0 , to compile GnuGK I faced the following problem,and that was after
successful compilation it is running well but without disabling MySQL (i.e, it
showed pthreads=1, radius=1, mysql=0 ...........)

       ---------------------------------------------------------------

but it was configured successfully as follows,

           [root@localhost gnugk-2.2.2]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking if MSG_NOSIGNAL is supported by recv call... yes
checking for /root/pwlib/include/ptlib.h... yes
checking for ptlib-config... /root/pwlib/make/ptlib-config
PWLib prefix set to.... /root/pwlib
PTLib version is 1.7.5
checking for /root/pwlib/../openh323/version.h... yes
OpenH323 prefix set to.... /root/pwlib/../openh323
checking for /root/pwlib/../openh323/version.h... (cached) yes
OpenH323 version is 1.14.4
RADIUS support enabled
LARGE FDSET support disabled
checking for compress in -lz... yes
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient... yes
MySQL support enabled
checking for libpq-fe.h... no
configure: WARNING: pgsql headers not found. Use --with-pgsql-include-dir=<path>
configure: WARNING: PostgreSQL disabled
PostgreSQL support disabled
GNU Gatkeeper version is 2.2.2
configure: creating ./config.status
config.status: creating Makefile

       ---------------------------------------------------------------

then I compiled GnuGK as follows,

            [root@localhost gnugk-2.2.2]# make opt

       ---------------------------------------------------------------

and achieve a execution file at /obj_linux_x86_r/

and then run it as follows,

             [root@localhost obj_linux_x86_r]# gnugk -c complete.ini -ttt

       ---------------------------------------------------------------

then it was running but failed to support MySQL as follows,

2005/06/08 16:14:08.233 2          singleton.cxx(32)    Create instance: Toolkit(1)
2005/06/08 16:14:08.328 2            Toolkit.cxx(262)  
Network=192.168.0.0/255.255.255.0, IP=192.168.0.94
2005/06/08 16:14:08.337 2            Toolkit.cxx(262)  
Network=169.254.0.0/255.255.0.0, IP=192.168.0.94
2005/06/08 16:14:08.396 2            Toolkit.cxx(262)  
Network=127.0.0.0/255.0.0.0, IP=127.0.0.12005/06/08 16:14:08.452 2           
Toolkit.cxx(263)   Default IP=192.168.0.94
2005/06/08 16:14:08.507 2            Toolkit.cxx(340)   GK      H.323 Proxy disabled
2005/06/08 16:14:08.560 2            Toolkit.cxx(525)   GK      Loaded per GW
rewrite data:
2005/06/08 16:14:08.662 2            Toolkit.cxx(528)   GK      No per GW data
loaded

OpenH323 Gatekeeper - The GNU Gatekeeper with ID 'GK1' started
Gatekeeper(GNU) Version(2.2.2)
Ext(pthreads=1,radius=1,mysql=0,pgsql=0,large_fdset=0) Build(Jun
6 2005, 10:09:21) Sys(Linux i686 2.4.20-8)
 
2005/06/08 16:14:08.730 1                 gk.cxx(507)   OpenH323 Gatekeeper -
The GNU Gatekeeper
with ID 'GK1' started
Gatekeeper(GNU) Version(2.2.2)
Ext(pthreads=1,radius=1,mysql=0,pgsql=0,large_fdset=0) Build(Jun
6 2005, 10:09:21) Sys(Linux i686 2.4.20-8)
 
Listen on 192.168.0.94,127.0.0.1
 
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

2005/06/08 16:14:09.034 2          singleton.cxx(32)    Create instance:
CallTable(2)
 
Disable Bandwidth Management
2005/06/08 16:14:09.080 2                 gk.cxx(545)   GK      TimeToLive for
Registrations: -1
2005/06/08 16:14:09.132 2          singleton.cxx(32)    Create instance:
RasServer(3)
2005/06/08 16:14:09.227 2       ProxyChannel.cxx(105)   RTPPortRange: 1024-65535
2005/06/08 16:14:09.235 2          singleton.cxx(32)    Create instance: Agent(4)
2005/06/08 16:14:09.281 3           yasocket.cxx(768)   ProxyH(0) waiting...
2005/06/08 16:14:09.326 2             RasSrv.cxx(703)   GK      Using Routed
Signalling
2005/06/08 16:14:09.371 2             RasSrv.cxx(704)   GK      H.245 Routed
Disabled
2005/06/08 16:14:09.415 2          singleton.cxx(32)    Create instance: GkStatus(5)
2005/06/08 16:14:09.461 3           yasocket.cxx(768)   ProxyRTP(0) waiting...
2005/06/08 16:14:09.509 2          singleton.cxx(32)    Create instance:
RegistrationTable(6)
2005/06/08 16:14:09.558 3           yasocket.cxx(768)   TCPServer waiting...
2005/06/08 16:14:09.607 3           yasocket.cxx(768)   GkStatus waiting...
2005/06/08 16:14:09.726 2             RasSrv.cxx(740)   GK      Home =
192.168.0.94,127.0.0.1
2005/06/08 16:14:09.734 1             RasSrv.cxx(491)   Listening to
192.168.0.94:1719(U)
2005/06/08 16:14:09.792 1             RasSrv.cxx(491)   Listening to
192.168.0.94:1718(Mcast)
2005/06/08 16:14:09.848 1             RasSrv.cxx(491)   Listening to
192.168.0.94:1721
2005/06/08 16:14:09.951 1             RasSrv.cxx(491)   Listening to
192.168.0.94:7000
2005/06/08 16:14:09.958 1             RasSrv.cxx(491)   Listening to
127.0.0.1:1719(U)
2005/06/08 16:14:10.014 1             RasSrv.cxx(491)   Listening to 127.0.0.1:1721
2005/06/08 16:14:10.070 1             RasSrv.cxx(491)   Listening to 127.0.0.1:7000
2005/06/08 16:14:10.128 1             RasSrv.cxx(799)   RAS     Add broadcast
listener
2005/06/08 16:14:10.187 1           Neighbor.cxx(405)   Set neighbor
GK1(192.168.0.94:1719)
2005/06/08 16:14:10.247 1              factory.h(283)   Init    Can't create
unknown class SQLAuth
2005/06/08 16:14:10.309 1              factory.h(283)   Init    Can't create
unknown class SQLAcct
2005/06/08 16:14:10.370 2            Routing.cxx(532)   VQueue  (CTI) Virtual
queues enabled (aliases:CC), request timeout: 10 s
2005/06/08 16:14:10.484 2          singleton.cxx(32)    Create instance:
Routing::Analyzer(7)
2005/06/08 16:14:10.543 1            Routing.cxx(207)   RoutingPolicy::OnARQ add
policy explicit,internal,parent,neighbor for prefix *
2005/06/08 16:14:10.656 1            Routing.cxx(207)   RoutingPolicy::OnLRQ add
policy explicit,internal,parent,neighbor for prefix *
2005/06/08 16:14:10.768 1            Routing.cxx(207)   RoutingPolicy::OnSetup
add policy explicit,internal,parent,neighbor for prefix *
2005/06/08 16:14:10.879 1            Routing.cxx(207)  
RoutingPolicy::OnFacility add policy explicit,internal,parent,neighbor for prefix *
2005/06/08 16:14:10.988 2             gkacct.cxx(982)   GKACCT  Successfully
logged event 8


       ---------------------------------------------------------------

I failed to guess the actual problem that Why it was failed to link with MySQL,
Can anyone find the problems here?

And special thanks to Zygmuntowicz Michal and Frank Fischer for suggesting me
about my previous problem.

regrads




-------------------------------------------------
BDCOM Online Limited. http://www.bdcom.com


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux