thanks all ,,, i find the solution to compile postgresql 8.2.4 with
postgis-1.2.1 on ubuntu-7.04 feisty

first i have to compile geos from (http://geos.refractions.net/)
./configure
make
make install
Make sure that /usr/local/lib is added to /etc/ld.so.conf
Make sure that you run /sbin/ldconfig afterwards

compile postgresql-8.2.4
./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

compile postgis-1.2.1
./configure --with-pgsql=/usr/local/pgsql/bin/pg_config
make
make install
su - postgres
createlang plpgsql yourdatabase
psql -f lwpostgis.sql -d your_database

done

On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Postgresql 8.2.4 + postgis 1.2.1 + geos 3.0 RC4 is working fine on Centos
5
64 bit so far.

Doug


Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 [EMAIL PROTECTED]

---------------------------------------------------------------------------------------------------------

The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of Interior.
I left my signature file in /dev/null



             "Pradeep B V"
             <[EMAIL PROTECTED]
             com>                                                       To
             Sent by:                  "PostGIS Users Discussion"
             postgis-users-bou         <[EMAIL PROTECTED]
             [EMAIL PROTECTED]         net>
             actions.net                                                cc

                                                                   Subject
             07/12/2007 06:49          Re: [postgis-users] Compile postgis
             AM                        in Ubuntu Feisty


             Please respond to
               PostGIS Users
                Discussion
             <[EMAIL PROTECTED]
             stgis.refractions
                   .net>






I think that I had a similar problem sometime earlier.

I switched to postgresql 1.5.x and everything worked fine.

somehow I was not able to get postgis to work with postgresql-8.2.x

If you figure out a solution please put it up on this list or ping me.

Regards,
Pradeep B V
www.mapunity.in


On 7/12/07, Bayu Kurniawan R < [EMAIL PROTECTED]> wrote:
  i'm trying to compile postgis-1.2.1 with postgresql-8.2.4 on ubuntu
  feisty 7.04
  but, when i enter make, it's error :

  make: *** [liblwgeom] Error 2

  what is liblwgeom, how can i fix it


  --
  Bayu Kurniawan R
  GIS Programmer
  PT. Sigma Cipta Utama
  Jl. Tekno I Blok B No:5,6,7
  BSD City Tangerang 15314
  Phone : +62 21 75871955 ext.172
  _______________________________________________
  postgis-users mailing list
  [email protected]
  http://postgis.refractions.net/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users




--
Bayu Kurniawan R
GIS Programmer
PT. Sigma Cipta Utama
Jl. Tekno I Blok B No:5,6,7
BSD City Tangerang 15314
Phone : +62 21 75871955 ext.172
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to