[Qgis-developer] Cmake and the unhappy python build (was: cannot find FLEX problem ...)

Mark Coletti mcoletti at lychnobite.org
Fri Apr 6 19:20:57 EDT 2007


On Fri, Apr 06, 2007 at 01:16:08PM -0800, Gary Sherman wrote:
> On Apr 6, 2007, at 1:00 PM, Mark Coletti wrote:
> 
> >mcoletti at mcolettib886:~/projects/qgis> cmake .
> >CMake Error: Error in cmake code at
> >/home/mcoletti/projects/qgis/CMakeLists.txt:47:
> 
> Also see: http://wiki.qgis.org/qgiswiki/PythonBindings and http:// 
> wiki.qgis.org/qgiswiki/Building_with_CMake

  Yep, had been using those; thanks for the tip, anyhoo.

  And, now I'm getting this:

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


According to the Wiki, it should find the qgis core libraries.  I've
set LD_LIBRARY_PATH:

mcoletti at mcolettib886:~/projects/qgis> echo $LD_LIBRARY_PATH
/home/mcoletti/lib


And that directory contains the qgis core library it's whining about:

mcoletti at mcolettib886:~/projects/qgis> ll $LD_LIBRARY_PATH/*core.so
-rwxr-xr-x 1 mcoletti users 15760584 2007-04-06 17:48 /home/mcoletti/lib/libqgis_core.so


Sooooo, what now?  I'm a little lost here.

Cheers,

Mark





More information about the Qgis-developer mailing list