[Qgis-user] How to create easily and fast an empty vector-layer to use it in Quantum GIS?
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Wed Feb 27 11:12:28 PST 2008
On Wed, 2008-02-27 at 13:44 +0100, Philipp Steigenberger wrote:
>
> I tried to install the newer version or to use cmake, but it didnt work.
> I busy this days, so there isnt lot of time to go deeper in it. But I
> add the messages I got:
> I added the deb line (deb http://debian.gfoss.it/ lenny main)in my
> sources list, but running apt-get update I get:
>
> -----------------------------------------------------------------
> W: GPG error: http://debian.gfoss.it lenny Release: The following
> signatures couldn't be verified because the public key is not available:
> NO_PUBKEY DC301BCED2016B47
> -----------------------------------------------------------------
> (Im still using debian etch)
This is not so important I think.
>
>
>
> Trying to install qgis I get
>
> -----------------------------------------------------------------
> apt-get install qgis
> Reading package lists... Done
> Building dependency tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
>
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
> qgis: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch5 is to be installed
> Depends: libfreetype6 (>= 2.3.5) but 2.2.1-5+etch2 is to be
> installed
> Depends: libgcc1 (>= 1:4.2.1) but 1:4.1.1-21 is to be installed
> Depends: libgdal1-1.4.0 but it is not installable
> Depends: libgsl0ldbl (>= 1.9) but it is not installable
> Depends: libpq5 but it is not installable
> Depends: libqt4-core (>= 4.3.3) but 4.2.1-2+etch1 is to be
> installed
> Depends: libqt4-gui (>= 4.3.3) but 4.2.1-2+etch1 is to be installed
> Depends: libqt4-qt3support (>= 4.3.3) but 4.2.1-2+etch1 is to
> be installed
> Depends: libsqlite3-0 (>= 3.4.2) but 3.3.8-1.1 is to be installed
> Depends: libstdc++6 (>= 4.2.1) but 4.1.1-21 is to be installed
> Depends: libxrandr2 (>= 2:1.2.0) but 2:1.1.0.2-5 is to be installed
> Depends: zlib1g (>= 1:1.2.3.3.dfsg-1) but 1:1.2.3-13 is to be
> installed
> Depends: libqgis1 but it is not going to be installed
> E: Broken packages
Hmmm.. I use Ubuntu which is Debian based and uses the same system more
or less for "apt-get"ing packages. If not all, most of these stuff
should be easy to install in Debian.
How?
I am not so sure ;-)
Maybe the "Debian & GIS" [1] page helps a bit more
> -----------------------------------------------------------------
>
>
> Trying to cmake the packet from source I got following messages.:
>
> The first time:
> -----------------------------------------------------------------
> root at geo55:/.../qgis_0.9.1# cmake .
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Found Proj: /usr/lib/libproj.so
> -- Found GEOS: /usr/lib/libgeos.so
> -- Found GDAL: /usr/lib/libgdal1.3.2.so
> -- Found PostgreSQL: /usr/lib/libpq.so
> -- Found Expat: /usr/lib/libexpat.so
> FindGSL.cmake: gsl-config not found. Please set it manually.
> GSL_CONFIG=GSL_CONFIG-NOTFOUND
> -- Could not find GRASS
> CMake Error: Some dependencies were not found!
> -- Looking for Q_WS_X11
> -- Looking for Q_WS_X11 - found
> -- Looking for Q_WS_MAC
> -- Looking for Q_WS_MAC - not found.
> -- Looking for Q_WS_WIN
> -- Looking for Q_WS_WIN - not found.
> -- Found Qt-Version 4.2.1
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> SQLITE3_INCLUDE_DIR
> SQLITE3_LIBRARY
>
> -- Configuring done
> -----------------------------------------------------------------
> No Idea how to set the variables.
> No Idea why it don't find GRASS
I am also a beginner in all this. But I think I had some similar problem
once... maybe you need to locate where the sqlite3 files are (maybe the
libsqlite3??? files) and do something like the following described in a
post [1]
" >5 In order to run GDAL after installing it is necessary for the
shared
library to be findable. This can often be accomplished by setting
LD_LIBRARY_PATH to >include /usr/local/lib. On Linux, you can
add /usr/local/lib (or whatever path you used for installing GDAL)
to /etc/ld.so.conf and run ldconfig as root. "
I also needed to add some lines in my /etc/ld.so.conf when compiling/installing from source some stuff.
I don't know if it's identical in Debian.
Best Luck!
---
[1] http://wiki.debian.org/DebianGis/PackageList
[2] http://lists.qgis.org/pipermail/qgis-user/2006-March/000013.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20080227/9b3db161/attachment.sig>
More information about the Qgis-user
mailing list