Compilation problem

Hello,

I am trying to install the latest root version, the problem is that after typing “make” to compile it, I get the following :


Writing etc/daemons/xrootd.rc.d ... done
Writing etc/daemons/olbd.rc.d ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing config.status ... done

Enabled support for asimage, astiff, builtin_afterimage, builtin_freetype, builtin_pcre, builtin_gsl, builtin_zlib, cern, exceptions, krb5, ldap, o
pengl, pch, python, shadowpw, shared, ssl, thread, xml, xrootd.

Reconfigure successful.
If the build fails, please run ./configure again.


Trying to reconfigure because config.status has changed.
Using config statement:
./configure

Configuring for linux
Checking for libX11 ... /usr/X11R6/lib
Checking for X11/Xlib.h ... /usr/include
Checking for libXpm ... /usr/X11R6/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib
Checking for libGLU, or libMesaGLU ... /usr/lib
Checking for mysql_config ... /usr/bin/mysql_config
Checking for libmysqlclient version >= 4.1.x ... no (3.23.58)
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 stager_api.h ... no
Checking for libshift, shiftmd, or shift ... /cern/pro/lib
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for monalisawsclient.h ... no
Checking for libmonalisawsclient ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for libpacklib, packmd, or packlib ... /cern/pro/lib
Checking for libkernlib, kernmd, or kernlib ... /cern/pro/lib
Checking for rfio in /cern/pro/lib/libpacklib.a ... no
Checking for libPythia6 ... no
Checking for libVenus ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... /usr/local/include
Checking for png.h ... /usr/local/include
Checking for tiffio.h ... /usr/local/include
Checking for gif_lib.h ... /usr/include
Checking for libjpeg ... /usr/local/lib
Checking for libtiff ... /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 ... /usr/include/python2.2
Checking for libpython2.5, libpython2.4, libpython2.3, libpython2.2, python25, python24, python23, or Python ... /usr/lib/python2.2/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 for globusdir ... no
Checking for GLOBUS_LOCATION ... no
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 krb5.h ... /usr/kerberos/include
Checking for libk5crypto ... /usr/kerberos/lib
Checking whether we're using MIT Kerberos ... yes
Checking for libkrb5 ... /usr/kerberos/lib
Checking for libcrypto ... /usr/lib
Checking for kinit ... /usr/local/bin/kinit
Checking for libcom_err ... /usr/kerberos/lib
Checking for shadow passwords ... yes
Checking whether to build libMathCore ... no
Checking whether to build libMathMore ... no
Checking whether to build libCintex ... no
Checking whether to build libReflex ... no
Checking whether to build libRooFit ... no
Checking whether to build libMinuit2 ... no
Checking whether to build libTable ... no
Checking for Clarens support ... no
Checking for PEAC support ... no
Generating cint dictionaries.
Checking whether setresuid declared in /usr/include/unistd.h ... no
Writing config/Makefile.config ... done
Writing include/config.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 etc/daemons/xrootd.rc.d ... done
Writing etc/daemons/olbd.rc.d ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing config.status ... done

Enabled support for asimage, astiff, builtin_afterimage, builtin_freetype, builtin_pcre, builtin_gsl, builtin_zlib, cern, exceptions, krb5, ldap, o
pengl, pch, python, shadowpw, shared, ssl, thread, xml, xrootd.

Reconfigure successful.
If the build fails, please run ./configure again.


Trying to reconfigure because config.status has changed.
Using config statement:
./configure

Configuring for linux
Checking for libX11 ... /usr/X11R6/lib
Checking for X11/Xlib.h ... /usr/include
Checking for libXpm ... /usr/X11R6/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib
Checking for libGLU, or libMesaGLU ... /usr/lib
Checking for mysql_config ... /usr/bin/mysql_config
Checking for libmysqlclient version >= 4.1.x ... no (3.23.58)
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 stager_api.h ... no
Checking for libshift, shiftmd, or shift ... /cern/pr
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for monalisawsclient.h ... no
Checking for libmonalisawsclient ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for libpacklib, packmd, or packlib ... /cern
Checking for libkernlib, kernmd, or kernlib ... /cern
Checking for rfio in /cern/pro/lib/libpacklib.a ... n
Checking for libPythia6 ... no
Checking for libVenus ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... /usr/local/include
Checking for png.h ... /usr/local/include
Checking for tiffio.h ... /usr/local/include
Checking for gif_lib.h ... /usr/include
Checking for libjpeg ... /usr/local/lib
Checking for libtiff ... /usr/lib
Checking for libz ... /usr/lib
Checking for libpng ...
/usr/lib
Checking whether to build included libAfterImage ...
Checking for ldap.h ... /usr/include
Checking for libldap ... /usr/lib
Checking for liblber ... /usr/lib
Checking for Python.h ... /usr/include/python2.2
Checking for libpython2.5, libpython2.4, libpython2.3
Please, run ./configure again as config option files

