Problems with when compiling ROOT

Hi all,

I am trying to compile ROOT trunk in a SLC4 machine,

apuig@grub90:/data/lhcb19/a/apuig/soft/root$ uname -a Linux grub90.ecm.ub.es 2.6.9-89.0.16.EL.cernsmp #1 SMP Wed Nov 4 09:12:48 CET 2009 i686 i686 i386 GNU/Linux
and for that I do a svn update and

When I compile I get the following error:

*** Building libAfterImage ... make[1]: Entering directory `/data/lhcb19/a/apuig/soft/root/graf2d/asimage/src/libAfterImage' gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -Wall -I/usr/include/freetype2 -c libungif/dgif_lib.c -o libungif/dgif_lib.o libungif/dgif_lib.c:1: sorry, unimplemented: 64-bit mode not compiled in make[1]: *** [libungif/dgif_lib.o] Error 1 make[1]: Leaving directory `/data/lhcb19/a/apuig/soft/root/graf2d/asimage/src/libAfterImage' make: *** [graf2d/asimage/src/libAfterImage/libAfterImage.a] Error 2
I have searched the forum and although there is a topic on the same library the error is not the same and the workarounds proposed in that topic do not work. Any ideas on what could I be doing wrong?

Thanks,
Albert

Hi,

Unless you really need a 32bit build, just use:./configure --enable-minuit2 --enable-roofit

Cheers,
Philippe.

Hi Philippe,

I also tried that, I think the result is the same as putting --arch=linux

[code]apuig@grub90:/data/lhcb19/a/apuig/soft/root$ ./configure --enable-minuit2 --enable-roofit
Configuring for linux
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/X11R6/lib
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/X11R6/lib
Checking for libXft … /usr/X11R6/lib
Checking for libXext … /usr/X11R6/lib
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 pkg-config … /usr/bin/pkg-config
Checking for libftgl … no
Checking whether to build included libftgl … yes
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/lib
Checking whether to build included zlib … no
Checking for ncurses.h … /usr/include/ncurses
Checking for libncurses … /usr/lib
Checking for GL/gl.h … /usr/include
Checking for libGL, or libMesaGL … /usr/lib
Checking for libGLU, or libMesaGLU … /usr/lib
Checking for GL/glew.h … no
Checking for libGLEW … no
Checking whether to build included GLEW … yes
Checking for mysql_config … not found
Checking for mysql.h … no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient … 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 … /usr/include/shift
Checking whether rfio_fchmod declared in rfio_api.h … yes
Checking for librfio, libdpm, libshift, shiftmd, or shift … /usr/lib
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 libshift, shiftmd, or shift … /usr/lib
Checking for gfal_api.h … /opt/lcg/include
Checking for libgfal … /opt/lcg/lib
Checking for ApMon.h … no
Checking for libapmoncpp … no
Checking for fftw3.h … no
Checking for libfftw3, or libfftw3-3 … 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/lib
Checking for dc_setClientActive in /opt/d-cache/dcap/lib/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 … /usr/include
Checking for libjpeg … /usr/lib
Checking for libtiff … /usr/lib
Checking for libungif … /usr/lib
Checking for libz … /usr/lib
Checking for libpng … /usr/lib
Checking whether to build included libAfterImage … yes
Checking for ldap.h … /usr/include
Checking for libldap … /usr/lib
Checking for liblber … /usr/lib
Checking for Python.h … /data/lhcb19/a/lhcbsoft/Jun10/lcg/external/Python/2.5.4p2/slc4_ia32_gcc34/include/python2.5
Checking for python2.5, libpython2.5, libpython, python, or Python … /data/lhcb19/a/lhcbsoft/Jun10/lcg/external/Python/2.5.4p2/slc4_ia32_gcc34/lib/python2.5/config
Checking for xml2-config … /usr/bin/xml2-config
Checking for libxml2 version >= 2.4.x … ok
Checking whether to build xrootd … yes
Checking for libssl … /usr/lib
Checking for libcrypto … /usr/lib
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/lib
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 … 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 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, castor, cintex, editline, dcache, exceptions, genvector, gfal, ldap, memstat, minuit2, opengl, python, reflex, roofit, rfio, shadowpw, shared, ssl, tmva, xft, xml, xrootd.

To build ROOT type:

make
[/code]

It fails the same way.

Cheers,
Albert

Hi,

humm strange. Can you try:rm -rf /data/lhcb19/a/apuig/soft/root/graf2d/asimage/src/libAfterImage svn update make

Philippe.

Hi,

how strange… it worked now. Sorry for the noise.

Cheers,
Albert

Hi,

The problem is likely that at some point you used the same directory to [attempt to] build a 64 bits version of ROOT and the configure did not completely redo some of the setting when you changed it back to 32 bits.

Cheers,
Philippe.