James, This is the classic error you get when the version of root you are using has been compiled for whatever reason without mysql support. That was obvious from the clip from the config file you showed. It either means that mysql is not installed on your system or that is installed in a non-standard place because the root config looks for mysql in all of the "normal" places. If you don't have mysql installed, do it. If you do have it in a non-standard place, just compile root with ./configure .... --with-mysql...=place-where-mysql-lives. The ... is for you to fill in the details as I don't remember them off the top of my head. If you have mysql and you tell root where it is and it either doesn't find it or you get the same message, then something is truly messed up. Kris Quoting jnorris <jnorris@ku.edu>: > People, > > While waiting for someone to come to my rescue, I tried to do what I > could > to make the installation of everything as standard as possible, and > installed root as su by doing the following: > > /home/jnorris/brahms/root> ./configure linuxppcegcs --prefix=/usr/local > --enable-soversion /home/jnorris/brahms/root> gmake > /home/jnorris/brahms/root> gmake install > > and this seems to have worked and root 3.03/06 runs beautifully. > > (Now I sould probably say, http://root.cern.ch/root/Install.html says: > > It's strongly recommended to enable version numbers in sonames (if > possible) using this method (see --enable-soversion below). Also, using > the > --enable-rpath option to "configure" you can set the load path to the > ROOT > libraries on the applications. However, this is not recommended if you > have > soome other way (like /etc/ld.so.conf) of making the dynamic loader > aware of > where you installed the ROOT libraries. > > Of course, the bums don't hyperlink to the --enable-soversion - it > strikes > me as quite strange the that the guys who claim to have invented the > internet don't seem to know how to use it very well! - and I'm not sure > I > understand what it is trying to tell me to do: > > soversion Include the major version number of ROOT in the soname of the > shared > libraries. This means that you'll have an additional check on whether > your > applications are linked to the proper runtime libraries. It's strongly > encouraged to use this option. This options is only supported on some > platforms. Default is false. > > I hope I did the right thing! I have already modified my > /etc/ld.so.conf to > read: > > usr/X11R6/lib > /usr/kerberos/lib > /usr/lib/qt-2.2.1/lib > /usr/lib/qt-1.45/lib > /opt/kde2/lib > /opt/kde/lib > /home/jnorris/brahms/root/lib > > .) > So I tried to install brat again: > > home/jnorris/brahms/brat> aclocal -I config ; automake -a ; autoconf > home/jnorris/brahms/brat> ./configure linuxppcegcs --prefix=/usr/local > --enable-rpath > home/jnorris/brahms/brat> gmake ; gmake install > > but got the same error message: > > cannot find -MySQL > > Should I just go out back and shoot myself? > > Have a care, > James Norris > > -------------------------------------------------------------------------- > University of Kansas email: > jnorris@ku.edu > Dept of Physics & Astronomy Phone: > 785-864-4889 > Malott Hall Rm#B008 Lawrence KS 66045 FAX: > 785-864-5262 > Home Address: 810 Ash St Wamego KS 66547 Home Phone: > 785-456-7059 > -------------------------------------------------------------------------- > | WWW Homepage: http://www.people.ku.edu/~jnorris/ | > -------------------------------------------------------------------------- > | Perhaps we are the first to talk and think and build and aspire, but > | > | we may not be the last. Others may follow us in this adventure... | > | We owe it to that possible future to let their potential survive. | > ---------------------------| David Brin |---------------------------- >
This archive was generated by hypermail 2b30 : Sat Jun 22 2002 - 15:25:19 EDT