[Sqlrelay-discussion] Install problems on Fedora Core 3
Brought to you by:
mused
|
From: Adam K. <ka...@li...> - 2005-09-14 16:26:56
|
Hi all, I have attempted to install sqlrelay-0.36.4 on a fedora core 3 machine but have received errors regarding mysql, as if it is not finding mysql on the machine (even when I specify the mysql prefix path in the configure options.. any suggestions would be appreciated. thanks. here are the errors I am receving: configure command output for mysql: ***** MySQL ****************** checking for mysql_real_connect... no checking for mysql_select_db... no checking for mysql_ping... no checking for mysql_change_user... no checking for mysql_commit... no checking for mysql_rollback... no checking for mysql_autocommit... no checking for mysql_prepare... no checking for CR_SERVER_GONE_ERROR... no checking for CR_SERVER_LOST... no checking for FIELD_TYPE_YEAR... no checking for FIELD_TYPE_NEWDATE... no checking for FIELD_TYPE_ENUM... no checking for FIELD_TYPE_SET... no mysql includes... -I/usr/include -mcpu=pentiumpro mysql libs... -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv ****************************** Make command errors: (cd .libs && rm -f libsqlrconnection_debug.la && ln -s ../libsqlrconnection_debug.la libsqlrconnection_debug.la) make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connection' make -C connections all make[2]: Entering directory `/usr/local/src/sqlrelay-0.36.4/src/connections' make -C mysql all make[3]: Entering directory `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -I./ -I../../../ -I../../../src/common -I../../../src/util -I../../../src/connection -I/usr/local/firstworks/include -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include -mcpu=pentiumpro -c mysqlconnection.C -o mysqlconnection.lo mkdir .libs g++ -Wall -pipe -I./ -I../../../ -I../../../src/common -I../../../src/util -I../../../src/connection -I/usr/local/firstworks/include -I/usr/kerberos/include -I/usr/include/pcre -I/usr/include -mcpu=pentiumpro -c mysqlconnection.C -fPIC -DPIC -o .libs/mysqlconnection.o In file included from mysqlconnection.C:5: ./mysqlconnection.h:11:19: mysql.h: No such file or directory In file included from mysqlconnection.C:5: ./mysqlconnection.h:32: error: ISO C++ forbids declaration of `MYSQL_RES' with no type ./mysqlconnection.h:32: error: expected `;' before '*' token ./mysqlconnection.h:33: error: ISO C++ forbids declaration of `MYSQL_FIELD' with no type ./mysqlconnection.h:33: error: expected `;' before '*' token ./mysqlconnection.h:34: error: `MYSQL_ROW' does not name a type ./mysqlconnection.h:68: error: `MYSQL' does not name a type mysqlconnection.C: In member function `virtual bool mysqlconnection::logIn()': mysqlconnection.C:73: error: `mysql' undeclared (first use this function) mysqlconnection.C:73: error: (Each undeclared identifier is reported only once for each function it appears in.) mysqlconnection.C:73: error: `mysql_connect' undeclared (first use this function) mysqlconnection.C:75: error: `mysql_error' undeclared (first use this function) mysqlconnection.C:49: warning: unused variable 'dbval' mysqlconnection.C: In member function `virtual void mysqlconnection::logOut()': mysqlconnection.C:110: error: `mysql' undeclared (first use this function) mysqlconnection.C:110: error: `mysql_close' undeclared (first use this function) mysqlconnection.C: In constructor `mysqlcursor::mysqlcursor(sqlrconnection*)': mysqlconnection.C:165: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::executeQuery(const char*, long int, bool)': mysqlconnection.C:175: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:182: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:184: error: `mysql_real_query' undeclared (first use this function) mysqlconnection.C:190: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:199: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:199: error: `mysql_affected_rows' undeclared (first use this function) mysqlconnection.C:202: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:202: error: `mysql_store_result' undeclared (first use this function) mysqlconnection.C:203: error: `MYSQL_RES' undeclared (first use this function) mysqlconnection.C:203: error: expected primary-expression before ')' token mysqlconnection.C:203: error: expected `)' before "" mysqlconnection.C:207: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:207: error: `mysql_error' undeclared (first use this function) mysqlconnection.C:216: error: `mysql_num_fields' undeclared (first use this function) mysqlconnection.C:219: error: `mysql_num_rows' undeclared (first use this function) mysqlconnection.C: In member function `virtual const char* mysqlcursor::getErrorMessage(bool*)': mysqlconnection.C:227: error: 'class mysqlconnection' has no member named 'mysql' mysqlconnection.C:227: error: `mysql_error' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::returnColumnInfo()': mysqlconnection.C:268: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:277: error: `mysql_field_seek' undeclared (first use this function) mysqlconnection.C:283: error: `mysqlfield' undeclared (first use this function) mysqlconnection.C:283: error: `mysql_fetch_field' undeclared (first use this function) mysqlconnection.C:286: error: `FIELD_TYPE_STRING' undeclared (first use this function) mysqlconnection.C:289: error: `FIELD_TYPE_VAR_STRING' undeclared (first use this function) mysqlconnection.C:292: error: `FIELD_TYPE_DECIMAL' undeclared (first use this function) mysqlconnection.C:302: error: `FIELD_TYPE_TINY' undeclared (first use this function) mysqlconnection.C:305: error: `FIELD_TYPE_SHORT' undeclared (first use this function) mysqlconnection.C:308: error: `FIELD_TYPE_LONG' undeclared (first use this function) mysqlconnection.C:311: error: `FIELD_TYPE_FLOAT' undeclared (first use this function) mysqlconnection.C:318: error: `FIELD_TYPE_DOUBLE' undeclared (first use this function) mysqlconnection.C:321: error: `FIELD_TYPE_LONGLONG' undeclared (first use this function) mysqlconnection.C:324: error: `FIELD_TYPE_INT24' undeclared (first use this function) mysqlconnection.C:327: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use this function) mysqlconnection.C:330: error: `FIELD_TYPE_DATE' undeclared (first use this function) mysqlconnection.C:333: error: `FIELD_TYPE_TIME' undeclared (first use this function) mysqlconnection.C:336: error: `FIELD_TYPE_DATETIME' undeclared (first use this function) mysqlconnection.C:349: error: `FIELD_TYPE_NULL' undeclared (first use this function) mysqlconnection.C:375: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use this function) mysqlconnection.C:378: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use this function) mysqlconnection.C:381: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use this function) mysqlconnection.C:384: error: `FIELD_TYPE_BLOB' undeclared (first use this function) mysqlconnection.C:404: error: `IS_NOT_NULL' undeclared (first use this function) mysqlconnection.C:405: error: `IS_PRI_KEY' undeclared (first use this function) mysqlconnection.C:406: error: `UNIQUE_KEY_FLAG' undeclared (first use this function) mysqlconnection.C:407: error: `MULTIPLE_KEY_FLAG' undeclared (first use this function) mysqlconnection.C:408: error: `UNSIGNED_FLAG' undeclared (first use this function) mysqlconnection.C:409: error: `ZEROFILL_FLAG' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::noRowsToReturn()': mysqlconnection.C:426: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C: In member function `virtual bool mysqlcursor::fetchRow()': mysqlconnection.C:434: error: `mysqlrow' undeclared (first use this function) mysqlconnection.C:434: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:434: error: `mysql_fetch_row' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::returnRow()': mysqlconnection.C:441: error: `mysqlrow' undeclared (first use this function) mysqlconnection.C: In member function `virtual void mysqlcursor::cleanUpData(bool, bool)': mysqlconnection.C:451: error: `mysqlresult' undeclared (first use this function) mysqlconnection.C:451: error: `MYSQL_RES' undeclared (first use this function) mysqlconnection.C:451: error: expected primary-expression before ')' token mysqlconnection.C:451: error: expected `)' before "" mysqlconnection.C:452: error: `mysql_free_result' undeclared (first use this function) make[3]: *** [mysqlconnection.lo] Error 1 make[3]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connections/mysql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src/connections' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/sqlrelay-0.36.4/src' make: *** [all] Error 2 |