[Qgis-developer] Problem with python bindings

Martin Dobias wonder.sk at gmail.com
Thu Mar 6 16:40:23 EST 2008


On Wed, Mar 5, 2008 at 5:49 PM, Carlos Dávila
<cdavilam at jemila.jazztel.es> wrote:
>  This is what I get:
>  ~/Paquetes/qgis/0.9.2/build/python$ python configure.py
>  Parsing SIP files for 'core' library...
>  sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I
>  dir] [-j #]                       [-m file] [-p module] [-r] [-s suffix]
>  [-t tag] [-w] [-x feature] [-z file] [fi                      le]
>  Parsing SIP files for 'gui' library...
>  sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I
>  dir] [-j #]                       [-m file] [-p module] [-r] [-s suffix]
>  [-t tag] [-w] [-x feature] [-z file] [fi                      le]
>  Creating makefiles...
>  Creating qgisconfig.py...
>  Done

This looks bad... sip just shows its usage instead of running actually
the command it should. From r8192 it will also show the SIP command
line it runs. Can you update your SVN and paste how does it look like?


>  I have tried compiling a fresh svn in a different partition (to rule out
>  permission issues) and the result is different:
>  [ 66%] Generating core/Makefile, gui/Makefile
>  Parsing SIP files for 'core' library...
>  Parsing SIP files for 'gui' library...
>  Creating makefiles...
>  Creating qgisconfig.py...
>  Done
>  [ 66%] Generating core/core.so
>  make[3]: g++: program not found
>  make[3]: *** [sipcorecmodule.o] Error 127
>  make[2]: *** [python/core/core.so] Error 2
>  make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
>  make: *** [all] Error 2
>
>  I have seen cmake_cxx_compiler is different between the two machines I'm
>  working on. The one I can compile without errors uses /usr/bin/c++ and
>  the one with problems uses /usr/bin/g++-4.2, so I guess the problem can
>  come from this. I'll test tomorrow and comment the result.

What system is that?

Martin


More information about the Qgis-developer mailing list