Hi,
a while back I was successful in following all of the steps here at root.bnl.gov/ and got Qt to work with root under Ubuntu. At this point I would like to make sure that some of the code that I have written will work under Windows 7 too. After installing cygwin (with all of the available packages) and VS2008 Express edition I ran the Install script that is available. The only changes I made to it is the root version to be downloaded and also using Jedit I changed the way the line ends were represented (used to get alot of ‘\r’ unknown command errors). The cygwin bat file looks like this
@echo off
C:
chdir C:\cygwin2\bin
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
bash --login -i
The script starts running ok and it downloads all of the necessary files but when it tries to install Qt the following happens (please view the attached log).
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Shashi@Shashi-PC ~
$ cd C:
Shashi@Shashi-PC /cygdrive/c
$ cd qtRoot/
Shashi@Shashi-PC /cygdrive/c/qtRoot
$ ./INSTALL_QTROOT.sh
CYGWIN_NT-6.1
----- QT_CONF_OPT=------
----- QT_CONF_OPT= -opensource -no-exceptions -confirm-license ------
=========================================
(L.B.)
This will compile and install QT+ROOT(+COIN3D) in the current directory!!
Current config: Qt v.4.6.2 opensource, ROOT v.5.30.00
dir=/cygdrive/c/qtRoot
PLATFORM=Win, make will use 2 cpu(s)
It will require ~1-2 hours and ~3 Gb on disk. Current dir disk space is:
Filesystem Size Used Avail Use% Mounted on
C: 103G 43G 60G 42% /cygdrive/c
=========================================
Do you want to proceed? (yes/no) yes
Do you want to install COIN3D also? (yes/no) yes
Make sure your ROOT version is known bug free ;)
-----------------------------------------------
Bug: https://savannah.cern.ch/bugs/\?59014
Patch: https://savannah.cern.ch/bugs/download.php\?file_id=12905
Bug: https://savannah.cern.ch/bugs/\?65402
Patch: https://savannah.cern.ch/bugs/download.php\?file_id=13273
-----------------------------------------------
>>>>> COMPILATION STARTS. Be patient...
/usr/bin/wget
Answer "no" to the question: "replace $QTPKG/configure?"
replace qt-everywhere-opensource-src-4.6.2/configure? [y]es, [n]o, [A]ll, [N]one
, [r]ename: no
total 1.3M
-rw-r--r--+ 1 Shashi None 675 Feb 11 2010 INSTALL
-rw-r--r--+ 1 Shashi None 1.2K Feb 11 2010 LGPL_EXCEPTION.txt
-rw-r--r--+ 1 Shashi None 37K Feb 11 2010 LICENSE.GPL3
-rw-r--r--+ 1 Shashi None 27K Feb 11 2010 LICENSE.LGPL
-rw-r--r--+ 1 Shashi None 3.6K Feb 11 2010 README
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:17 bin
-rw-r--r--+ 1 Shashi None 8.5K Feb 11 2010 changes-4.6.2
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:17 config.tests
-rw-r--r--+ 1 Shashi None 1.1M Feb 11 2010 configure.exe
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 demos
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 doc
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:17 examples
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 include
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 lib
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 mkspecs
-rw-r--r--+ 1 Shashi None 6.2K Feb 11 2010 projects.pro
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 qmake
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:17 src
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 tools
drwxr-xr-x+ 1 Shashi None 0 Jun 29 10:16 translations
This is the Qt for Windows Open Source Edition.
You have already accepted the terms of the license.
Environment:
INCLUDE=
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
LIB=
C:\Program Files\Microsoft Visual Studio 9.0\VC\LIB
C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib
PATH=
C:\qtRoot\root\bin
C:\qtRoot\Qt-4.6.2\bin
C:\cygwin2\usr\local\bin
C:\cygwin2\bin
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
C:\Windows\Microsoft.NET\Framework\v3.5
C:\Windows\Microsoft.NET\Framework\v2.0.50727
C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\QuickTime\QTSystem
C:\Program Files\Microsoft SQL Server\100\Tools\Binn
C:\Program Files\Microsoft SQL Server\100\DTS\Binn
C:\Program Files\jEdit
C:\BNL\ROOT\lib
C:\BNL\ROOT\bin
C:\BNL\ROOT\include
C:\cygwin2
C:\cygwin2\lib\lapack
You are licensed to use this software under the terms of the GNU GPL version 3.Y
ou are licensed to use this software under the terms of the Lesser GNU LGPL vers
ion 2.1.
See C:/qtRoot/Qt-4.6.23
or C:/qtRoot/Qt-4.6.2L
Configuration:
minimal-config
small-config
medium-config
large-config
full-config
build_all
debug
Qt Configuration:
release
debug
zlib
png
accessibility
qt3support
opengl
s60
ipv6
script
scripttools
phonon
phonon-backend
multimedia
audio-backend
native-gestures
svg
minimal-config
small-config
medium-config
large-config
full-config
QMAKESPEC...................cygwin-g++ (env)
Architecture................windows
Maketool....................make
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........no
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............no
QtDBus support..............no
QtXmlPatterns support.......no
Phonon support..............yes
QtMultimedia support........yes
WebKit support..............no
Declarative support.........no
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes
Third Party Libraries:
ZLIB support............qt
GIF support.............plugin
TIFF support............plugin
JPEG support............plugin
PNG support.............qt
MNG support.............plugin
FreeType support........no
Styles:
Windows.................yes
Windows XP..............yes
Windows Vista...........yes
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes
Windows CE..............no
Windows Mobile..........no
S60.....................no
Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................plugin (qt)
SQLite2.................no
InterBase...............no
Sources are in..............C:\qtRoot\Qt-4.6.2
Build is done in............C:\qtRoot\Qt-4.6.2
Install prefix..............C:\qtRoot\Qt-4.6.2
Headers installed to........C:\qtRoot\Qt-4.6.2\include
Libraries installed to......C:\qtRoot\Qt-4.6.2\lib
Plugins installed to........C:\qtRoot\Qt-4.6.2\plugins
Binaries installed to.......C:\qtRoot\Qt-4.6.2\bin
Docs installed to...........C:\qtRoot\Qt-4.6.2\doc
Data installed to...........C:\qtRoot\Qt-4.6.2
Translations installed to...C:\qtRoot\Qt-4.6.2\translations
Examples installed to.......C:\qtRoot\Qt-4.6.2\examples
Demos installed to..........C:\qtRoot\Qt-4.6.2\demos
Symbian DEF files enabled...yes
Running syncqt...
cygwin warning:
MS-DOS style path detected: \bin\uname
Preferred POSIX equivalent is: /cygdrive/c/bin/uname
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
header created for C:/qtRoot/Qt-4.6.2/src/corelib/global/qconfig.h (1)
header (master) created for QtCore
headers.pri file created for QtCore
header (master) created for QtXml
headers.pri file created for QtXml
headers.pri file created for QtXmlPatterns
headers.pri file created for ActiveQt
header (master) created for QtTest
headers.pri file created for QtSql
header (master) created for QtGui
headers.pri file created for QtGui
headers.pri file created for QtDesigner
header (master) created for Qt3Support
headers.pri file created for Qt3Support
Creating qmake...
Makefile:12: *** missing separator. Stop.
Makefile:12: *** missing separator. Stop.
Cleaning qmake failed, return code 2
SOME FATAL ERROR DURING EXECUTION, SORRY...
Please advise on what to do next or if I need to provide additional data.
Thank you in advance!
Radu
log.txt (8.08 KB)