make: *** [Makefile] Error 1

hilux15:root>

Can anyone please help ?

Kind regards,
Johann.

Hi,

are you building on NFS? Is your sys time correct? Can you send the output of
ls -l Makefile config.status config/Makefile.config include/config.h bin/root-config etc/system.rootrc etc/system.rootauthrc etc/system.rootdaemonrc etc/root.mimes etc/daemons/rootd.rc.d etc/daemons/rootd.xinetd etc/daemons/proofd.rc.d etc/daemons/proofd.xinetd etc/daemons/xrootd.rc.d etc/daemons/olbd.rc.d bin/memprobe build/misc/root-help.el macros/html.C

One of them has a wrong time setting - it doesn’t get updated for some reason, it’s always older than config.status.

Cheers, Axel.

Hi,

Thanks for your answer. Yes I’m building on NFS and it seems my system time is correct. Here is what I get with the command line you wrote :


hilux15:root> pwd
/nfs/hehi/hehi19/hehi/lussange/alice/root
hilux15:root> date
Wed Jun 28 14:14:45 CEST 2006
hilux15:root> ls -l Makefile config.status config/Makefile.config include/config.h bin/root-config etc/system.rootrc etc/system.rootauthrc etc/system.rootdaemonrc etc/root.mimes etc/daemons/rootd.rc.d etc/daemons/rootd.xinetd etc/daemons/proofd.rc.d etc/daemons/proofd.xinetd etc/daemons/xrootd.rc.d etc/daemons/olbd.rc.d bin/memprobe build/misc/root-help.el macros/html.C
-rwxr-xr-x    1 lussange hehi         8447 Jun 22 14:53 bin/memprobe
-rwxr-xr-x    1 lussange hehi        19275 Jun 22 14:53 bin/root-config
-rw-r--r--    1 lussange hehi        55831 Jun 22 14:53 build/misc/root-help.el
-rw-r--r--    1 lussange hehi         5806 Jun 22 14:53 config/Makefile.config
-rw-r--r--    1 lussange hehi            1 Jun 22 14:53 config.status
-rwxr-xr-x    1 lussange hehi         1492 Jun 22 14:53 etc/daemons/olbd.rc.d
-rwxr-xr-x    1 lussange hehi         1352 Jun 22 14:53 etc/daemons/proofd.rc.d
-rw-r--r--    1 lussange hehi          286 Jun 22 14:53 etc/daemons/proofd.xinetd
-rwxr-xr-x    1 lussange hehi         1351 Jun 22 14:53 etc/daemons/rootd.rc.d
-rw-r--r--    1 lussange hehi          293 Jun 22 14:53 etc/daemons/rootd.xinetd
-rwxr-xr-x    1 lussange hehi         1584 Jun 22 14:53 etc/daemons/xrootd.rc.d
-rw-r--r--    1 lussange hehi         7646 Jun 22 14:53 etc/root.mimes
-rw-r--r--    1 lussange hehi        12697 Jun 22 14:53 etc/system.rootauthrc
-rw-r--r--    1 lussange hehi         4246 Jun 22 14:53 etc/system.rootdaemonrc
-rw-r--r--    1 lussange hehi        24797 Jun 22 14:53 etc/system.rootrc
-rw-r--r--    1 lussange hehi          730 Jun 22 14:53 include/config.h
-rw-r--r--    1 lussange hehi         4443 Jun 22 14:53 macros/html.C
-rw-r--r--    1 lussange hehi        34716 Jun 22 14:53 Makefile
hilux15:root>

regards,
Johann.

Hi,

it’s probably due to NFS’s limited time resolution. If your machine is too fast, the files are created too quickly after one another, so NFS cannot distiguish their time stamps anymore. You can remove the dependency on config.status in the Makefile as a work-around.

Cheers, Axel.

Hello,

Thank you for your answer. It worked !

cheers,
Johann.

Hello,

Sorry for the novice question :blush: , but I have the same problem. Could you please let me know which is/are the line(s) in Makefile which I have to delete in order to remove the config.status dependency?

Thank you,

Cristian