1 message in com.mysql.lists.gui-toolscompiling Control Center
FromSent OnAttachments
Thompson, Jordan24 Apr 2003 07:30 
Subject:compiling Control Center
From:Thompson, Jordan (jtho@harris.com)
Date:04/24/2003 07:30:13 AM
List:com.mysql.lists.gui-tools

Hello all,

I have downloaded, compiled and installed mySQL 4.0.12.

I have downloaded, compiled (with the mySQL Control Center suggested configure options), and installed qt-x11-free 3.1.2

I have downloaded mySQL Control Center 0.9.1 and am having a devil of a time getting it to compile and link.

First configure complained that mysql_real_connect did not exist in the mySQL client library. In fact (as near as I can tell) it does exist, but it is being called incorrectly as the function has been modified in 4.0.12 to include a parameter and you need to call the new function mysql_init before calling mysql_real_connect. I commented out the test in configure and continued along, figuring that I will fix the source when it came to compiling.

Next configure complained that the version of qt was older than what it expected (this was the latest version of qt I could find.) Once again, I commented this part out of the configure file thinking I would pick up the pieces later.

configure finally completed building all of the Makefiles. I tried the make and it actually got all the way to the link(!) so the source must support the new calls to mysql_real_connect and (perhaps - we'll find this out at run-time!) mysql_init.

The link died while trying to build mysqlcc with references to nonexisting functions in the qt library: IceProcessMessages SmcDeleteProperties dlclose SmcSaveYourselfDone SmcGetIceConnection SmcRequestSaveYourselfPhase2 SmcSetProperties SmcCloseConnection IceConnectionNumber SmcInteractDone dlsym dlopen SmcInteractRequest

I feel that I am soooo close!! What am I doing wrong? I am trying to build this on a Sun Solaris 8.2 machine.

thanks for your help, Jordan