[Qgis-developer] Cmake and the unhappy python build]

Mark Coletti mcoletti at lychnobite.org
Tue Apr 10 16:51:09 EDT 2007

----- Forwarded message from Mark Coletti <mcoletti at lychnobite.org> -----

Date: Tue, 10 Apr 2007 16:13:11 -0400
From: Mark Coletti <mcoletti at lychnobite.org>
Cc: QGIS <qgis-developer at lists.qgis.org>
Subject: Re: [Qgis-developer] Cmake and the unhappy python build

On Mon, Apr 09, 2007 at 05:53:40PM +0200, Martin Dobias wrote:
> On 4/7/07, Mark Coletti <mcoletti at lychnobite.org> wrote:
> >
> >mcoletti at mcolettib886:~/projects/qgis> make
> >[  0%] Built target svnversion
> >[  9%] Built target ui
> >[ 27%] Built target qgis_core
> >[ 33%] Built target qgis_gui
> >[ 65%] Built target qgis
> >[ 69%] Built target translations
> >make[2]: *** No rule to make target `src/core/libqgis_core.so', needed by 
> >`python/core/Makefile'.  Stop.
> >make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
> >make: *** [all] Error 2

----- End forwarded message -----

  A temporary work around is to create symbolic links to the existing
  libraries for which the make file is looking.  Note that this will
  have to be done for both 'libqgis_core.so' and 'libqgis_gui.so', as

mcoletti at mcolettib886:~/projects/qgis> ln -s ~/lib/libqgis_core.so src/core/libqgis_core.so
mcoletti at mcolettib886:~/projects/qgis> ln -s ~/lib/libqgis_gui.so src/gui/libqgis_gui.so

  I suspect that the problem cause is because I want to install qgis
  and the python bindings in my home directory.  That is, some CMake
  settings might presume that global bindings and '/usr/local' as the
  default prefix.  I admit this is just a guess.  Maybe someone else
  can try to build and install everything into their home directory to
  possibly reproduce my errors?



More information about the Qgis-developer mailing list