RE: Compile gnugk with mysql support

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

 



Under /etc/profile.d/  create a file called gatekeeper.sh and set the following MYSQLDIR and MYSQLLIBDIR environment paths to where your includes and mysql libs are. This should fix your problem. If you don't know where your libs are then run locate mysql. This will display a list of all mysql matches.

This is my gatekeeper.sh file:

PWLIBDIR=/home/numindswitch/Gatekeeper/pwlib
export PWLIBDIR
OPENH323DIR=/home/numindswitch/Gatekeeper/openh323
export OPENH323DIR
GDLIB=/usr/local/lib
export GDLIB
LD_LIBRARY_PATH=$PWLIBDIR/lib:$OPENH323DIR/lib:$GDLIB
export LD_LIBRARY_PATH
MYSQLDIR=/usr/include/mysql
export MYSQLDIR
MYSQLLIBDIR=/usr/lib/mysql
export MYSQLLIBDIR

Freddy

-----Original Message-----
From: openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:openh323gk-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Mei
Xiao
Sent: Monday, September 20, 2004 8:19 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject:  Compile gnugk with mysql support


I tried to compilie gnugk with MySQL support. When I do configure.
it says :
checking for mysql.h... no
configure: warning: mysql headers not found. Use --with-mysql-include-dir=<path>
configure: warning: MySQL disabled
MySQL support disabled

But actually the "mysql .h" is under /usr/include, even I used 
"--with-mysql-include-dir=/usr/include", I still got the same  message.

What is the requirement for Gnugk to compile with MySQL? I appreciate
it if anybody can help me with this simple quesion. Thanks in advance! 
 

Regards,

Mei Xiao
				

MyVoice http://www.myvoice.com.au


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


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

  Powered by Linux