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: [email protected]
To: [email protected]
CC: [email protected]

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 <[email protected]>

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 <[email protected]>



Thank you Leyan! I am trying that right now.

2012/7/10 欧阳乐岩 <[email protected]>




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

[email protected]

http://lists.osgeo.org/mailman/listinfo/qgis-developer






                                          
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to