When compiling qgis with USE=python it claims that "SIP is required in version 4.7 or later!" and refuses to build with python support, although I have sip-4.10.2 installed. I'm on ~amd64. >>> Emerging (1 of 1) sci-geosciences/qgis-1.4.0-r1 * qgis_1.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: sci-geosciences/qgis-1.4.0-r1 * REPO: gentoo * USE: amd64 elibc_glibc grass kernel_linux multilib postgres python userland_GNU >>> Unpacking source... >>> Unpacking qgis_1.4.0.tar.gz to /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work >>> Source unpacked in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work >>> Preparing source in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0 ... * Applying qgis-1.4.0-gcc45.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0 ... >>> Working in BUILD_DIR: "/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0_build" cmake -C /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DQGIS_MANUAL_SUBDIR=/share/man/ -DBUILD_SHARED_LIBS:BOOL=ON -DBINDINGS_GLOBAL_INSTALL:BOOL=ON -DQGIS_LIB_SUBDIR=lib64 -DQGIS_PLUGIN_SUBDIR=lib64/qgis -DWITH_POSTGRESQL=ON -DWITH_grass=ON -DWITH_GRASS=ON -DWITH_Grass=ON -DWITH_EXPAT=OFF -DWITH_gsl=OFF -DWITH_GSL=OFF -DWITH_Gsl=OFF -DWITH_BINDINGS=ON -DWITH_SPATIALITE=OFF -DGRASS_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_rules.cmake /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0 loading initial cache file /var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for openpty -- Looking for openpty - not found -- Looking for openpty -- Looking for openpty - found -- Found Proj: /usr/lib64/libproj.so -- Found Expat: /usr/lib64/libexpat.so FindGSL.cmake: gsl-config not found. Please set it manually. GSL_CONFIG=GSL_CONFIG-NOTFOUND -- Found GEOS: /usr/lib64/libgeos_c.so -- Found GDAL: /usr/lib64/libgdal.so -- Found Sqlite3: /usr/lib64/libsqlite3.so -- Found PostgreSQL: /usr/lib64/postgresql-9.0/lib64/libpq.so -- Found GRASS: /usr (6.4.0RC6) -- Found PythonLibs: /usr/lib64/libpython2.6.so -- Found PythonInterp: /usr/bin/python -- Python libraries found -- SIP is required in version 4.7 or later! -- Python bindings disabled due dependency problems! -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.6.3 (using /usr/bin/qmake) -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Python not being built -- <<< Gentoo configuration >>>
Created attachment 237745 [details, diff] patch to fix the sip detection I found a way to patch this. The issue is fixed in the next qgis version. See URL and attached patch.
Will rather stabilise 1.7.0.