Thank you Leyan! I am trying that right now.<br><br><div class="gmail_quote">2012/7/10 欧阳乐岩 <span dir="ltr"><<a href="mailto:ouyang.leyan@hotmail.com" target="_blank">ouyang.leyan@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;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" target="_blank">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>