[Qgis-developer] Fedroa 12 and new version of qt

Micha Silver micha at arava.co.il
Fri Feb 26 08:06:23 EST 2010


On 02/26/2010 02:14 PM, Jürgen E. Fischer wrote:
> Hi Micha,
>
> On Fri, 26. Feb 2010 at 14:06:06 +0200, Micha Silver wrote:
>    
>> And Now qgis segfaults. This is a self compiled 1.4.0 installation. When
>> I try to recompile the error is:
>>      
>    
>>    [  7%] Building CXX object
>> src/core/CMakeFiles/qgis_core.dir/moc_qgsapplication.cxx.o
>>      
>
>    
>> /home/micha/Download/qgis-1.4.0/build/src/core/moc_qgsapplication.cxx:14:2:
>> error: #error "This file was generated using the moc from 4.5.3. It"
>>      
> Did you try that from a fresh build directory?   Looks like you didn't - or you
> are still using an the 4.5.3 moc, but new 4.6.2 libraries (check with moc -v).
>
>
> Jürgen
>
>    
Yes, you're right. I now tried a fresh directory and I get:

micha at hayun-13:~/Download/qgis-1.4.0/build$ cmake 
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/qgis-1.4.0 
-DGDAL_CONFIG:FILEPATH=/usr/local/bin/gdal-config 
-DGRASS_PREFIX:PATH=/usr/local/grass-6.4/grass-6.4.0RC5 -L ..
-- Found Proj: /usr/lib/libproj.so
-- Found Expat: /usr/lib/libexpat.so
-- Using GSL from /usr
-- Found GEOS: /usr/lib/libgeos_c.so
-- Found GDAL: /usr/local/lib/libgdal.so
-- Found PostgreSQL: /usr/lib/libpq.so
-- Found GRASS: /usr/local/grass-6.4/grass-6.4.0RC5 (6.4.0RC5)
-- Python libraries found
-- SIP is required in version 4.7 or later!
-- Python bindings disabled due dependency problems!
-- Python not being built
^^^^^^^^^^^^^^^^^^^^^^^

-- Configuring done
-- Generating done
-- Build files have been written to: /home/micha/Download/qgis-1.4.0/build
-- Cache values
... <more lines> ...
SIP_BINARY_PATH:FILEPATH=/usr/bin/sip
SIP_INCLUDE_DIR:PATH=/usr/include/python2.6

The sip.h is indeed in /usr/include/python2.6
What am I missing for getting python included?

Cheers

-- 
Micha Silver
http://www.surfaces.co.il/
Arava Development Co.  +972-52-3665918



More information about the Qgis-developer mailing list