[Qgis-developer] QGIS and platforms

Martin Dobias wonder.sk at gmail.com
Thu Feb 1 17:41:35 EST 2007


On 2/1/07, Tom Russo <tom.km5vy at gmail.com> wrote:
>
> > Also can you try to add this line at the end of CMakeLists.txt in root
> > dir of qgis sources?
> > MESSAGE (STATUS "Threads: ${CMAKE_THREAD_LIBS_INIT}")
> > And see what value will it show when you run CMake.
>
> This is what cmake outputs.
>
> > cmake -DGRASS_PREFIX=/usr/local/grass-6.3.cvs -DQT_QMAKE_EXECUTABLE=/usr/local/Trolltech/Qt-4.2.2/bin/qmake .
> -- Found Proj: /usr/local/lib/libproj.so
> -- Found Sqlite3: /usr/local/lib/libsqlite3.so
> -- Found GEOS: /usr/local/lib/libgeos.so
> -- Found GDAL: /usr/local/lib/libgdal.so
> -- Found PostgreSQL: /usr/local/lib/libpq.so
> -- Found Expat: /usr/local/lib/libexpat.so
> -- Using GSL from /usr/local
> -- Found GRASS: /usr/local/grass-6.3.cvs (6.3.cvs)
> -- Python libraries found
> -- SIP not found!
> -- PyQt4 not found!
> -- Python bindings disabled due dependency problems!
> -- Found Qt-Version 4.2.2
> -- Threads:
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /users/russo/src/qgis_unstable
>
> That is, it finds nothing when looking for threads.

Ok, so it seems like there's a problem in CMake's FindThreads.cmake
module. Do you have some time to find out what goes wrong there? This
should be possible by inspecting some other variables (with the
MESSAGE command) that this module sets, e.g. CMAKE_HAVE_SPROC_H,
CMAKE_HAVE_PTHREAD_H, CMAKE_HAVE_THREADS_LIBRARY

Martin



More information about the Qgis-developer mailing list