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

Micha Silver micha at arava.co.il
Sun Feb 28 04:18:53 EST 2010


On 02/26/2010 06:43 PM, Micha Silver wrote:
> Jürgen E. Fischer wrote:
>
>
>> diff -urNad qgis-1.4.0+12730~/cmake/Python.cmake 
>> qgis-1.4.0+12730/cmake/Python.cmake
>> --- qgis-1.4.0+12730~/cmake/Python.cmake    2010-01-07 
>> 11:33:11.000000000 +0100
>> +++ qgis-1.4.0+12730/cmake/Python.cmake    2010-02-05 
>> 18:02:29.000000000 +0100
>> @@ -148,8 +148,8 @@
>>      IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
>>        # check for SIP version
>>        # minimal version is 4.7 (to support universal builds)
>> -      SET (SIP_MIN_VERSION 040700)
>> -      TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION" 
>> SIP_VERSION)
>> +      SET (SIP_MIN_VERSION 263936) # 0x40700
>> +      TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION" 
>> SIP_VERSION)
>>        IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION 
>> GREATER "${SIP_MIN_VERSION}")
>>          SET (SIP_IS_GOOD TRUE)
>>        ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION 
>> GREATER "${SIP_MIN_VERSION}")
>>
>>
>>
>> Jürgen
>>
>
After making the change Jurgen suggested I was able to compile qgis on 
Fedora 12, but I'm still getting a segfault. I re-compiled with 
debugging enabled, i.e.:
cmake -L -DCMAKE_BUILD_TYPE:STRING=Debug ..

Then, after installing, I tried to run qgis under gdb. Here's the result:
micha at hayun-13:~$ gdb /usr/bin/qgis
GNU gdb (GDB) Fedora (7.0.1-32.fc12)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/qgis...done.
(gdb) run
Starting program: /usr/bin/qgis
warning: .dynamic section for "/usr/lib/libproj.so.0" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libpthread.so.0" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libssl.so.10" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libgthread-2.0.so.0" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libICE.so.6" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXinerama.so.1" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libtiff.so.3" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libkeyutils.so.1" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/liblber-2.4.so.2" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/lib/libtinfo.so.5" is not at the 
expected address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
Debug: /home/micha/Download/qgis-1.4.0/src/app/main.cpp: 372: (main) 
Files specified on command line: 1

Program received signal SIGSEGV, Segmentation fault.
0x02606283 in ?? () from /usr/lib/libQtGui.so.4
Missing separate debuginfos, use: debuginfo-install 
GConf2-2.28.0-4.fc12.i686 ORBit2-2.14.17-3.fc12.i686 
cyrus-sasl-lib-2.1.23-4.fc12.i686 dbus-libs-1.2.16-9.fc12.i686 
expat-2.0.1-8.fc12.i686 fftw2-2.1.5-19.fc12.i686 
fontconfig-2.8.0-1.fc12.i686 freetype-2.3.11-3.fc12.i686 
geos-3.2.0-1.fc12.i686 glib2-2.22.4-2.fc12.i686 glibc-2.11.1-1.i686 
keyutils-libs-1.2-6.fc12.i686 krb5-libs-1.7.1-2.fc12.i686 
libICE-1.0.6-1.fc12.i686 libSM-1.1.0-7.fc12.i686 libX11-1.3-1.fc12.i686 
libXau-1.0.5-1.fc12.i686 libXcursor-1.1.10-1.fc12.i686 
libXext-1.1-2.fc12.i686 libXfixes-4.0.4-1.fc12.i686 
libXi-1.3-2.fc12.i686 libXinerama-1.1-1.fc12.i686 
libXrandr-1.3.0-5.fc12.i686 libXrender-0.9.5-1.fc12.i686 
libcap-ng-0.6.2-3.fc12.i686 libcom_err-1.41.9-7.fc12.i686 
libgcc-4.4.3-4.fc12.i686 libgeotiff-1.2.5-5.fc12.i686 
libjpeg-6b-46.fc12.i686 libpng-1.2.42-1.fc12.i686 
libselinux-2.0.90-3.fc12.i686 libstdc++-4.4.3-4.fc12.i686 
libtiff-3.9.2-3.fc12.i686 libuuid-2.16.2-6.fc12.i686 
libxcb-1.5-1.fc12.i686 ncurses-libs-5.7-3.20090207.fc12.i686 
nss-softokn-freebl-3.12.4-10.fc12.i686 openldap-2.4.19-1.fc12.i686 
openssl-1.0.0-0.13.beta4.fc12.i686 postgresql-libs-8.4.2-1.fc12.i686 
proj-4.6.1-3.fc12.i686 qt-4.6.2-1.fc12.i686 qt-x11-4.6.2-1.fc12.i686 
sqlite-3.6.20-1.fc12.i686 zlib-1.2.3-23.fc12.i686

Any tips where to go from here?
Thanks,

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



More information about the Qgis-developer mailing list