Hi.
I am trying to build Rootv5.20 from source on UBUNTU9.10, with the following error. Installed gcc is version4.4.1. Should the version be an issue?
bin/rmkdepend -R -fcint/cint/src/Type.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. -D__cplusplus – cint/cint/src/Type.cxx
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. -o cint/cint/src/Type.o -c cint/cint/src/Type.cxx
cint/cint/src/Type.cxx:128:15: error: missing binary operator before token "("
cint/cint/src/Type.cxx:141:15: error: missing binary operator before token "("
make: *** [cint/cint/src/Type.o] Error 1
Thanks in advance
Frances
Hi
To complement Qt3.3, I tried the following lower root versions with gcc 4.4.1
Rootv5.20, the following error:
bin/rmkdepend -R -fcint/cint/src/Type.d -Y -w 1000 – -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. -D__cplusplus – cint/cint/src/Type.cxx
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. -o cint/cint/src/Type.o -c cint/cint/src/Type.cxx
cint/cint/src/Type.cxx:128:15: error: missing binary operator before token "("
cint/cint/src/Type.cxx:141:15: error: missing binary operator before token "("
make: *** [cint/cint/src/Type.o] Error 1
Root5.18, the following error:
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/src -pthread -o cint/src/Type.o -c cint/src/Type.cxx
cint/src/Type.cxx:128:15: error: missing binary operator before token "("
cint/src/Type.cxx:141:15: error: missing binary operator before token "("
In file included from cint/src/Type.cxx:18:
cint/src/common.h: In member function ‘bool G__ifunc_table::operator<(const G__ifunc_table&) const’:
cint/src/common.h:1032: warning: suggest parentheses around ‘&&’ within ‘||’
make: *** [cint/src/Type.o] Error 1
Frances
See my reply of “Sun Jan 16, 2011 18:33” here:
[url]$ROOTSYS/etc/system.rootrc GQt problem
Axel
January 21, 2011, 1:28pm
4
Hi,
please move to a newer version, ROOT v5.28.00 compiles fine with GCC 4.4.
Cheers, Axel.
but for Qt4 will it still be
./configure –thread –no-xft –qt-gif –no-exceptions ??
It complains for
-thread: invalid command-line switch
-no-xft: invalid command-line switch
Frances
Axel
January 23, 2011, 6:50am
6
Hi,
it’s --enable… and --disable-… and to my knowledge they are not needed to build with Qt4. If they were needed we should and probably would have this hardwired in configure.
Cheers, Axel.
fclopez
January 23, 2011, 11:09am
7
Hi Axel,
Thanks
I mean to configure Qt4 so that it will work well with Root-v5.28, do i
./configure –thread –no-xft –qt-gif –no-exceptions ??
The above configure instructions is for Qt3, as per User’s manual in version Root5.26.
However in Qt4 ,it complains for :
-thread: invalid command-line switch
-no-xft: invalid command-line switch
Thanks
Axel
January 23, 2011, 11:40am
8
Hi,
We will fix the Users Guide. Building ROOT with ./configure --enable-qt should be enough.
Cheers, Axel.
VIVE L’AMOUR!
I still don’t get the point why you want to compile Qt4 yourself instead of taking the one that your Ubuntu provides?
A pitiful case, am I not?
Pepe Le Pew.