Have problem to build root.5.27.0.6

Hi,

I have problem to build root.5.27.06 on RHEL5.0.
Here is the output of ./configure linuxx8664gcc.

bash-3.2$ ./configure linuxx8664gcc
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 … gfortran
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 … /usr/bin/pcre-config
Checking for libpcre version >= 3.9 … ok
Checking whether to build included libpcre … no
Checking for zlib.h … /usr/include
Checking for libz … /usr/lib64
Checking whether to build included zlib … no
Checking for ncurses.h … /usr/include/ncurses
Checking for libncurses … /usr/lib64
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 … no
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 … no
Checking for librfio, libdpm, libshift, shiftmd, or shift … no
Checking for rfio_api.h … no
Checking for stager_api.h … no
Checking for libshift, shiftmd, or shift … no
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 libgvplugin_dot_layout, or gvplugin_dot_layout … no
Checking for libPythia6 … no
Checking for Pythia.h … no
Checking for libpythia8 … no
Checking for dcap.h … /opt/d-cache/dcap/include
Checking for libdcap … /opt/d-cache/dcap/lib64
Checking for dc_setClientActive in /opt/d-cache/dcap/lib64/libdcap.so … ok
Checking for chirp_client.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 … no
Checking for libgapiUI … no
Checking for jpeglib.h … /usr/include
Checking for png.h … /usr/include
Checking for tiffio.h … /usr/include
Checking for gif_lib.h … no
Checking for libjpeg … /usr/lib64
Checking for libtiff … /usr/lib64
Checking for libungif … 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 … /apps/osg/cmssoft/cms/slc5_ia32_gcc434/external/python/2.6.4-cms6/include/python2.6
Checking for python2.6, libpython2.6, libpython, python, or Python … /apps/osg/cmssoft/cms/slc5_ia32_gcc434/external/python/2.6.4-cms6/lib/python2.6/config
Checking for xml2-config … /usr/bin/xml2-config
Checking for libxml2 version >= 2.4.x … ok
Checking whether to build xrootd … yes
Xrootd version "v20100913-0630-root-2"
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 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 … no
Checking whether to build libMinuit2 … no
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 for Clarens support … no
Checking for PEAC support … no
Generating cint dictionaries.
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 etc/daemons/xrootd.rc.d … done
Writing etc/daemons/olbd.rc.d … done
Writing etc/daemons/cmsd.rc.d … 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/genreflex … done
Writing bin/genreflex-rootcint … done
Writing config.status … done

Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, cintex, editline, dcache, exceptions, genvector, ldap, memstat, opengl, python, reflex, shadowpw, shared, ssl, tmva, x11, xft, xml, xrootd.

To build ROOT type:

make

Then I tried to make and always got the following:
bash-3.2$ make
gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread -o build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c
build/rmkdepend/cppsetup.c:1: sorry, unimplemented: 64-bit mode not compiled in
bin/rmkdepend -R -fcint/cint/src/g__cfunc.d -Y -w 1000 – -pipe -m64 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. – cint/cint/src/g__cfunc.c
make: bin/rmkdepend: Command not found
make: *** [cint/cint/src/g__cfunc.o] Error 127

Do you know what I missed in the build?

thanks,

Haiying

It looks like you attempted a previous installation in 32 bits mode. Could you
make distclean
make

Rene

I did make distclean. But I still got the same problem.

I am having the identical problem as hyxu trying to build root 5.28 on a 64 bit Dell Precision, 6-core Xeon system, running Suse Linux Enterprise Desktop (here named boson):
Linux boson 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64 x86_64 x86_64 GNU/Linux

Interestingly, I can load and run a 32-bit binary built for RHEL just fine, except of course if I try to use things that require dynamic load libraries such as fftw (which are already 64-bit on my machine). SLED seems in general to be very cross-compatible with RHEL and Scientific Linux, I have often been able to use executables directly that were compiled under these other OSes. But in this case, I really need the 64-bit to work, there are too many other libraries involved.

Is this a general problem with 64-bit compilation of root? Anybody else had good luck compiling for 64-bit machines?

This one has me completely stumped!!!

Well the problem seems to be the -m64 switch that root-config extracts for the architecture, gcc4.5 seems not to provide that option, though I think it still compiles 64-bit code by default – very strange…

Hi,

as GCC states, it was built such that it can only compiler -m32. Get yourself a better GCC build or create one yourself.

Cheers, Axel.