From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27853 invoked by alias); 5 Mar 2012 01:19:03 -0000 Received: (qmail 27839 invoked by uid 22791); 5 Mar 2012 01:19:01 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f171.google.com (HELO mail-iy0-f171.google.com) (209.85.210.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Mar 2012 01:18:46 +0000 Received: by iadj38 with SMTP id j38so5748284iad.2 for ; Sun, 04 Mar 2012 17:18:46 -0800 (PST) Received-SPF: pass (google.com: domain of yselkowitz@gmail.com designates 10.50.6.227 as permitted sender) client-ip=10.50.6.227; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yselkowitz@gmail.com designates 10.50.6.227 as permitted sender) smtp.mail=yselkowitz@gmail.com; dkim=pass header.i=yselkowitz@gmail.com Received: from mr.google.com ([10.50.6.227]) by 10.50.6.227 with SMTP id e3mr5211576iga.47.1330910326061 (num_hops = 1); Sun, 04 Mar 2012 17:18:46 -0800 (PST) Received: by 10.50.6.227 with SMTP id e3mr4356671iga.47.1330910326003; Sun, 04 Mar 2012 17:18:46 -0800 (PST) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id df2sm15560380igb.0.2012.03.04.17.18.44 (version=SSLv3 cipher=OTHER); Sun, 04 Mar 2012 17:18:45 -0800 (PST) Message-ID: <1330910325.6708.16.camel@YAAKOV04> Subject: Building ROOT (was Re: Updated: qt4-4.7.4-3) From: "Yaakov (Cygwin/X)" To: cygwin-xfree@cygwin.com Date: Mon, 05 Mar 2012 01:19:00 -0000 In-Reply-To: <4F527B7D.9040906@alice.it> References: <4F527B7D.9040906@alice.it> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-03/txt/msg00013.txt.bz2 On Sat, 2012-03-03 at 21:13 +0100, Angelo Graziosi wrote: > Trying to build a CERN application, ROOT [*], it fails in this way: >=20 > [...] > g++ -O2 -pipe -Wall -Woverloaded-virtual -Iinclude -I/usr/X11R6/include=20 > -DQT3_SUPPORT -DQT_DLL -DQT_THREAD_SUPPORT -I. -I/usr/include/qt4=20 > -I/usr/include/qt4/Qt -I/usr/include/qt4/Qt3Support=20 > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui=20 > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtOpenGL=20 > -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg=20 > -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtWebKit=20 > -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -o=20 > gui/qtgsi/src/TQCanvasImp.o -c /tmp/root/gui/qtgsi/src/TQCanvasImp.cxx > Generating dictionary gui/qtgsi/src/G__QtGSI.cxx... > core/utils/src/rootcint_tmp.exe -cint -f gui/qtgsi/src/G__QtGSI.cxx -c=20 > -DQTVERS=3D4 /tmp/root/gui/qtgsi/inc/TQApplication.h=20 > /tmp/root/gui/qtgsi/inc/TQRootDialog.h=20 > /tmp/root/gui/qtgsi/inc/TQRootCanvas.h=20 > /tmp/root/gui/qtgsi/inc/TQRootGuiFactory.h=20 > /tmp/root/gui/qtgsi/inc/TQCanvasMenu.h=20 > /tmp/root/gui/qtgsi/inc/TQRootApplication.h=20 > /tmp/root/gui/qtgsi/inc/TQCanvasImp.h /tmp/root/gui/qtgsi/inc/LinkDef.h > Error: Symbol QCloseEvent is not defined in current scope=20 > include/TQRootDialog.h:81: > Error: Symbol ce is not defined in current scope include/TQRootDialog.h:= 81: > Error: void type variable can not be declared include/TQRootDialog.h:81: > Error: Syntax error include/TQRootCanvas.h:159: > Warning: Error occurred during reading source files > Warning: Error occurred during dictionary source generation > !!!Removing gui/qtgsi/src/G__QtGSI.cxx gui/qtgsi/src/G__QtGSI.h !!! > Error: core/utils/src/rootcint_tmp: error loading headers... > /tmp/root/gui/qtgsi/Module.mk:69: recipe for target=20 > `gui/qtgsi/src/G__QtGSI.cxx' failed > make: *** [gui/qtgsi/src/G__QtGSI.cxx] Error 1 I believe this is a problem in the ROOT sources, not qt4, but I can't be sure since... > To reproduce: >=20 > $ wget ftp://root.cern.ch/root/root_v5.32.01.source.tar.gz > $ tar -xf root_v5.32.01.source.tar.gz > $ cd root >=20 > $ ./configure win32gcc --enable-qt --with-qt-incdir=3D/usr/include/qt4=20 > --with-qt-libdir=3D/usr/lib/qt4/lib 2>&1 | tee /tmp/build-ROOT.log >=20 > $ make 2>&1 | tee -a /tmp/build-ROOT.log >=20 > ROOT builds fine with QT4 4.5 on Cygwin and on GNU/Linux Kubuntu with=20 > QT4 4.7.4. I have unrelated problems building ROOT: Generating dictionary graf3d/g3d/src/G__G3D.cxx... core/utils/src/rootcint_tmp.exe -cint -f graf3d/g3d/src/G__G3D.cxx -c /usr/= src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TTUBS.h /usr/src/port= s/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TPARA.h /usr/src/ports/root/r= oot-5.32.01-1/src/root/graf3d/g3d/inc/TNodeDiv.h /usr/src/ports/root/root-5= .32.01-1/src/root/graf3d/g3d/inc/TGeometry.h /usr/src/ports/root/root-5.32.= 01-1/src/root/graf3d/g3d/inc/TCTUB.h /usr/src/ports/root/root-5.32.01-1/src= /root/graf3d/g3d/inc/TPolyMarker3D.h /usr/src/ports/root/root-5.32.01-1/src= /root/graf3d/g3d/inc/TTUBE.h /usr/src/ports/root/root-5.32.01-1/src/root/gr= af3d/g3d/inc/TMaterial.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d= /g3d/inc/TNode.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc= /TAxis3D.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TRotM= atrix.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TELTU.h = /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TTRD1.h /usr/src= /ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TXTRU.h /usr/src/ports/r= oot/root-5.32.01-1/src/root/graf3d/g3d/inc/TShape.h /usr/src/ports/root/roo= t-5.32.01-1/src/root/graf3d/g3d/inc/TPCON.h /usr/src/ports/root/root-5.32.0= 1-1/src/root/graf3d/g3d/inc/TBRIK.h /usr/src/ports/root/root-5.32.01-1/src/= root/graf3d/g3d/inc/THYPE.h /usr/src/ports/root/root-5.32.01-1/src/root/gra= f3d/g3d/inc/TPointSet3D.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3= d/g3d/inc/TCONE.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/in= c/TMarker3DBox.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc= /TGTRA.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TPoints= 3DABC.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TPolyLin= e3D.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TSPHE.h /u= sr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/inc/TPGON.h /usr/src/p= orts/root/root-5.32.01-1/src/root/graf3d/g3d/inc/THelix.h /usr/src/ports/ro= ot/root-5.32.01-1/src/root/graf3d/g3d/inc/TView3D.h /usr/src/ports/root/roo= t-5.32.01-1/src/root/graf3d/g3d/inc/TTRAP.h /usr/src/ports/root/root-5.32.0= 1-1/src/root/graf3d/g3d/inc/TCONS.h /usr/src/ports/root/root-5.32.01-1/src/= root/graf3d/g3d/inc/TMixture.h /usr/src/ports/root/root-5.32.01-1/src/root/= graf3d/g3d/inc/TTRD2.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g= 3d/inc/LinkDef.h /usr/src/ports/root/root-5.32.01-1/src/root/graf3d/g3d/Module.mk:55: recipe= for target `graf3d/g3d/src/G__G3D.cxx' failed make: *** [graf3d/g3d/src/G__G3D.cxx] Floating point exception make: *** Deleting file `graf3d/g3d/src/G__G3D.cxx' Generating dictionary tree/treeplayer/src/G__TreePlayer.cxx... core/utils/src/rootcint_tmp.exe -cint -f tree/treeplayer/src/G__TreePlayer.= cxx -c /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TTre= ePlayer.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/T= TreeIndex.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc= /TSelectorDraw.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplaye= r/inc/TBranchProxyClassDescriptor.h /usr/src/ports/root/root-5.32.01-1/src/= root/tree/treeplayer/inc/TBranchProxyTemplate.h /usr/src/ports/root/root-5.= 32.01-1/src/root/tree/treeplayer/inc/TFriendProxy.h /usr/src/ports/root/roo= t-5.32.01-1/src/root/tree/treeplayer/inc/TFriendProxyDescriptor.h /usr/src/= ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TFileDrawMap.h /usr/= src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TSelectorEntries= .h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TTreeFor= mulaManager.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/i= nc/TChainIndex.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplaye= r/inc/TBranchProxy.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treep= layer/inc/TBranchProxyDescriptor.h /usr/src/ports/root/root-5.32.01-1/src/r= oot/tree/treeplayer/inc/TTreeProxyGenerator.h /usr/src/ports/root/root-5.32= .01-1/src/root/tree/treeplayer/inc/TBranchProxyDirector.h /usr/src/ports/ro= ot/root-5.32.01-1/src/root/tree/treeplayer/inc/TTreePerfStats.h /usr/src/po= rts/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TTreeFormula.h /usr/sr= c/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TFormLeafInfoRefer= ence.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TRef= Proxy.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/inc/TTr= eeDrawArgsParser.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treepla= yer/inc/TFormLeafInfo.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/tr= eeplayer/inc/TRefArrayProxy.h /usr/src/ports/root/root-5.32.01-1/src/root/t= ree/treeplayer/inc/TTreeTableInterface.h /usr/src/ports/root/root-5.32.01-1= /src/root/tree/treeplayer/inc/LinkDef.h /usr/src/ports/root/root-5.32.01-1/src/root/tree/treeplayer/Module.mk:52: r= ecipe for target `tree/treeplayer/src/G__TreePlayer.cxx' failed make: *** [tree/treeplayer/src/G__TreePlayer.cxx] Floating point exception make: *** Deleting file `tree/treeplayer/src/G__TreePlayer.cxx' Generating dictionary core/rint/src/G__Rint.cxx... core/utils/src/rootcint_tmp.exe -cint -f core/rint/src/G__Rint.cxx -c /usr/= src/ports/root/root-5.32.01-1/src/root/core/rint/inc/TRint.h /usr/src/ports= /root/root-5.32.01-1/src/root/core/rint/inc/TTabCom.h /usr/src/ports/root/r= oot-5.32.01-1/src/root/core/rint/inc/LinkDef.h /usr/src/ports/root/root-5.32.01-1/src/root/core/rint/Module.mk:50: recipe = for target `core/rint/src/G__Rint.cxx' failed make: *** [core/rint/src/G__Rint.cxx] Floating point exception make: *** Deleting file `core/rint/src/G__Rint.cxx' Generating dictionary montecarlo/vmc/src/G__VMC.cxx... core/utils/src/rootcint_tmp.exe -cint -f montecarlo/vmc/src/G__VMC.cxx -c /= usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/inc/TMCVerbose.h = /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/inc/TVirtualMCGe= ometry.h /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/inc/TMC= Optical.h /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/inc/TV= irtualMCStack.h /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/= inc/TGeoMCGeometry.h /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo= /vmc/inc/TVirtualMCApplication.h /usr/src/ports/root/root-5.32.01-1/src/roo= t/montecarlo/vmc/inc/TPDGCode.h /usr/src/ports/root/root-5.32.01-1/src/root= /montecarlo/vmc/inc/TMCParticleType.h /usr/src/ports/root/root-5.32.01-1/sr= c/root/montecarlo/vmc/inc/TMCProcess.h /usr/src/ports/root/root-5.32.01-1/s= rc/root/montecarlo/vmc/inc/TVirtualMC.h /usr/src/ports/root/root-5.32.01-1/= src/root/montecarlo/vmc/inc/LinkDef.h Error: Too many initializers, exceeded length of array for 'TMCProcessName'= include/TMCProcess.h:88: Warning: Error occurred during reading source files Warning: Error occurred during dictionary source generation !!!Removing montecarlo/vmc/src/G__VMC.cxx montecarlo/vmc/src/G__VMC.h !!! Error: core/utils/src/rootcint_tmp: error loading headers... /usr/src/ports/root/root-5.32.01-1/src/root/montecarlo/vmc/Module.mk:51: re= cipe for target `montecarlo/vmc/src/G__VMC.cxx' failed make: *** [montecarlo/vmc/src/G__VMC.cxx] Error 1 > Another strange thing I notice is that I need to add >=20 > --with-qt-incdir=3D/usr/include/qt4 --with-qt-libdir=3D/usr/lib/qt4/lib >=20 > to "./configure..." This is neither strange nor new. This setup is required to allow qt4 to be parallel-installable with other major versions of Qt (originally with qt3, and soon with qt5). Yaakov Cygwin/X -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/