Dear ROOTers,
first time in my life :) failed to compile ROOT (5.30). Fragments of session are shown below
[vmarouss_at_Ezhik-HDX18 root]$
[vmarouss_at_Ezhik-HDX18 root]$ uname -a
Linux Ezhik-HDX18 2.6.35.13-92.fc14.x86_64 #1 SMP Sat May 21 17:26:25
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
[vmarouss_at_Ezhik-HDX18 root]$
[vmarouss_at_Ezhik-HDX18 root]$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linuxThread model: posix
[vmarouss_at_Ezhik-HDX18 root]$ [vmarouss_at_Ezhik-HDX18 root]$ [vmarouss_at_Ezhik-HDX18 root]$ ./configureChecking for source directory ... /home/vmarouss/Download/ROOT/root Configuring for linuxx8664gcc
Checking for C compiler ... gcc Checking for C++ compiler ... g++ Checking for linker (LD) ... g++ Checking for F77 compiler ... gfortran
Enabled support for asimage, astiff, bonjour, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_pcre, cintex, exceptions, fftw3, genvector, krb5, ldap, mathmore, memstat, mysql, opengl, python, reflex, shadowpw, shared, ssl, tmva, x11, xft, xml, xrootd.
To build ROOT type:
make
[vmarouss_at_Ezhik-HDX18 root]$
[vmarouss_at_Ezhik-HDX18 root]$ make
cp
/home/vmarouss/Download/ROOT/root/cint/reflex/inc/Reflex/PluginService.h
include/Reflex/PluginService.h
cp /home/vmarouss/Download/ROOT/root/cint/reflex/inc/Reflex/Scope.h
include/Reflex/Scope.h
...
cp /home/vmarouss/Download/ROOT/root/proof/proofx/inc/TXUnixSocket.h
include/TXUnixSocket.h
cp /home/vmarouss/Download/ROOT/root/proof/proofx/inc/TXSlave.h
include/TXSlave.h
gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread
-DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
build/rmkdepend/ifparser.o -c
/home/vmarouss/Download/ROOT/root/build/rmkdepend/ifparser.c
gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread
-DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
build/rmkdepend/include.o -c
/home/vmarouss/Download/ROOT/root/build/rmkdepend/include.c
...
bin/rmkdepend -R -fcore/base/src/TObjectSpy.d -Y -w 1000 -- -pipe -m64
-Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread
-D__cplusplus --
/home/vmarouss/Download/ROOT/root/core/base/src/TObjectSpy.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC
-Iinclude -pthread -o core/base/src/TObjectSpy.o -c
/home/vmarouss/Download/ROOT/root/core/base/src/TObjectSpy.cxx
*** Building core/pcre/src/pcre-7.8/.libs/libpcre.a...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
...
checking for readline in -lreadline... yes
configure: creating ./config.status
config.status: creating Makefile config.status: creating libpcre.pc config.status: creating libpcrecpp.pc config.status: creating pcre-config config.status: creating pcre.h config.status: creating pcre_stringpiece.h config.status: creating pcrecpparg.h config.status: creating config.h config.status: executing depfiles commands config.status: executing script-chmod commands config.status: executing delete-old-chartables commands
pcre-7.8 configuration summary:
Install prefix .................. : /usr/local C preprocessor .................. : gcc -E C compiler ...................... : gcc C++ preprocessor ................ : g++ -E C++ compiler .................... : g++ Linker .......................... : /usr/bin/ld -m elf_x86_64 C preprocessor flags ............ : C compiler flags ................ : -m64 -O C++ compiler flags .............. : -O2 Linker flags .................... : Extra libraries ................. : Build C++ library ............... : yes Enable UTF-8 support ............ : no Unicode properties .............. : no Newline char/sequence ........... : lf \R matches only ANYCRLF ......... : no EBCDIC coding ................... : no Rebuild char tables ............. : no Use stack recursion ............. : yes POSIX mem threshold ............. : 10 Internal link size .............. : 2 Match limit ..................... : 10000000 Match limit recursion ........... : MATCH_LIMIT Build shared libs ............... : no Build static libs ............... : yes Link pcregrep with libz ......... : no
make[1]: Entering directory
`/home/vmarouss/Download/ROOT/root/core/pcre/src/pcre-7.8'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -m64
-O -MT pcre_compile.lo -MD -MP -MF .deps/pcre_compile.Tpo -c -o
pcre_compile.lo pcre_compile.c
...
gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread -o
core/zip/src/ZInflate.o -c
/home/vmarouss/Download/ROOT/root/core/zip/src/ZInflate.c
bin/rmkdepend -R -fcore/zip/src/Compression.d -Y -w 1000 -- -pipe -m64
-Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread
-D__cplusplus --
/home/vmarouss/Download/ROOT/root/core/zip/src/Compression.cxx
g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC
-Iinclude -pthread -o core/zip/src/Compression.o -c
/home/vmarouss/Download/ROOT/root/core/zip/src/Compression.cxx
bin/rmkdepend -R -fcore/lzma/src/ZipLZMA.d -Y -w 1000 -- -pipe -m64
-Wshadow -Wall -W -fPIC -Iinclude -pthread -I/usr/include/lzma --
/home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c
gcc -O2 -pipe -m64 -Wshadow -Wall -W -fPIC -Iinclude -pthread
-I/usr/include/lzma -o core/lzma/src/ZipLZMA.o -c
/home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c
In file included from
/home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c:13:0:
/usr/include/lzma/lzma.h:16:3: error: #error Never include this file
directly. Use <lzma.h> instead.
/usr/include/lzma/lzma.h:120:8: warning: return type defaults to ‘int’
/usr/include/lzma/lzma.h: In function ‘LZMA_API’:
/usr/include/lzma/lzma.h:120:28: error: expected declaration specifiers
before ‘lzma_mf_is_supported’
/usr/include/lzma/lzma.h:147:3: error: storage class specified for
parameter ‘lzma_mode’
/usr/include/lzma/lzma.h:162:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘lzma_mode_is_supported’
/usr/include/lzma/lzma.h:208:2: error: expected specifier-qualifier-list
before ‘uint32_t’
/usr/include/lzma/lzma.h:379:3: error: storage class specified for
parameter ‘lzma_options_lzma’
/usr/include/lzma/lzma.h:396:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘lzma_lzma_preset’
In file included from /usr/include/stdio.h:34:0,
from /home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c:14:
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/stddef.h:211:23: error:
storage class specified for parameter ‘size_t’
In file included from /usr/include/stdio.h:36:0,
from /home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c:14:
/usr/include/bits/types.h:31:23: error: storage class specified for
parameter ‘__u_char’
/usr/include/bits/types.h:32:28: error: storage class specified for
parameter ‘__u_short’
...
/usr/include/bits/types.h:33:22: warning: unused parameter ‘__u_int’
/usr/include/bits/types.h:32:28: warning: unused parameter ‘__u_short’
/usr/include/bits/types.h:31:23: warning: unused parameter ‘__u_char’
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/include/stddef.h:211:23: warning:
unused parameter ‘size_t’
/usr/include/lzma/lzma.h:379:3: warning: unused parameter
‘lzma_options_lzma’
/usr/include/lzma/lzma.h:147:3: warning: unused parameter ‘lzma_mode’
/home/vmarouss/Download/ROOT/root/core/lzma/src/ZipLZMA.c:109:1:
warning: control reaches end of non-void function
make: *** [core/lzma/src/ZipLZMA.o] Error 1
[vmarouss_at_Ezhik-HDX18 root]$
It looks I had to use "./configure" with parameters. Which ones? The first line in /usr/include/lzma/lzma.h, which caused an error is:
#ifndef LZMA_H_INTERNAL # error Never include this file directly. Use <lzma.h> instead. #endif
Best regards,
Vassili
On 07/06/2011 12:25 PM, Fons Rademakers wrote:
> Dear All, > > [the original message from June 28 seems never to have reached the > roottalk mailing list] > > The ROOT team is pleased to announce the summer production release of > ROOT version 5.30/00. For more information see the announcement here: > http://root.cern.ch/drupal/content/production-release-53000 > > Fons Rademakers, on behalf of the ROOT team. >Received on Wed Jul 06 2011 - 15:27:05 CEST
This archive was generated by hypermail 2.2.0 : Fri Jul 08 2011 - 17:50:01 CEST