<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Thanks, I forgot to say, I am running <span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">./autogen.sh, ./configure and make in the main osm2pgsql directory. It used to be that I also had to run make in the /gazetteer directory too, this is what created the gazetteer.so file. However, whenever I run make in the /gazetteer directory it tells me that there is nothing to do for all. There is no ./configure script in this dir either.</span></span><br>
<br><div class="gmail_quote">On 11 November 2010 16:25, strk <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Thu, Nov 11, 2010 at 03:58:45PM +0700, james croft wrote:<br>
> Hi,<br>
> I'm trying to get Nominatim up and running on a dev box. I am checking out<br>
> the osm2pgsql code from git and am running into a problem<br>
> with gazetteer-functions.sql. It used to be that running 'make' in the<br>
> gazetteer directory created a gazetteer.so file that I could reference from<br>
> the gazetteer-functions.sql script. I just replaced the following with the<br>
> location of the file.<br>
><br>
> CREATE OR REPLACE FUNCTION transliteration(text) RETURNS text<br>
> AS '/home/twain/osm2pgsql2/gazetteer/gazetteer.so', 'transliteration'<br>
> LANGUAGE c IMMUTABLE STRICT;<br>
><br>
> It now appears that automake and libtool (things I know nothing about) are<br>
> being used and this file is no longer generated. What do I replace the<br>
> references in the gazetteer-functions.sql script to now?<br>
<br>
<br>
</div></div>You probably need to run ./autogen.sh to create the ./configure script.<br>
Then run ./configure (possibly with preferences)<br>
Finally run make.<br>
<br>
PS: where's the git repo for osm2pgsql ?<br>
<br>
--strk;<br>
<br>
() Free GIS & Flash consultant/developer<br>
/\ <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
</blockquote></div><br>