<div dir="ltr">Sorry, I forgot to mention - the "import sip" command within the python2 interpreter went without error messages.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 8, 2014 at 1:02 PM, Tomas Lanczos <span dir="ltr"><<a href="mailto:tlanczos@gmail.com" target="_blank">tlanczos@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank You for Your quick answer Donovan,<div class="gmail_extra"><br></div><div class="gmail_extra">tha grass error was solved,</div>
<div class="gmail_extra">the installation proceed wtithout any problem after removing the </div>
<div class="gmail_extra"># -DWITH_MAPSERVER=TRUE \</div><div class="gmail_extra">line from the PKGBUILD script. I really don't know what was wrong with it ...</div><div class="gmail_extra"><br></div><div class="gmail_extra">
the sip error remains. Do You think that it should help reinstall the sip?</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Tomas</div></font></span><div><div class="h5">
<div class="gmail_extra"><br></div><div class="gmail_extra">On Thu, Aug 7, 2014 at 1:17 AM, Donovan Cameron <span dir="ltr"><<a href="mailto:sault.don@gmail.com" target="_blank">sault.don@gmail.com</a>></span> wrote:</div>
<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I've noticed some users reporting that error too.<br>
<br>
But I use a custom build of grass 6 which I've uploaded to my
dropbox[1] - can you give it a try?<br>
I can't figure out why QGIS has trouble finding that folder during
configuration.<br>
<br>
As for the sip error... One of the QGIS dependencies is python2-sip
so it should be able to import the sip module when it starts.<br>
<br>
Are you able to run...<br>
<br>
% python2<br>
>>> import sip<br>
<br>
...without errors?<br>
<br>
<br>
<br>
<br>
Donovan<br>
<div><br>
[1] <a href="https://db.tt/ClXi7MsC" target="_blank">https://db.tt/ClXi7MsC</a><div><div><br>
<br>
<br>
<br>
On 06/08/14 03:44 PM, Tomas Lanczos wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div>
<div dir="ltr">Hello everybody.
<div><br>
</div>
<div>I'd like to install qgis 2.4 on my Manjaro box, using the
AUR (Arch linux) repository - <a href="https://aur.archlinux.org/packages/qgis/" target="_blank">https://aur.archlinux.org/packages/qgis/</a></div>
<div>In fact, it is a compilation process, with a source cod
downloaded from</div>
<div>git://<a href="http://github.com/qgis/QGIS.git#branch=release-2_4" target="_blank">github.com/qgis/QGIS.git#branch=release-2_4</a><br>
</div>
<div><br>
</div>
<div>PROBLEM NO. 1</div>
<div><br>
</div>
<div>if I compile it without grass support, the
compilation/installation process is going out without problem,
but after starting qgis, I got the following error message:</div>
<div>
<br>
</div>
<div>
<div>ouldn't load SIP module.</div>
<div>Python support will be disabled.</div>
<div><br>
</div>
<div><br>
</div>
<div>Traceback (most recent call last):</div>
<div> File "", line 1, in </div>
<div>ImportError: No module named sip</div>
<div><br>
</div>
<div><br>
</div>
<div>Python version:</div>
<div>2.7.8 (default, Jul 1 2014, 17:30:21) </div>
<div>[GCC 4.9.0 20140604 (prerelease)]</div>
<div><br>
</div>
<div>QGIS version:</div>
<div>2.4.0-Chugiak 'Chugiak', ed14cf3</div>
<div><br>
</div>
<div>Python path:</div>
<div>['/usr/share/qgis/python', u'/home/tomas/.qgis2/python',
u'/home/tomas/.qgis2/python/plugins',
'/usr/share/qgis/python/plugins', '/home/tomas',
'/usr/share/qgis/python', '/usr/local/lib/python27.zip',
'/usr/local/lib/python2.7',
'/usr/local/lib/python2.7/plat-linux2',
'/usr/local/lib/python2.7/lib-tk',
'/usr/local/lib/python2.7/lib-old',
'/usr/local/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/site-packages']</div>
</div>
<div><br>
</div>
<div>PROBLEM No.2</div>
<div><br>
</div>
<div>It is essential for me to use qgis with grass support, so I
tried to compile qgis with the following options:</div>
<div><br>
</div>
<div>
<div> cmake ../ \</div>
<div> -DCMAKE_BUILD_TYPE=Release \</div>
<div> -DCMAKE_SKIP_RPATH=ON \</div>
<div> -DCMAKE_INSTALL_PREFIX=/usr \</div>
<div> -DENABLE_TESTS=OFF \</div>
<div> -DQGIS_MANUAL_SUBDIR=share/man \</div>
<div> -DPYTHON_EXECUTABLE=/usr/bin/python2 \</div>
<div> -DPYTHON_LIBRARY=/usr/lib/<a href="http://libpython2.7.so" target="_blank">libpython2.7.so</a>
\</div>
<div> -DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \</div>
<div>
-DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages
\</div>
<div> -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \</div>
<div> -DWITH_INTERNAL_QWTPOLAR=OFF \</div>
<div> -DWITH_INTERNAL_SPATIALITE=OFF \</div>
<div># -DWITH_MAPSERVER=TRUE \</div>
<div> -DGRASS_PREFIX=/opt/grass64 \</div>
<div># -DWITH_GLOBE=TRUE \</div>
</div>
<div><br>
</div>
<div>In this case I'm getting this errormessage after the
configuring process:</div>
<div><br>
</div>
<div>
<div>-- Configuring done</div>
<div>-- Generating done</div>
<div>-- Build files have been written to:
/home/tomas/builds/qgis/src/qgis/build</div>
<div>/home/tomas/builds/qgis/PKGBUILD: line 98:
-DGRASS_PREFIX=/opt/grass64: No such file or directory</div>
<div>==> ERROR: A failure occurred in build().</div>
<div> Aborting...</div>
</div>
<div><br>
</div>
<div>The strange thing is that, the "/opt/grass64" directory is
existing, but it can't locate it.</div>
<div><br>
</div>
<div>Many thanks in advance for any feedback</div>
<div><br>
</div>
<div>Tomas</div>
<div>--<br>
Water, taken in moderation cannot hurt anybody.<br>
-- Mark Twain<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Water, taken in moderation cannot hurt anybody.<br>
-- Mark Twain<br>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Water, taken in moderation cannot hurt anybody.<br> -- Mark Twain<br>
</div>