MySQL Forums
Forum List  »  MySQL Workbench

Re: Compiling mysql-workbench on Linux
Posted by: Manuel Jose Contreras Maya
Date: June 05, 2009 04:51PM

I have the same problem and installed several "devel" packages I did not have and ./configure went well. When I tried to make I got this:

In file included from mysql_util.h:15,
from mysql_art_resultset.cpp:12:
mysql_private_iface.h:47:20: error: errmsg.h: No such file or directory
mysql_private_iface.h:48:19: error: mysql.h: No such file or directory
In file included from mysql_art_resultset.cpp:12:
mysql_util.h:56: error: variable or field ‘throwSQLException’ declared void
mysql_util.h:56: error: ‘MYSQL’ was not declared in this scope
mysql_util.h:56: error: expected primary-expression before ‘)’ token
mysql_util.h:57: error: variable or field ‘throwSQLException’ declared void
mysql_util.h:57: error: ‘MYSQL_STMT’ was not declared in this scope
mysql_util.h:57: error: ‘stmt’ was not declared in this scope
mysql_util.h:60: error: expected ‘,’ or ‘...’ before ‘*’ token
mysql_util.h:60: error: ISO C++ forbids declaration of ‘MYSQL_FIELD’ with no type
mysql_util.h:61: error: expected ‘,’ or ‘...’ before ‘*’ token
mysql_util.h:61: error: ISO C++ forbids declaration of ‘MYSQL_FIELD’ with no type
In file included from mysql_art_resultset.h:22,
from mysql_art_resultset.cpp:13:
mysql_res_wrapper.h:25: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
mysql_res_wrapper.h:25: error: expected ‘;’ before ‘*’ token
mysql_res_wrapper.h:30: error: expected `)' before ‘*’ token
mysql_res_wrapper.h:41: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
mysql_res_wrapper.h:41: error: expected ‘;’ before ‘*’ token
In file included from mysql_art_resultset.cpp:13:
mysql_art_resultset.h:247: error: ‘my_ulonglong’ does not name a type
mysql_art_resultset.h:248: error: ‘my_ulonglong’ does not name a type
mysql_art_resultset.cpp: In constructor ‘sql::mysql::MySQL_ArtResultSet::MySQL_ArtResultSet(const std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::list<std::vector<sql::mysql::MyVal, std::allocator<sql::mysql::MyVal> >, std::allocator<std::vector<sql::mysql::MyVal, std::allocator<sql::mysql::MyVal> > > >*, sql::mysql::util::my_shared_ptr<sql::mysql::MySQL_DebugLogger>*)’:
mysql_art_resultset.cpp:183: error: class ‘sql::mysql::MySQL_ArtResultSet’ does not have any field named ‘row_position’
mysql_art_resultset.cpp:189: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘void sql::mysql::MySQL_ArtResultSet::seek()’:
mysql_art_resultset.cpp:226: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘bool sql::mysql::MySQL_ArtResultSet::isBeforeFirstOrAfterLast() const’:
mysql_art_resultset.cpp:239: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:239: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::absolute(int)’:
mysql_art_resultset.cpp:251: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:254: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:259: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:262: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:270: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:270: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual void sql::mysql::MySQL_ArtResultSet::afterLast()’:
mysql_art_resultset.cpp:281: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:281: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual void sql::mysql::MySQL_ArtResultSet::beforeFirst()’:
mysql_art_resultset.cpp:293: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::first()’:
mysql_art_resultset.cpp:371: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:372: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:375: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual size_t sql::mysql::MySQL_ArtResultSet::getRow() const’:
mysql_art_resultset.cpp:638: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::isAfterLast() const’:
mysql_art_resultset.cpp:749: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:749: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::isBeforeFirst() const’:
mysql_art_resultset.cpp:760: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::isFirst() const’:
mysql_art_resultset.cpp:782: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::isLast() const’:
mysql_art_resultset.cpp:794: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:794: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::last()’:
mysql_art_resultset.cpp:833: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:834: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:837: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::next()’:
mysql_art_resultset.cpp:873: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:876: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:881: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:881: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::previous()’:
mysql_art_resultset.cpp:899: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual bool sql::mysql::MySQL_ArtResultSet::relative(int)’:
mysql_art_resultset.cpp:927: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:927: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp:935: error: ‘row_position’ was not declared in this scope
mysql_art_resultset.cpp:935: error: ‘num_rows’ was not declared in this scope
mysql_art_resultset.cpp: In member function ‘virtual size_t sql::mysql::MySQL_ArtResultSet::rowsCount() const’:
mysql_art_resultset.cpp:982: error: ‘num_rows’ was not declared in this scope
make[5]: *** [mysql_art_resultset.lo] Error 1
make[5]: Leaving directory `/tmp/mysql-workbench-oss-5.1.12/ext/cppconn/driver'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/mysql-workbench-oss-5.1.12/ext/cppconn/driver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/mysql-workbench-oss-5.1.12/ext/cppconn'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/mysql-workbench-oss-5.1.12/ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mysql-workbench-oss-5.1.12'
make: *** [all] Error 2



Edited 1 time(s). Last edit at 06/05/2009 05:24PM by Manuel Jose Contreras Maya.

Options: ReplyQuote


Subject
Views
Written By
Posted
11173
October 05, 2008 09:25PM
6353
February 19, 2009 05:08AM
11175
March 16, 2009 04:20AM
Re: Compiling mysql-workbench on Linux
7089
June 05, 2009 04:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.