I try to install ROOT 5.21/06 from sources on a SLC5 machine (64 bits).
The configuration fails :
[pcald68] /opt/root > ./configure --with-pythia6-uscore=SINGLE --enable-alien --with-alien-incdir=${ALIEN_ROOT}/api/include --with-alien-libdir=${ALIEN_ROOT}/api/lib --enable-soversion --enable-mysql
Configuring for linux
INFO: --enable-alien: already enabled by default.
INFO: --enable-mysql: already enabled by default.
Checking for GNU Make version >= 3.79.1 … ok
Checking for C compiler … gcc
Checking for C++ compiler … g++
Checking for linker (LD) … g++
Checking for F77 compiler … gfortran
Checking for libX11 … /usr/lib
Checking for X11/Xlib.h … /usr/include
Checking for X11/Xft/Xft.h … /usr/include
Checking for X11/extensions/shape.h … /usr/include
Checking for libXpm … no
configure: libXpm MUST be installed
However, libXpm is in /usr/lib :
[pcald68] /opt/root > ls /usr/lib/libXpm*
/usr/lib/libXpm.so.4 /usr/lib/libXpm.so.4.11.0
As it is present in /usr/lib I really don’t understand why the configure can’t see it. Did I miss something obvious ?
I also tried to specify --with-xpm-libdir=/usr/lib/libXpm.so.4 but this didn’t help.
By the way, if I use the binary distribution root_v5.22.00.Linux-slc5-gcc3.4.tar.gz it works. Unfortunately this is not enough as this distribution doesn’t contain the sql pakcage.
Indeed there is this lib. I didn’t express myself properly.
When building AMORE, we also build a static library containing the object files of folder $ROOTSYS/sql/mysql/src/*.o We do so because there isn’t a static lib for Mysql, only a dynamic one. We then use this static lib to build statically a piece of software.
Now, this explains why I can’t compile AMORE without having built manually ROOT. Indeed, the binary release doesn’t have these object files that I need.
Coming back to my first problem, do you see any reason why I can’t “configure” root ?
OK, I understand, thanks for the clarification.
And about your configure problem, I have no idea, as I generated the slc5 binaries without any problem…