Hi Alex It sounds like you are missing the headers and include files for compilation. Check if it is installed on your box:
stefano@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 <borrella...@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@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users