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