[postgis-users] 0.7.0 make install error (cygwin)

m.tondorf at online.de m.tondorf at online.de
Wed May 8 08:22:42 PDT 2002


I am using PostGis with cygwin. 0.6.9 with Postgres 7.1.2 works
fine. Today I tried to upgrade to Postgis 0.7 with Postgres 7.2.
I get an error when trying to install postgis. 
- Installed cygwin without Postgres
- Unzipped Postgres 
- ./configure --enable-odbc --with-java - make
- make install 
- initdb 
- Unzipped Postgis in contrib 
- changed USE_PG72=1 in makefile 
- make 
- make install -> error
***************************

mtondorf at SPREE /usr/src/postgresql-7.2/contrib/postgis-0.7.0
$ make install
make -C loader
make[1]: Entering directory
`/usr/src/postgresql-7.2/contrib/postgis-0.7.0/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/usr/src/postgresql-7.2/contrib/postgis-0.7.0/loader'
/bin/sh.exe ../../config/install-sh -c -m 644 libpostgis.a
/usr/local/pgsql/lib/contrib/libpostgis.a
/bin/sh.exe ../../config/install-sh -c -m 755 postgis.dll
/usr/local/pgsql/lib/contrib/postgis.dll
/bin/sh.exe ../../config/install-sh -c -m 644 ./README.postgis 
/usr/local/pgsql/doc/contrib
/bin/sh.exe ../../config/install-sh -c -m 644 postgis.sql
/usr/local/pgsql/share/contrib
/bin/sh.exe ../../config/install-sh -c -m 644 postgis_undef.sql
/usr/local/pgsql/share/contrib
/bin/sh.exe ../../config/install-sh -c -m 644 spatial_ref_sys.sql
/usr/local/pgsql/share/contrib
/bin/sh.exe ../../config/install-sh -c -m 644 README.postgis
/usr/local/pgsql/share/contrib
make -C loader install
make[1]: Entering directory
`/usr/src/postgresql-7.2/contrib/postgis-0.7.0/loader'
/bin/sh.exe ../../../config/install-sh -c pgsql2shp /usr/local/pgsql/bin
chmod: changing permissions of `/usr/local/pgsql/bin/#inst.1576#': No
such fileor directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/src/postgresql-7.2/contrib/postgis-0.7.0/loader'
make: *** [install] Error 2

****************************

 Verzeichnis von C:\Programme\cygwin\usr\local\pgsql\bin

08.05.2002  17:26       <DIR>          .
08.05.2002  17:26       <DIR>          ..
08.05.2002  17:02              121.385 #inst.1012#.exe
08.05.2002  17:10              121.385 #inst.1576#.exe
08.05.2002  17:01              104.318 #inst.1652#.exe
08.05.2002  16:41                4.864 createdb
08.05.2002  16:41                6.482 createlang
08.05.2002  16:41                6.344 createuser
08.05.2002  17:26                    0 dir.lst
08.05.2002  16:41                3.262 dropdb
08.05.2002  16:41                5.969 droplang
08.05.2002  16:41                3.441 dropuser
08.05.2002  16:40              286.629 ecpg.exe
08.05.2002  16:41               27.185 initdb
08.05.2002  16:41                4.705 initlocation
08.05.2002  16:41                2.990 ipcclean
08.05.2002  17:01              121.385 pgsql2shp
08.05.2002  16:41                2.385 pg_config
08.05.2002  16:41                9.471 pg_ctl
08.05.2002  16:41              159.087 pg_dump.exe
08.05.2002  16:41                7.347 pg_dumpall
08.05.2002  16:41               24.369 pg_id.exe
08.05.2002  16:41               35.083 pg_passwd.exe
08.05.2002  16:41               95.788 pg_restore.exe
08.05.2002  16:40            1.865.545 postgres.exe
08.05.2002  16:40                  104 postmaster.lnk
08.05.2002  16:41              156.459 psql.exe
08.05.2002  16:41                4.321 vacuumdb
              26 Datei(en)      3.180.303 Bytes
               2 Verzeichnis(se),  15.021.035.520 Bytes frei

****************************

Cygwin /etc/profile:

PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

PATH=/usr/local/pgsql/bin:/usr/local/pgsql/lib:$PATH
PGDATA=/usr/local/pgsql/data LD_LIBRARY_PATH=/usr/local/pgsql/lib
export LD_LIBRARY_PATH PGDATA USER="`id -un`" 

...




More information about the postgis-users mailing list