[Qgis-developer] Lib_Refactoring-branch merged (problem with bulding python support)

Philipp Auersperg phil at bluedynamics.com
Tue Jan 9 20:27:08 EST 2007

Hi Martin!

Thanks alot for this effort. Building with cmake (2.4.3) works fine  
under Ubuntu Edgy
with apt-installed python, qt4 etc...

But when I apt-install python-dev (2.4.3) python is included in the  
build process, but leads
to an error. the cmake command itself passes fine, but the make  
process fails with the following output:

....[ 65%] Generating qgis_se.qm
Updating '/home/phil/dev/qgis1/qgis/build/i18n/qgis_se.qm'...
     Generated 1004 translations (635 finished and 369 unfinished)
     Ignored 1282 untranslated source texts
[ 68%] Built target translations
[ 68%] Generating ../../python/run_sip
Parsing SIP files for 'core' library...
sip: Unable to find file "QtCore/QtCoremod.sip"
Parsing SIP files for 'gui' library...
sip: Unable to find file "QtCore/QtCoremod.sip"
Creating makefiles...
Error: Unable to open "/home/phil/dev/qgis1/qgis/python/core/ 
core.sbf": [Errno
2] No such file or directory: '/home/phil/dev/qgis1/qgis/python/core/ 
make[2]: *** [../python/run_sip] Error 1
make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
make: *** [all] Error 2

Can perhaps somebody give me a hint?

kind regards
Philipp Auersperg

Am 09.01.2007 um 04:23 schrieb Martin Dobias:

> Hi all,
> I'm pleased to announce that after many months all the changes from
> refactoring branch were merged to SVN trunk (revision 6415).
> As mentioned in previous thread, you should use new build system based
> on CMake. That means that first of all you need it on your system -
> version 2.4.3 or later is required. The only dependency of CMake is
> C++ compiler so you don't have to worry about its dependencies.
> (don't try to use 'configure' or 'autogen.sh' scripts - autotools
> support is currently broken)
> The preferred way how to compile it:
> 1. configuration: cmake allows keep all build-specific files in a
> separate directory. You can use e.g. directory called 'build' and run
> cmake there.
> mkdir build
> cd build
> cmake ..
> If you have luck, cmake will detect everything for you. Otherwise
> you'll need to run configuration utility.
> - ccmake on linux/unix
> - cmakesetup on windows
> You have to pass it a directory as an argument where it should
> operate. So if you're in the 'build' directory, just use: cmake .
> There are several variables to tweak in configuration utility, you
> might be especially interested in these ones:
> - CMAKE_INSTALL_PREFIX - where to install it
> - CMAKE_BUILD_TYPE - whether to build Release or Debug version
> When everything is configured, just use make and make install as  
> usually.
> To run QGIS, probably you'll need to set path to the qgis  
> libraries, e.g.:
> export LD_LIBRARY_PATH=/home/wonder/qgis/lib
> These instructions should suffice for basic setup - build system is
> not yet fully mature so you maybe hit some problems. Please report
> them to this mailing list and we'll try to help you.
> Regards,
> Martin
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer

More information about the Qgis-developer mailing list