Re: Re: problem in installing root

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 18 Jul 2007 17:27:29 +0200


Please install the mysql-devel package on your machine first. The configure script has already been fixed in the cvs head to avoid this problem.

Cheers, Fons.

navneet kumar wrote:
> Hi ,
> As i already told ,i am installing root 5.16 on my Machine
> havinf RedHat Enterprise linux.
> After doing "make" i am getting error,it looks like :
> ***********************************************************************
> Upto that everthing is ok
>
> g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude
> -pthread -I/usr/include/mysql -o mysql/src/TMySQLResult.o -c
> mysql/src/TMySQLResult.cxx
> In file included from mysql/src/TMySQLResult.cxx:12:
> include/TMySQLResult.h:25:19: mysql.h: No such file or directory
> In file included from mysql/src/TMySQLResult.cxx:12:
> 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
> In file included from mysql/src/TMySQLResult.cxx:13:
> 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:23: warning: unused variable 'MYSQL_RES'
> mysql/src/TMySQLResult.cxx:24: warning: unused variable 'mysql_num_rows'
> mysql/src/TMySQLResult.cxx:25: warning: unused variable 'fFieldInfo'
> 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:33: warning: unused variable 'fResult'
> 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:42: warning: unused variable 'fResult'
> 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 scopemysql/src/TMySQLResult.cxx:47: error: `fFieldInfo'
> was not declared in this scope
> mysql/src/TMySQLResult.cxx:45: warning: unused variable 'mysql_free_result'
> mysql/src/TMySQLResult.cxx:47: warning: unused variable 'fFieldInfo'
> 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:56: warning: unused variable 'fResult'
> 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:72: warning: unused variable 'fResult'
> 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:76: warning: unused variable 'fResult'
> mysql/src/TMySQLResult.cxx:76: warning: unused variable 'mysql_num_fields'
> 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:88: warning: unused variable 'fResult'
> mysql/src/TMySQLResult.cxx:88: warning: unused variable 'mysql_fetch_fields'
> mysql/src/TMySQLResult.cxx:90: error: `fFieldInfo' was not declared in
> this scope
> mysql/src/TMySQLResult.cxx:90: warning: unused variable 'fFieldInfo'
> mysql/src/TMySQLResult.cxx:95: error: `fFieldInfo' was not declared in
> this scope
> mysql/src/TMySQLResult.cxx:95: warning: unused variable 'fFieldInfo'
> 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:106: warning: unused variable 'fResult'
> 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
> mysql/src/TMySQLResult.cxx:104: warning: unused variable 'MYSQL_ROW'
> mysql/src/TMySQLResult.cxx:110: warning: unused variable 'mysql_fetch_row'
> mysql/src/TMySQLResult.cxx: At global scope:
> mysql/src/TMySQLResult.cxx:20: warning: unused parameter 'result'
> mysql/src/TMySQLResult.cxx:20: warning: unused parameter 'result'
> make: *** [mysql/src/TMySQLResult.o] Error 1
> rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx
> *******************************************************************
>
> Regards
> Navneet
>
>
>
>
>
>
>
>
>
>
>
>
> On 7/18/07, *navneet kumar* <knavneet.pu_at_gmail.com
> <mailto:knavneet.pu_at_gmail.com>> wrote:
>
> Dear Rooters,
>
> I am Trying to install root on my machine having RedHat
> Enterprise linux.
> But its giving me problem in installtion.I have tried root
> version 5.16 and 5.14.
> Can you tell me,is there any problem in compatibility with
> my linux or there may
> be some other problem.
>
> Regards
> Navneet
>
>
>
>
>
> --
> *******************************************
> Navneet Kumar
> Junior Research Fellow
> Department Of Physics
> Panjab University
> Chandigarh-160014
> ****************************************
> E-mail: naviblustar_at_yahoo.co.in <mailto:naviblustar_at_yahoo.co.in>
> knavneet.pu_at_gmail.com <mailto:knavneet.pu_at_gmail.com>
> nav_at_rcf.rhic.bnl.gov <mailto:nav_at_rcf.rhic.bnl.gov>
> Mobile: 09872218896
> : 09831761749
> ******************************************

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Wed Jul 18 2007 - 17:27:36 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 18 2007 - 17:50:01 CEST