[postgis] Re: Installation on Windows 2000 using Cygwin

mjfan823 mjfan823 at yahoo.com
Wed Jan 23 02:02:12 PST 2002


Im also trying to install PostGreSql on Windows 2000 using Cygwin, 
but I had a different problem, I followed the follwing steps 
described by Mr. Kevin Lo:

1. Download PostgreSQL 7.1.2 sourcecode in /usr/src.
2. tar zxvf postgresql-7.1.2.tar.gz
3. mkdir -p /usr/local/pgsql/{bin,include,lib,data}
4. cd /usr/src/postgresql-7.1.2,  then run './configure'
5. make; make install
6. cp/usr/local/pgsql/lib/pq.dll /usr/local/pgsql/bin
7. Usingany editor to create .bashrc in / directory as belows:
                  PATH=$PATH:/usr/local/pgsql/bin:/usr/local/bin
                  PGDATA=/usr/local/pgsql/data
                  PGLIB=/usr/local/pgsql/lib
                  LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/lib
                  export LD_LIBRARY_PATH PATH PGDATA PGLIB
8. source /.bashrc, then run ``ipc-daemon &''             
9. initdb 
   Note that the owner of the DB system have to be different from   
root/administrator 
10. Editthe file /usr/local/pgsql/data/pg_hba.conf, such as: 
               host all 211.21.80.132   255.255.255.0   trust

11. postmaster-i&
12. Run 'psql -h host_name template1'. It's easy, huh :-)

I had some problems during running the make file:

/usr/lib/gcc -lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-
cygwin/bin/ld:cannot find -lcrypt
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory '/usr/src/postgresql-7.1.3/src/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory '/usr/src/postgresql-7.1.3/src'
make: *** [install] Error 2

Could anyone show me what I'm missing, I read a reply in one of the 
forums saying that he was able to install the postgresql properly by 
following the said instructions to the letter. Thanks in advance!

Raymond


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/nuyOHD/7.PDAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list