Installing ROOT to Linux (Fedora8)

From: <suneel_at_puhep.res.in>
Date: Tue, 1 Apr 2008 06:30:23 +0530 (IST)


Hi all,

    I am trying to install ROOT on my Linux machine (OS-Fedora 8). But the make command is exiting with the following error. It seems that it is trying to find the file mysql.h which is not getting created during the compilation. I tried to search this file inside the root directory but could not find.
Any suggestions to get rid of the problem. Thanks in advance for any kind of help.
With Regards
Suneel

In file included from mysql/src/TMySQLResult.cxx:12: include/TMySQLResult.h:25:19: error: mysql.h: No such file or directory include/TMySQLResult.h:35: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
include/TMySQLResult.h:35: error: expected ‘;’ before ‘*’ token include/TMySQLResult.h:36: error: ISO C++ forbids declaration of ‘MYSQL_FIELD’ with no type
include/TMySQLResult.h:36: error: expected ‘;’ before ‘*’ token include/TMySQLRow.h:35: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
include/TMySQLRow.h:35: error: expected ‘;’ before ‘*’ token include/TMySQLRow.h:36: error: ‘MYSQL_ROW’ does not name a type mysql/src/TMySQLResult.cxx: In constructor ‘TMySQLResult::TMySQLResult(void*)’:
mysql/src/TMySQLResult.cxx:23: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:23: error: ‘MYSQL_RES’ was not declared in this scope
mysql/src/TMySQLResult.cxx:23: error: expected primary-expression before ‘)’ token
mysql/src/TMySQLResult.cxx:23: error: expected `;' before ‘result’ mysql/src/TMySQLResult.cxx:24: error: ‘mysql_num_rows’ was not declared in this scope
mysql/src/TMySQLResult.cxx:25: error: ‘fFieldInfo’ was not declared in this scope

mysql/src/TMySQLResult.cxx: At global scope:
mysql/src/TMySQLResult.cxx:19: warning: unused parameter ‘result’
mysql/src/TMySQLResult.cxx: In destructor ‘virtual
TMySQLResult::~TMySQLResult()’:
mysql/src/TMySQLResult.cxx:33: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx: In member function ‘virtual void TMySQLResult::Close(const Option_t*)’:
mysql/src/TMySQLResult.cxx:42: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:45: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:45: error: ‘mysql_free_result’ was not declared in this scope
mysql/src/TMySQLResult.cxx:47: error: ‘fFieldInfo’ was not declared in this scope
mysql/src/TMySQLResult.cxx: In member function ‘Bool_t TMySQLResult::IsValid(Int_t)’:
mysql/src/TMySQLResult.cxx:56: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx: In member function ‘virtual Int_t TMySQLResult::GetFieldCount()’:
mysql/src/TMySQLResult.cxx:72: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:76: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:76: error: ‘mysql_num_fields’ was not declared in this scope
mysql/src/TMySQLResult.cxx: In member function ‘virtual const char* TMySQLResult::GetFieldName(Int_t)’:
mysql/src/TMySQLResult.cxx:87: error: ‘fFieldInfo’ was not declared in this scope
mysql/src/TMySQLResult.cxx:88: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:88: error: ‘mysql_fetch_fields’ was not declared in this scope
mysql/src/TMySQLResult.cxx:90: error: ‘fFieldInfo’ was not declared in this scope
mysql/src/TMySQLResult.cxx:95: error: ‘fFieldInfo’ was not declared in this scope
mysql/src/TMySQLResult.cxx: In member function ‘virtual TSQLRow* TMySQLResult::Next()’:
mysql/src/TMySQLResult.cxx:104: error: ‘MYSQL_ROW’ was not declared in this scope
mysql/src/TMySQLResult.cxx:104: error: expected `;' before ‘row’ mysql/src/TMySQLResult.cxx:106: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:110: error: ‘row’ was not declared in this scope mysql/src/TMySQLResult.cxx:110: error: ‘fResult’ was not declared in this scope
mysql/src/TMySQLResult.cxx:110: error: ‘mysql_fetch_row’ was not declared in this scope
make: *** [mysql/src/TMySQLResult.o] Error 1 Received on Tue Apr 01 2008 - 03:00:45 CEST

This archive was generated by hypermail 2.2.0 : Tue Apr 01 2008 - 11:50:01 CEST