strk,<br>pg_config --includedir-server  returns<br>/usr/include/postgrsql/8.1/server<br><br>however I find 'postgres.h' these 3 places<br><br>usr/local/pgsql/include/server/<br><br>usr/include/postgresql/<br><br>home/randy/postgresql-
8.1.3/src/include/<br><br>Do I need to ./configure geos-2.2.1 with /usr/local/pgsql/include/server/  in some way?<br><br>maybe <br>#geos.2.2.1 ./configure --with-server=/usrlocal/pgsql/include/server/<br>how does that work?
<br>Thank you<br><br><br><br><br><br><div><span class="gmail_quote">On 4/27/06, <b class="gmail_sendername"><a href="mailto:strk@refractions.net">strk@refractions.net</a></b> <<a href="mailto:strk@refractions.net">strk@refractions.net
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, Apr 27, 2006 at 08:42:08AM -0700, Randy Burkhardt wrote:<br>> 
randy@kubuntu:~/postgresql-8.1.3/contrib/postgis-1.1.2$ sudo make<br>> Password:<br>> make -C lwgeom<br>> make[1]: Entering directory<br>> `/home/randy/postgresql-8.1.3/contrib/postgis-1.1.2/lwgeom'<br>> sh ../geos_version.sh /usr > postgis_geos_version.h
<br>> gcc -DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.2"'<br>> -DPOSTGIS_VERSION='"1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'<br>> -DPOSTGIS_SCRIPTS_VERSION='"1.1.2"' -DPOSTGIS_BUILD_DATE='"2006-04-27
<br>> 15:37:08"' -I/usr/include -DUSE_PROJ<br>> -I/usr/include/postgresql/8.1/server -DAUTOCACHE_BBOX=1  -DUSE_STATS<br>> -Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS    -c -o liblwgeom.o<br>> liblwgeom.c<br>
> In file included from liblwgeom.c:26:<br>> lwgeom_pg.h:4:22: error: postgres.h: No such file or directory<br><br>This is your problem, postgres.h can't be found in<br>/usr/include/postgresql/8.1/server<br>Can you find it somewhere else ?
<br>What does 'pg_config --includedir-server' returns ?<br><br>--strk;<br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></blockquote></div><br>