[Qgis-user] two problems

Tomas Lanczos tlanczos at gmail.com
Fri Aug 8 04:02:49 PDT 2014


Thank You for Your quick answer Donovan,

tha grass error was solved,
the installation proceed wtithout any problem after removing the
#    -DWITH_MAPSERVER=TRUE \
line from the PKGBUILD script. I really don't know what was wrong with it
...

the sip error remains. Do You think that it should help reinstall the sip?

Tomas

On Thu, Aug 7, 2014 at 1:17 AM, Donovan Cameron <sault.don at gmail.com> wrote:

>  I've noticed some users reporting that error too.
>
> But I use a custom build of grass 6 which I've uploaded to my dropbox[1] -
> can you give it a try?
> I can't figure out why QGIS has trouble finding that folder during
> configuration.
>
> 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.
>
> Are you able to run...
>
> % python2
> >>> import sip
>
> ...without errors?
>
>
>
>
> Donovan
>
> [1] https://db.tt/ClXi7MsC
>
>
>
>
> On 06/08/14 03:44 PM, Tomas Lanczos wrote:
>
> 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
>
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
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/20140808/f6de1c54/attachment.html>


More information about the Qgis-user mailing list