[Qgis-developer] make broken when compiling trunk
leyan ouyang
ouyang.leyan at hotmail.com
Tue Jul 10 18:16:28 PDT 2012
Here is the command I used to configure trunk:
cmake ../Quantum-GIS -DCMAKE_BUILD_TYPE=Debug -DCMAKE_SKIP_RPATH=ON
-DCMAKE_INSTALL_PREFIX=/my/prefix -DQWT_INCLUDE_DIR=/usr/include/qwt5
-DQWT_LIBRARY=/usr/lib/libqwt5.so -DPYTHON_EXECUTABLE=/usr/bin/python2
-DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7 -DENABLE_TESTS=OFF
I don't remember how I arrived there and I can not test the qwt5 issue
right now, can you try if this cmake command works for you?
Date: Wed, 11 Jul 2012 01:47:28 +0200
Subject: Re: [Qgis-developer] make broken when compiling trunk
From: milo at dogodigi.net
To: ouyang.leyan at hotmail.com
CC: qgis-developer at lists.osgeo.org
AUR reported I was missing qwt5. All other dependencies where already in place. The build at exactly the same percentage. I took qgis 1.8 from aur and now it is working.
2012/7/11 Milo van der Linden <milo at dogodigi.net>
With ccmake I can only configure the PYTHON_LIBRARY. I have set it to what you suggested. A rerun of make halts at the same line.
I am trying AUR: aur/qgis-git 20120429-1 now
2012/7/10 Milo van der Linden <milo at dogodigi.net>
Thank you Leyan! I am trying that right now.
2012/7/10 欧阳乐岩 <ouyang.leyan at hotmail.com>
Under Archlinux, you have to force the use of python 2 with these options:
PYTHON_LIBRARY=/usr/lib/libpython2.7.so
PYTHON_EXECUTABLE=/usr/bin/python2
PYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages
PYTHON_INCLUDE_PATH=/usr/include/python2.7/
If you compile for the first time, you may also get bitten by that bug: http://hub.qgis.org/issues/5620
Leyan
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120711/57fbb616/attachment-0001.html>
More information about the Qgis-developer
mailing list