Compile Error for Version 5.27.06 at TQtPadFont.cxx:63

Hi,

I am trying to compile root 5.27.06 on ubuntu 8.04 x86_64 with the following configuration options:

./configure --prefix=/afs/.e4.physik.uni-dortmund.de/sw/root-system/linux-ubuntu-8.04-x86_64/5.27.06 --fail-on-missing --enable-asimage --enable-astiff --enable-cintex --enable-clarens --enable-explicitlink --enable-fftw3 --enable-gdml --enable-gsl-shared --enable-krb5 --enable-ldap --enable-mathmore --enable-minuit2 --enable-mysql --enable-odbc --enable-opengl --enable-peac --enable-pgsql --enable-python --enable-qt --enable-qtgsi --enable-reflex --enable-roofit --enable-ruby --enable-shadowpw --enable-shared --enable-soversion --enable-ssl --enable-table --enable-unuran --enable-xml --enable-xft --enable-xrootd --disable-afs --disable-alien --disable-castor --disable-builtin-afterimage --disable-builtin-freetype --enable-builtin-ftgl --disable-builtin-pcre --disable-builtin-zlib --disable-chirp --disable-dcache --disable-gfal --disable-globus --disable-monalisa --disable-oracle --disable-pythia6 --disable-rfio --disable-rpath --disable-sapdb --disable-srp
When I run make, the build stops at the following point:

bin/rmkdepend -R -fgraf2d/qt/src/TQtPadFont.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtXml -D__cplusplus -- graf2d/qt/src/TQtPadFont.cxx g++ -O2 -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -DR__HAVE_CONFIG -pthread -DQT_GUI_LIB -DQT_CORE_LIB -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/mkspecs/default -I. -I/usr/include/qt4 -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtXml -o graf2d/qt/src/TQtPadFont.o -c graf2d/qt/src/TQtPadFont.cxx graf2d/qt/src/TQtPadFont.cxx: In function 'float CalibrateFont()': graf2d/qt/src/TQtPadFont.cxx:63: error: no match for 'operator<<' in '((QDebug*)((QDebug*)((QDebug*)((QDebug*)((QDebug*)((QDebug*)((QDebug*)qDebug()().QDebug::operator<<(((const char*)" Font metric w = ")))->QDebug::operator<<(w))->QDebug::operator<<(((const char*)" h = ")))->QDebug::operator<<(h))->QDebug::operator<<(((const char*)"points=")))->QDebug::operator<<(pattern.TQtPadFont::<anonymous>.QFont::pointSize()))->QDebug::operator<<(((const char*)"pixels=")))->QDebug::operator<<(pattern.TQtPadFont::<anonymous>.QFont::pixelSize()) << pattern'

Qt4 is installed on my system. Any help would be appreciated.

With regards,

Moritz

I cannot reproduce this problem. What is your version of Qt (I have 4.4.2) and gcc? (I tried with gcc4.3 and gcc4.4.3)

Rene

Hi Rene,

my versions are a little bit older. I am using Qt 4.3.4 and gcc 4.2.4.

Thanks for looking into this,

Moritz

Hi, Can you just comment out that statement:

qDebug() << " Font metric w = " << w <<" h = "<< h << "points=" << pattern.pointSize() << "pixels=" << pattern.pixelSize() << pattern;to see whether you can move on with your Qt version?

You may regard to follow root.bnl.gov/QtRoot/How2Install4Unix.html It wtill install the fresh version of Qt. Be aware that we did not test the current QtRoot against of your Qt version.

Thanks for your help,

with this changes, the compilation process proceeds now.

With regards,

Moritz

Thank you, I’ll adjust the SVN