Hi Bernd, No, you do not have to recompile ROOT from scratch, but you have to compile the sources that are in the directory mysql. The best way is to run the ./configure utility selecting the option mysql, then run make. This will automatically recompile the necessary classes and build $ROOTSYS/lib/libMySQL.lib,dll Under Windows, we assume that CYGWIN is installed. For example, under Linux, I run configure with the following options ./configure linux \ --enable-table \ --disable-shared \ --with-pythia-libdir=$HOME/w0/rootgcc320/pythia \ --with-pythia6-libdir=$HOME/w0/rootgcc320/pythia6 \ --with-mysql-libdir=/afs/cern.ch/sw/lcg/external/mysql/4.0.13/rh73_gcc32/lib \ --with-mysql-incdir=/afs/cern.ch/sw/lcg/external/mysql/4.0.13/rh73_gcc32/include To install with mysql, you have to indicate the path for the include and lib directories. Rene Brun Bernd Reinhold wrote: > > Hi Mr. Brun! > > I've mySQL 4.1 installed. > How do I generate the ROOT libMySQL.dll? > I don't have to compile ROOT from scratch, do I? > > Thanks, Bernd. > > > -----Original Message----- > > From: Rene.Brun@cern.ch [mailto:Rene.Brun@cern.ch] > > Sent: Wednesday, November 05, 2003 12:04 PM > > To: Bernd Reinhold > > Cc: roottalk@pcroot.cern.ch > > Subject: Re: [ROOT] MySQL & ROOT & Win2000 > > > > > > Under Linux, we support mySQL4.0.13. I would not like to install an older > > version under Windows. > > If somebody has already this version installed under Windows, let me know. > > Or tell me the installation procedure for this version. > > Once mySql is installed, making the Root libMySQL.dll is easy. > > > > Rene Brun > > > > Bernd Reinhold wrote: > > > > > > Hi all! > > > > > > ROOT is built with libMySQL under Linux only, I learnt. > > > But I have Win2000. > > > Is there somebody who has already compiled a recent > > ROOT-version for win2000 > > > with libMySQL? > > > Or perhaps you can give me some hints, how to compile ROOT in > > VC++ 6.0, so > > > that it works with MySQL afterwards. > > > > > > Regards, > > > > > > Bernd Reinhold. > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET