<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Here is the command I used to configure trunk:<br>
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 <br>
<br>
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?<br>
<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 11 Jul 2012 01:47:28 +0200<br>Subject: Re: [Qgis-developer] make broken when compiling trunk<br>From: milo@dogodigi.net<br>To: ouyang.leyan@hotmail.com<br>CC: qgis-developer@lists.osgeo.org<br><br>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.<BR>
<div class="ecxgmail_quote">2012/7/11 Milo van der Linden <span dir="ltr"><<a href="mailto:milo@dogodigi.net">milo@dogodigi.net</a>></span><br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">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.<br>

<br>I am trying AUR: aur/qgis-git 20120429-1 now<div><div><br><br><div class="ecxgmail_quote">2012/7/10 Milo van der Linden <span dir="ltr"><<a href="mailto:milo@dogodigi.net">milo@dogodigi.net</a>></span><br>


<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">Thank you Leyan! I am trying that right now.<div><div><br><br><div class="ecxgmail_quote">2012/7/10 Å·ÑôÀÖÑÒ <span dir="ltr"><<a href="mailto:ouyang.leyan@hotmail.com">ouyang.leyan@hotmail.com</a>></span><br>


<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">
Under Archlinux, you have to force the use of python 2 with these options:<br>
PYTHON_LIBRARY=/usr/lib/<a href="http://libpython2.7.so" target="_blank">libpyt<u></u>hon2.7.so</a><br>
PYTHON_EXECUTABLE=/usr/bin/<u></u>python2<br>
PYTHON_SITE_PACKAGES_DIR=/usr/<u></u>lib/python2.7/site-packages<br>
PYTHON_INCLUDE_PATH=/usr/<u></u>include/python2.7/<br>
<br>
If you compile for the first time, you may also get bitten by that bug: <a href="http://hub.qgis.org/issues/5620" target="_blank">http://hub.qgis.org/issues/<u></u>5620</a><br>
<br>
Leyan<br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>                                     </div></body>
</html>