[postgis-users] Installing on Debian

Alex Borrell borrellalex at gmail.com
Fri Jun 15 07:56:57 PDT 2012


Hi,
I manage to install postgresql 9.1/postgis 2.0 in a virtual machine with
debian sid. So
it solved the problem somehow. The libxml2 problem in Ubuntu 12.04 remains,
but I
will compare it with the debian system.

Thanks for your help!

On Thu, Jun 14, 2012 at 1:59 PM, Alex Borrell <borrellalex at gmail.com> wrote:

> Thanks for help Stefano,
>
> I run the command, it seems to be installed, here are the results:
>
> aborrell at geo4:/usr/lib$ dpkg -l | grep libxml2
> ii  libxml-libxml-perl
> 1.89+dfsg-1                                Perl interface to the libxml2
> library
> ii  libxml2
> 2.8.0+dfsg1-3                              GNOME XML library
> ii  libxml2-dbg
> 2.8.0+dfsg1-3                              Debugging symbols for the GNOME
> XML library
> ii  libxml2-dev
> 2.8.0+dfsg1-3                              Development files for the GNOME
> XML library
> ii  libxml2-utils
> 2.8.0+dfsg1-3                              XML utilities
> ii  libxml2-utils-dbg
> 2.8.0+dfsg1-3                              XML utilities (debug extension)
> ii  python-libxml2
> 2.8.0+dfsg1-3                              Python bindings for the GNOME
> XML library
> ii  python-lxml
> 2.3.2-1                                    pythonic binding for the libxml2
> and libxslt libraries
>
> The machine is running Ubuntu 12.04 with some libraries from debian
> testing.
>
> Thanks again for your kind help,
>
> Alex
>
>
> On Thu, Jun 14, 2012 at 1:30 PM, Stefano Iacovella <
> stefano.iacovella at gmail.com> wrote:
>
>> Hi Alex
>>
>> It sounds like you are missing the headers and include files for
>> compilation.
>> Check if it is installed on your box:
>>
>> stefano at vmora11gsrv:~$ dpkg -l | grep libxml2
>> ii  libxml-libxml-perl                  1.70.ds-1
>>   Perl interface to the libxml2 library
>> ii  libxml2                             2.7.6.dfsg-1ubuntu1.5
>>   GNOME XML library
>> ii  libxml2-dev                         2.7.6.dfsg-1ubuntu1.5
>>   Development files for the GNOME XML library
>>
>> if it is not than you can add it with aptitude:
>>
>> sudo apt-get install libxml2-dev
>>
>> Hope it helps
>>
>> Stefano
>> ---------------------------------------------------
>> 41.95581N 12.52854E
>>
>>
>> http://www.linkedin.com/in/stefanoiacovella
>>
>> http://twitter.com/#!/Iacovellas
>>
>>
>> 2012/6/14 aborrell <borrellalex at gmail.com>:
>> > Hi Paolo, thanks for your post about postgis 2.0. I've been trying to
>> install
>> > it on an OSGeo 5.5 Ubuntu live dvd installed on a hard disk. I managed
>> to
>> > get Postgresql 9.1 working, but when I try to configure Postgis 2.0 I
>> get
>> > the following error:
>> >
>> > ./configure --with-pgconfig=/usr/lib/postgresql/9.1/bin/pg_config
>> > --with-geosconfig=/usr/bin/geos-config --with-jsondir=/usr
>> --with-topology
>> > --with-raster
>> >
>> > .......
>> > checking libpq-fe.h presence... yes
>> > checking for libpq-fe.h... yes
>> > checking for PQserverVersion in -lpq... yes
>> > checking for xml2-config... /usr/bin/xml2-config
>> > checking libxml/tree.h usability... yes
>> > checking libxml/tree.h presence... yes
>> > checking for libxml/tree.h... yes
>> > checking libxml/parser.h usability... yes
>> > checking libxml/parser.h presence... yes
>> > checking for libxml/parser.h... yes
>> > checking libxml/xpath.h usability... yes
>> > checking libxml/xpath.h presence... yes
>> > checking for libxml/xpath.h... yes
>> > checking libxml/xpathInternals.h usability... yes
>> > checking libxml/xpathInternals.h presence... yes
>> > checking for libxml/xpathInternals.h... yes
>> > checking for xmlInitParser in -lxml2... no
>> > configure: error: could not find libxml2
>> >
>> > I can't make it work. xml2-config is in /usr/bin, libxml2 in
>> > /usr/include/libxml2/libxml and libxml2.so, libxml2.a in
>> > /usr/lib/i386-linux-gnu
>> >
>> > I would appreciate your help. Thanks
>> >
>> > Alex Borell
>> > Mexico
>> >
>> > --
>> > View this message in context:
>> http://postgis.17.n6.nabble.com/Installing-on-Debian-tp4996113p4998272.html
>> > Sent from the PostGIS - User mailing list archive at Nabble.com.
>> > _______________________________________________
>> > postgis-users mailing list
>> > postgis-users at postgis.refractions.net
>> > http://postgis.refractions.net/mailman/listinfo/postgis-users
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120615/ab274194/attachment.html>


More information about the postgis-users mailing list