RE: [Openh323gk-users] Help compile GK with MySQL Support

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

 



Thanks for your reply,

Well, I did the why you said to compile but did not see "-DHAS_MYSQL". I
guess I have to include mysql++ libraries but don't know which ones?

Anyways, back to your question how did I compile?

[root@ openh323gk]# mysql --version
mysql  Ver 11.18 Distrib 3.23.56, for redhat-linux-gnu (i386)
[root@ openh323gk]# gcc --version
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

Here what I did: (I got this help from mysql++ mailing list)

1) Start from fresh tar (mysql++1.7.9) and extract it.
2) Apply the patches as follows:
   a) patch -p1 < mysql++-gcc-3.0.patch
   b) patch -p1 < mysql++-gcc-3.2.patch
   c) patch -p1 < mysql++-gcc-3.2.2.patch
3) Edit the example/Makefile.in and replace @OBJEXT@ with 'o' (w/o
quotes) and @EXEEXT@ with blank space.
4) Run ./configure
5) make
6) make install

It worked well for me, but I got some Warnings... No errors...

Take care...

Regards
Nitesh


-----Original Message-----
From: openh323gk-users-admin@lists.sourceforge.net
[mailto:openh323gk-users-admin@lists.sourceforge.net] On Behalf Of
chiew325@tm.net.my
Sent: Wednesday, July 16, 2003 6:58 AM
To: openh323gk-users@lists.sourceforge.net
Subject: Re: [Openh323gk-users] Help compile GK with MySQL Support


Hello Nitesh,

just type:
NO_LDAP=1 make both

should do the job

also when it is compiling, check if you can find -DHAS_MYSQL. If you 
see it, you are compiling gk with mysql support.

I've been trying to compile MySQL++1.7.9 but didn't work well could you
tell me, what version of gcc, mysql server you are using? 
what did you do to make MySQL++1.7.9 compiled.  

Foong

----- Original Message -----
From: Nitesh Divecha <nitesh@incallusb.com>
Date: Wednesday, July 16, 2003 3:38 am
Subject: [Openh323gk-users] Help compile GK with MySQL Support

> Hello All,
> 
> Finally, miracle happened and managed to compile MySQL++1.7.9 on
> RedHat9.0...
> 
> Now can anybody help on how can I compile GNUGK with MySQL
> Support....? 
> 1) Do I have to edit "gkauth.cxx", and type in any parameters? For
> example add #include <mysql++>, or #define #HAS_MYSQL
> 
> 2) While compiling do I have to say "#make both HAS_MYSQL"?
> 
> Can somebody please guide me... :) Thank you....
> 
> Regards
> Nitesh
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux