st<br><br><div><span class="gmail_quote">On 4/27/06, <b class="gmail_sendername">Eduardo Luís Garcia Escovar</b> <<a href="mailto:eduardo.escovar@3wt.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eduardo.escovar@3wt.com.br</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;">
Randy,<br><br>Please read the documentation:<br><br><a href="http://postgis.refractions.net/docs/ch02.html#PGInstall" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://postgis.refractions.net/docs/ch02.html#PGInstall
</a><br><br>Maybe if you use the LDFLAGS option (see "Note" in the URL above), then
<br>it will work.<br><br>Hope it helps,<br><br>Eduardo<br><br>Randy Burkhardt escreveu:<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>> lwgeom_pg.h:5:29: error: utils/geo_decls.h: No such file or directory
<br>> lwgeom_pg.h:6:18: error: fmgr.h: No such file or directory<br>> In file included from liblwgeom.c:26:<br>> lwgeom_pg.h:36: error: syntax error before 'getGeometryOID'<br>> lwgeom_pg.h:36: warning: type defaults to 'int' in declaration of
<br>> 'getGeometryOID'<br>> lwgeom_pg.h:36: warning: data definition has no type or storage class<br>> lwgeom_pg.h:43: error: syntax error before '*' token<br>> ....<br>> and a hundred more errors and warnings
<br>><br>> Would you tell me what to do here?<br>> Thanks<br>><br>> On 4/27/06, Randy Burkhardt <<a href="mailto:randy.burkhardt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
randy.burkhardt@gmail.com</a>> wrote:<br>><br>>> I'm still getting that error, sorry to bother you guys with this install
<br>>> situation. I've GEOS installed but 'make' postgis-1.1.2 still gives those<br>>> same errors I sampled above.<br>>><br>>> Can I get a bit of more help?<br>>> Thank you<br>>><br>
>>
<br>>> On 4/26/06, Randy Burkhardt <<a href="mailto:randy.burkhardt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">randy.burkhardt@gmail.com</a>> wrote:<br>>><br>>>> Thanks, I thought I had done that, but you remind me I may have to get
<br>>>> the sequence of installations more workable.<br>>>><br>>>> On 4/26/06, Patricio Cifuentes Ithal <<a href="mailto:pcifuentes@siigsa.cl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
pcifuentes@siigsa.cl</a> > wrote:<br>>>>
<br>>>>> installing GEOS first<br>>>>> --<br>>>>><br>>>>> Patricio Cifuentes Ithal<br>>>>> Ingeniero en Informática<br>>>>><br>>>>> Informática
<br>>>>> SIIGSA<br>>>>> (56-2) 204 60 22<br>>>>> ----- Original Message -----<br>>>>> From: "Randy Burkhardt" <<a href="mailto:randy.burkhardt@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
randy.burkhardt@gmail.com
</a>><br>>>>> To: "PostGIS Users Discussion" < <a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">postgis-users@postgis.refractions.net
</a>><br>>>>> Sent: Wednesday, April 26, 2006 1:37 PM
<br>>>>> Subject: [postgis-users] Re: PostGIS setup - Ubuntu Breezy +<br>>>>><br>>>> PostgreSQL-8.1<br>>>><br>>>>><br>>>>>> Hello Paul Scott and guys,<br>
>>>>> I've been using your wiki page here to try to install postgis1.1.2 on<br>>>>>> Kubuntu (instead of Uxxxxx).<br>>>>>> at 'make' in postgis1.1.2 I'm getting<br>>>>>> ...
<br>>>>>> liblwgeom.c:167: warning: incompatible implicit declaration of<br>>>>>> built-in function 'strlen'<br>>>>>> make[1]: *** [liblwgeom.o] Error 1<br>>>>>> make[1]: Leaving directory
<br>>>>>> `/home/randy/postgresql-8.1.3/contrib/postgis-1.1.2/lwgeom'<br>>>>>> make: *** [liblwgeom] Error<br>>>>>><br>>>>>> I've got postgis-1.1.2 in /home/randy/postgresql-
8.1.3/contrib/ and<br>>>>>> things seem ok except for this make error as make tries to work on<br>>>>>> liblwgeom and lwgeom.<br>>>>>><br>>>>>> My latest try was to install all versions of automake, but that
<br>>>>>><br>>> didn't<br>>><br>>>>>> do the trick.<br>>>>>> Can i get a suggestion on my next steps to help get 'make' to<br>>>>>><br>>>> continue?
<br>>>><br>>>>>> Thanks, Mr. Scott, by the way for sharing your work on the wiki page,<br>>>>>> it's been very helpful to me.<br>>>>>><br>>>>>><br>>>>>> On 4/17/06, Paul Scott <
<a href="mailto:pscott@uwc.ac.za" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pscott@uwc.ac.za</a>> wrote:<br>>>>>><br>>>>>>> I have just completed a setup of
PostGIS-1.1.2 with<br>>>>>>><br>>> PostgreSQL-8.1on
<br>>><br>>>>>>> Ubuntu Breezy 5.10 GNU/linux. I articled the steps on<br>>>>>>><br>>>>>>><br>>> <a href="http://fsiu.uwc.ac.za/gis/index.php?module=wiki&action=wikilink&pagename=PostGisInstallUbuntu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://fsiu.uwc.ac.za/gis/index.php?module=wiki&action=wikilink&pagename=PostGisInstallUbuntu</a><br>>><br>>>>>>> for anyone interested.<br>>>>>>><br>>>>>>> --Paul
<br>>>>>>><br>>>>>>> _______________________________________________<br>>>>>>> postgis-users mailing list<br>>>>>>> <a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
postgis-users@postgis.refractions.net</a><br>>>>>>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>>>>>>>
<br>>>>>>><br>>>>>> _______________________________________________<br>>>>>> postgis-users mailing list<br>>>>>> <a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
postgis-users@postgis.refractions.net</a><br>>>>>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>>>>>>
<br>>>>> _______________________________________________<br>>>>> postgis-users mailing list<br>>>>> <a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
postgis-users@postgis.refractions.net
</a><br>>>>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>>>>><br>>>>><br>>><br>> _______________________________________________
<br>> postgis-users mailing list<br>> <a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">postgis-users@postgis.refractions.net</a><br>>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>><br><br><br>--<br>---<br>Eduardo Luís Garcia Escovar<br>3WT - Wireless Web World Tech<br><a href="mailto:eduardo.escovar@3WT.com.br" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
eduardo.escovar@3WT.com.br
</a><br>tel: +55 16 3371-7761<br>fax: +55 16 3371-9847<br><br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
postgis-users@postgis.refractions.net
</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>