thanks all ,,, i find the solution to compile postgresql 8.2.4 with postgis-1.2.1 on ubuntu-7.04 feisty<br><br>first i have to compile geos from (<a href="http://geos.refractions.net/">http://geos.refractions.net/</a>) <br>
./configure<br>make<br>make install <br>Make sure that /usr/local/lib is added to /etc/ld.so.conf<br>Make sure that you run /sbin/ldconfig afterwards<br><br>compile postgresql-8.2.4<br>./configure<br>gmake<br>su<br>gmake install
<br>adduser postgres<br>mkdir /usr/local/pgsql/data<br>chown postgres /usr/local/pgsql/data<br>su - postgres<br>/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data<br>/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
<br>/usr/local/pgsql/bin/createdb test<br>/usr/local/pgsql/bin/psql test<br><br>compile postgis-1.2.1<br>./configure --with-pgsql=/usr/local/pgsql/bin/pg_config<br>make<br>make install<br>su - postgres<br>createlang plpgsql yourdatabase
<br>psql -f lwpostgis.sql -d your_database<br><br>done<br><br><div><span class="gmail_quote">On 7/12/07, <b class="gmail_sendername"><a href="mailto:Doug_Newcomb@fws.gov">Doug_Newcomb@fws.gov</a></b> <<a href="mailto:Doug_Newcomb@fws.gov">
Doug_Newcomb@fws.gov</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;">Postgresql 8.2.4 + postgis 1.2.1 + geos 3.0 RC4 is working fine on Centos 5
<br>64 bit so far.<br><br>Doug<br><br><br>Doug Newcomb<br>USFWS<br>Raleigh, NC<br>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov">doug_newcomb@fws.gov</a><br>---------------------------------------------------------------------------------------------------------
<br><br>The opinions I express are my own and are not representative of the<br>official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.<br>I left my signature file in /dev/null<br><br><br><br> "Pradeep B V"
<br> <pradeepbv@gmail.<br> com> To<br> Sent by: "PostGIS Users Discussion"<br> postgis-users-bou <
<a href="mailto:postgis-users@postgis.refractions">postgis-users@postgis.refractions</a>.<br> <a href="mailto:nces@postgis.refr">nces@postgis.refr</a> net><br> <a href="http://actions.net">
actions.net</a> cc<br><br> Subject<br> 07/12/2007 06:49 Re: [postgis-users] Compile postgis
<br> AM in Ubuntu Feisty<br><br><br> Please respond to<br> PostGIS Users<br> Discussion<br> <postgis-users@po<br> stgis.refractions
<br> .net><br><br><br><br><br><br><br>I think that I had a similar problem sometime earlier.<br><br>I switched to postgresql 1.5.x and everything worked fine.<br><br>somehow I was not able to get postgis to work with
postgresql-8.2.x<br><br>If you figure out a solution please put it up on this list or ping me.<br><br>Regards,<br>Pradeep B V<br><a href="http://www.mapunity.in">www.mapunity.in</a><br><br><br>On 7/12/07, Bayu Kurniawan R <
<a href="mailto:bayu@bkurniawan.com">bayu@bkurniawan.com</a>> wrote:<br> i'm trying to compile postgis-1.2.1 with postgresql-8.2.4 on ubuntu<br> feisty 7.04<br> but, when i enter make, it's error :<br><br> make: *** [liblwgeom] Error 2
<br><br> what is liblwgeom, how can i fix it<br><br><br> --<br> Bayu Kurniawan R<br> GIS Programmer<br> PT. Sigma Cipta Utama<br> Jl. Tekno I Blok B No:5,6,7<br> BSD City Tangerang 15314<br> Phone : +62 21 75871955
ext.172<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><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><br><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><br clear="all"><br>-- <br>Bayu Kurniawan R<br>GIS Programmer<br>PT. Sigma Cipta Utama<br>Jl. Tekno I Blok B No:5,6,7<br>BSD City Tangerang 15314<br>Phone : +62 21 75871955 ext.172