Compilation problem:

Hello,

I try to compile ROOT v5-34-01 on a machine where I used to do it without problems. Now I get the following error :

The configure is :

./configure     --with-f77=${YOUR_FORTRAN_COMPILER}    --with-pythia6-uscore=SINGLE     --enable-roofit     --enable-minuit2     --with-ssl-shared=yes     --with-alien-incdir=${ALIEN_ROOT}/api/include     --with-alien-libdir=${ALIEN_ROOT}/api/lib     --with-monalisa-libdir=${ALIEN_ROOT}/api/lib     --with-monalisa-incdir=${ALIEN_ROOT}/api/include     --with-xrootd-incdir=${ALIEN_ROOT}/api/include/xrootd     --with-xrootd-libdir=${ALIEN_ROOT}/api/lib     --enable-gsl-shared     --disable-globus     --build=debug  

With this output:

Checking for source directory ... /home/alicedaq/v5-34-01
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... g++
Checking for linker (LD) ... g++
Checking for F77 compiler ... g77
Checking for libX11 ... /usr/lib64
Checking for X11/Xlib.h ... /usr/include
Checking for X11/xpm.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for X11/extensions/shape.h ... /usr/include
Checking for libXpm ... /usr/lib64
Checking for libXft ... /usr/lib64
Checking for libXext ... /usr/lib64
Checking for freetype-config ... /usr/bin/freetype-config
Checking for libfreetype version >= 9.3.0 ... ok
Checking whether to build included libfreetype6 ... no
Checking for pcre-config ... not found
Checking whether to build included libpcre ... yes
Checking for zlib.h ... /usr/include
Checking for libz ... /usr/lib64
Checking whether to build included zlib ... no
Checking for lzma.h ... no
Checking for liblzma ... no
Checking whether to build included lzma ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib64
Checking for libGLU, or libMesaGLU ... /usr/lib64
Checking for GL/glew.h ... no
Checking for libGLEW ... no
Checking whether to build included GLEW ... yes
Checking for pkg-config ... /usr/bin/pkg-config
Checking for libftgl ... no
Checking whether to build included libftgl ... yes
Checking for mysql_config ... /usr/bin/mysql_config
Checking for libmysqlclient version >= 3.23.* ... ok
Checking for mysql.h ... /usr/include/mysql
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... no
Checking for rfio_api.h ... /usr/include/shift
Checking whether rfio_fchmod declared in rfio_api.h ... yes
Checking for librfio, libdpm, libcastorrfio, libshift, shiftmd, or shift ... /usr/lib64
Checking for symbol rfio_fchmod ... yes
Checking for rfio_api.h ... /usr/include/shift
Checking whether rfio_fchmod declared in rfio_api.h ... yes
Checking for stager_api.h ... /usr/include/shift
Checking for Castor version being >= 2.1.0 ... ok
Checking for libcastorrfio, libshift, shiftmd, or shift ... /usr/lib64
Checking for symbol rfio_fchmod ... yes
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for fitsio.h ... no
Checking for libcfitsio, or cfitsio ... no
Checking for gvc.h ... no
Checking for libgvc, or gvc ... no
Checking for libgraph, or graph ... no
Checking for libcdt, or cdt ... no
Checking for libpathplan, or pathplan ... no
Checking for libexpat, or expat ... /usr/lib64
Checking for libgvplugin_dot_layout, or gvplugin_dot_layout ... no
Using custom pythia6 library with SINGLE underscore
Checking for Pythia.h ... no
Checking for libpythia8 ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_reli.h ... no
Checking for libchirp_client ... no
Checking for hdfs.h ... no
Checking for jni.h ... no
Checking for libhdfs ... no
Checking for libjvm ... no
Checking for dns_sd.h ... no
Checking for libdns_sd ... no
Checking for libglite-api-wrapper ... no
Checking for gapiUI.h ... /home/alicedaq/newAlien/api/include
Checking for libgapiUI ... /home/alicedaq/newAlien/api/lib
Checking for jpeglib.h ... /usr/include
Checking for png.h ... /usr/include
Checking for tiffio.h ... no
Checking for libjpeg ... /usr/lib64
Checking for libtiff ... no
Checking for libz ... /usr/lib64
Checking for libpng ... /usr/lib64
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... /usr/include
Checking for libldap ... /usr/lib64
Checking for liblber ... /usr/lib64
Checking for Python.h ... /usr/include/python2.4
Checking for python2.4, libpython2.4, libpython, python, or Python ... /usr/lib64
Checking for xml2-config ... /usr/bin/xml2-config
Checking for libxml2 version >= 2.4.x ... ok
Checking for XrdVersion.hh ... /home/alicedaq/newAlien/api/include/xrootd
Checking for xrootd version ... "v3.2.4"
Checking for libXrdMain ... /home/alicedaq/newAlien/api/lib
Checking for libXrdUtils ... /home/alicedaq/newAlien/api/lib
Checking for libXrdClient ... /home/alicedaq/newAlien/api/lib
Checking for libssl ... /usr/lib64
Checking for libcrypto ... /usr/lib64
Checking for openssl/bio.h ... /usr/include
Checking for openssl/blowfish.h ... /usr/include
Checking for openssl/err.h ... /usr/include
Checking for openssl/pem.h ... /usr/include
Checking for openssl/rand.h ... /usr/include
Checking for openssl/rsa.h ... /usr/include
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... /usr/lib64
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... /usr/include
Checking for krb5.h redirect ... /usr/include/krb5/krb5.h
Checking for krb5_c_valid_cksumtype in krb5.h ... yes
Checking for valid_cksumtype in krb5.h ... yes
Checking for libk5crypto ... /usr/lib64
Checking whether we're using MIT Kerberos ... yes
Checking for krb5_c_valid_cksumtype in /usr/lib64/libk5crypto.so ... ok
Checking for valid_cksumtype in /usr/lib64/libk5crypto.so ... ok
Checking for libkrb5 ... /usr/lib64
Checking for kinit ... /usr/kerberos/bin/kinit
Checking for libcom_err ... /usr/lib64
Checking for shadow passwords ... yes
Checking for gsl/gsl_version.h ... no
Checking for gsl-config ... not found
Checking whether to build libMathMore ... no
Checking whether to build libGenVector ... yes
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... yes
Checking whether to build libMinuit2 ... yes
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking whether to build libTMVA ... yes
Checking whether to build libMemStat ... yes
Checking whether to build afdsmgrd ... no
Checking whether to integrate experimental cling ... no 
Checking what type of dictionaries to build ... cint
Checking whether setresuid declared in /usr/include/unistd.h ... yes
Writing config/Makefile.config ... done
Writing config/Makefile.comp ... done
Writing include/RConfigure.h ... done
Writing include/RConfigOptions.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing main/src/proofserv.sh ... done
Writing main/src/roots.sh ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing bin/setxrd.sh ... done
Writing bin/setxrd.csh ... done
Writing bin/genreflex ... done
Writing bin/genreflex-rootcint ... done
Writing config.status ... done

Enabled support for alien, asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_pcre, builtin_lzma, castor, cintex, explicitlink, genvector, gsl_shared, krb5, ldap, memstat, minuit2, mysql, opengl, pythia6, python, reflex, roofit, rfio, shadowpw, shared, ssl, tmva, x11, xft, xml, xrootd.

To build ROOT type:

   make 

What package am I missing ?

Thank you in advance,
Barth

the error message seems to indicate a problem with the building of castor related libraries. Do you need castor support or can you try to run ./configure with --disable-castor? Was there maybe a change w.r.t. what is installed on the machine you are building on?

Cheers,

Erik

Hi,

Thanks for your reply. I ended up removing support for castor and it went fine. I guess the installation of the machine was changed as it gets the updates from SLC5. I see that the RPMs of castor are installed and am still wondering which one I am missing.

Cheers,
Barth