Re: [postgis-users] install postgis on Linux x86_64 with PostgreSQL 9.0beta4
On Fri, 2010-08-27 at 13:02 -0400, fiss...@pitt.edu wrote: > The postgis make install command errors out with this: > make[1]: /usr/pgsql-9.0/share/contrib/postgis-1.5: Command not found > There are also a bunch of "ignoring old commands" warnings. > (See below). > I assume some earlier step in the install that was supposed to put > postgis-1.5 in the contrib dir failed. Hrm. I remember to have fixed in my RPM packages, but I don't recall how I did it. I'm on holiday now, and will look at on Tuesday. -- Devrim GÜNDÜZ PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer PostgreSQL RPM Repository: http://yum.pgrpms.org Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz signature.asc Description: This is a digitally signed message part ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] install postgis on Linux x86_64 with PostgreSQL 9.0beta4
Hi, I am having an error doing make install for postgis. This is a Linux x86_64 platform. I installed PostgreSQL 9.0beta4 > /usr/pgsql-9.0/bin/pg_ctl --version pg_ctl (PostgreSQL) 9.0beta4 I installed postgres from rpms, eg postgresql-server-9.0-beta4_1PGDG.rhel5.x86_64.rpm I could do a src install if you think that would be better. postgres installed in a combination of standard /usr dirs (eg /usr/share) and /usr/pgsql-9.0/ dirs, (eg /usr/pgsql-9.0/include) (see pg_config command below). The postgis make install command errors out with this: make[1]: /usr/pgsql-9.0/share/contrib/postgis-1.5: Command not found There are also a bunch of "ignoring old commands" warnings. (See below). I assume some earlier step in the install that was supposed to put postgis-1.5 in the contrib dir failed. The README.postgis file says I should run make install as user postgres, so I did. Why is that necessary ? Does the install procedure actually invoke psql ? Most of the postgres files are installed as user root. I tried the install as root and that also failed. Unfortunately I was not able to run make check because I had problems installing CUnit due to rpmlib dependencies. any help most appreciated thanks Kate > ./pg_config BINDIR = /usr/pgsql-9.0/bin DOCDIR = /usr/share/doc/pgsql HTMLDIR = /usr/share/doc/pgsql INCLUDEDIR = /usr/pgsql-9.0/include PKGINCLUDEDIR = /usr/pgsql-9.0/include INCLUDEDIR-SERVER = /usr/pgsql-9.0/include/server LIBDIR = /usr/pgsql-9.0/lib PKGLIBDIR = /usr/pgsql-9.0/lib LOCALEDIR = /usr/pgsql-9.0/share/locale MANDIR = /usr/pgsql-9.0/share/man SHAREDIR = /usr/pgsql-9.0/share SYSCONFDIR = /etc/sysconfig/pgsql PGXS = /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--disable-rpath' '--prefix=/usr/pgsql-9.0' '--includedir=/usr/pgsql-9.0/include' '--mandir=/usr/pgsql-9.0/share/man' '--datadir=/usr/pgsql-9.0/share' '--with-perl' '--with-python' '--with-tcl' '--with-tclconfig=/usr/lib64' '--with-openssl' '--with-pam' '--with-krb5' '--with-gssapi' '--with-includes=/usr/include' '--with-libraries=/usr/lib64' '--enable-nls' '--disable-thread-safety' '--with-ossp-uuid' '--with-libxml' '--with-libxslt' '--with-ldap' '--with-system-tzdata=/usr/share/zoneinfo' '--sysconfdir=/etc/sysconfig/pgsql' '--docdir=/usr/share/doc' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et' 'CPPFLAGS= -I/usr/include/et' CC = gcc CPPFLAGS = -I/usr/include/et -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/include/et -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv CFLAGS_SL = -fpic LDFLAGS = -L/usr/lib64 LDFLAGS_EX = LDFLAGS_SL = LIBS = -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -ltermcap -lcrypt -ldl -lm VERSION = PostgreSQL 9.0beta4 bash-3.2$ make install make -C liblwgeom make[1]: Entering directory `/usr/local/pkg/postgis-1.5.1/liblwgeom' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/pkg/postgis-1.5.1/liblwgeom' make -C postgis make[1]: Entering directory `/usr/local/pkg/postgis-1.5.1/postgis' Makefile.pgxs:17: warning: overriding commands for target `install' /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:99: warning: ignoring old commands for target `install' Makefile.pgxs:63: warning: overriding commands for target `installdirs' /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:147: warning: ignoring old commands for target `installdirs' Makefile.pgxs:82: warning: overriding commands for target `uninstall' /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:171: warning: ignoring old commands for target `uninstall' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/pkg/postgis-1.5.1/postgis' make -C loader make[1]: Entering directory `/usr/local/pkg/postgis-1.5.1/loader' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/pkg/postgis-1.5.1/loader' make -C utils make[1]: Entering directory `/usr/local/pkg/postgis-1.5.1/utils' chmod +x postgis_restore.pl create_undef.pl postgis_proc_upgrade.pl profile_intersects.pl test_estimation.pl test_joinestimation.pl make[1]: Leaving directory `/usr/local/pkg/postgis-1.5.1/utils' PostGIS was built successfully. Ready to install. make -C postgis install make[1]: Entering directory `/usr/local/pkg/postgis-1.5.1/postgis' Makefile.pgxs:17: warning: overriding commands for target `install' /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:99: warning: ignoring old commands for target `install' Makefile.pgxs:63: warning: overriding commands for target `installdirs' /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:147: warning: ignoring old commands for target `installdirs' Makefile.pgxs:82: warning: overriding commands for target `uninstall' /usr/pgsql-9.0/lib/pgxs/src/makefiles