[Qgis-developer] cmake problems on RHEL/64bit

Markus Neteler neteler at itc.it
Tue Jan 23 05:45:59 EST 2007


Hi,

I no longer manage to compile QGIS SVN HEAD on RHEL/64bit
using cmake. Last week it magically worked. This is what
happens:

sh cmake_qgis.sh
-- Found Proj: /usr/lib64/libproj.so
-- Found Sqlite3: /usr/lib64/libsqlite3.so
-- Found GEOS: /usr/lib64/libgeos.so
-- Found GDAL: /usr/local/lib/libgdal.so
-- Found PostgreSQL: /usr/lib64/libpq.so
-- Found Expat: /usr/lib64/libexpat.so
-- Using GSL from /usr
-- Found GRASS: /ssi0/ssi/neteler/grass63/dist.x86_64-unknown-linux-gnu (6.3.cvs)
-- Python libraries found
-- SIP not found!
-- PyQt4 not found!
-- Python bindings disabled due dependency problems!
CMake Error: Error in cmake code at
/usr/share/cmake/Modules/FindQt4.cmake:857:
MESSAGE Qt qmake not found!
Current CMake stack: /hardmnt/bartok0/ssi/neteler/software/qgis_unstable/CMakeLists.txt;/usr/share/cmake/Modules/CMakeCInformation.cmake;/usr/share/cmake/Modules/CMakeCXXInformation.cmake;/usr/share/cmake/Modules/FindQt4.cmake
-- Configuring done
make: *** No targets specified and no makefile found.  Stop.

echo $PATH
/usr/lib64/qt4/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:/ssi0/ssi/neteler/bin

echo $LD_LIBRARY_PATH
/usr/lib64/qt4/lib64:/usr/local/lib/qgis/lib/:/lib

which qmake
/usr/lib64/qt4/bin/qmake

########
My meta configuration script contains:

QGISTARGET=/usr/local/lib/qgis/
GRASSBINS=/ssi0/ssi/neteler/grass63/dist.x86_64-unknown-linux-gnu
QT4DIR=/usr/lib64/qt4
export PATH=${QT4DIR}/bin:$PATH
export LD_LIBRARY_PATH=${QT4DIR}/lib64:$LD_LIBRARY_PATH
mkdir -p build
cd build
cmake -D GRASS_PREFIX=${GRASSBINS} -D CMAKE_INSTALL_PREFIX=${QGISTARGET} -D QT_BINARY_DIR=${QT4DIR}/bin..

Any ideas? I don't know how to debug the problem with cmake.
Thanks,
Markus

-- 
Markus Neteler  <neteler itc it>  http://mpa.itc.it/markus/
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy



More information about the Qgis-developer mailing list