[Qgis-user] two problems
Tomas Lanczos
tlanczos at gmail.com
Wed Aug 6 15:44:31 PDT 2014
Hello everybody.
I'd like to install qgis 2.4 on my Manjaro box, using the AUR (Arch linux)
repository - https://aur.archlinux.org/packages/qgis/
In fact, it is a compilation process, with a source cod downloaded from
git://github.com/qgis/QGIS.git#branch=release-2_4
PROBLEM NO. 1
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:
ouldn't load SIP module.
Python support will be disabled.
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named sip
Python version:
2.7.8 (default, Jul 1 2014, 17:30:21)
[GCC 4.9.0 20140604 (prerelease)]
QGIS version:
2.4.0-Chugiak 'Chugiak', ed14cf3
Python path:
['/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']
PROBLEM No.2
It is essential for me to use qgis with grass support, so I tried to
compile qgis with the following options:
cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_TESTS=OFF \
-DQGIS_MANUAL_SUBDIR=share/man \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7 \
-DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
-DWITH_INTERNAL_QWTPOLAR=OFF \
-DWITH_INTERNAL_SPATIALITE=OFF \
# -DWITH_MAPSERVER=TRUE \
-DGRASS_PREFIX=/opt/grass64 \
# -DWITH_GLOBE=TRUE \
In this case I'm getting this errormessage after the configuring process:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tomas/builds/qgis/src/qgis/build
/home/tomas/builds/qgis/PKGBUILD: line 98: -DGRASS_PREFIX=/opt/grass64: No
such file or directory
==> ERROR: A failure occurred in build().
Aborting...
The strange thing is that, the "/opt/grass64" directory is existing, but it
can't locate it.
Many thanks in advance for any feedback
Tomas
--
Water, taken in moderation cannot hurt anybody.
-- Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140807/7ed3989c/attachment.html>
More information about the Qgis-user
mailing list