[OSM-talk] Regarding libxml2 Usage

yuri bay ksh_wong at msn.com
Thu Feb 8 12:02:39 GMT 2007


Nick,

I am still trying to compile osm2pgsql in MinGW so that I can use it to 
convert OSM into GRASS usable data.  I have some progress on installing 
libxml2.  I am suing Cygwin.  I am able to unzip the libxml2, but is having 
problem to use './configure' for the unzipped folder.  In the following, 
part 1 is the instruction I obtained from a site that dealt with installing 
libxml2, part 2 is my errors, your help is much appreciated.

Part 1:
from : 
https://www.systinet.com/doc/ssc-65/waspc/html/extlibs.install.wssecurity.html

Installing LibXML2 from sources  LocateYou can get this library from 
http://www.xmlsoft.org/.

cat libxml2-2.6.3.tar.gz | gunzip | tar -xf -
./configure --without-ftp
make
make install


Part 2:

$ ./configure --without-ftp
bash: ./configure: No such file or directory


I will be grateful if you could provide some help, many thanks

best regards
Casey Wong

>From: Nick Whitelegg <Nick.Whitelegg at solent.ac.uk>
>To: "yuri bay" <ksh_wong at msn.com>
>CC: dev at openstreetmap.org
>Subject: Re: [OSM-talk] Regarding libxml2 Usage
>Date: Wed, 7 Feb 2007 17:07:40 +0000
>
>Casey,
>
>You need to link the libxml2 library in when compiling. This will be
>something like
>
>gcc osm2pgsql.c -o osm2pgsql -lxml2
>
>Make sure you have libxml2 installed on your system.
>
>Nick

_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile.  
http://www.msn.txt4content.com/





More information about the talk mailing list