hi, i am trying to chagne the default prefix on FC2 but having not luck I tried so far as root editing redhat/macros editing i386***/macros editing i686****/macros (all those in /usr/lib/rpm) adding some command line options rpmbuild -bb --define 'prefix=/usr/local/pg8' postgresql-8.0.0beta1-3PGDG.spec rpmbuild -bb --prefix=/usr/local/pg8 postgresql-8.0.0beta1-3PGDG.spec rpmbuild -bb postgresql-8.0.0beta1-3PGDG.spec --prefix=/usr/local/pg8 rpmbuild -bb postgresql-8.0.0beta1-3PGDG.spec --define 'prefix /usr/local/pg8' editing the spec file itself defining %prefix in the spec file adding a prefix specification tosomewhere in the spec file is there a place i did not look where this macro is placed? (there is no configure command inthe spec file, but the configure line generated includes --prefix = --exec-prefix --A + ./configure --host=i686-redhat-linux-gnu --build=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --prefix=/usr/local/pg8 --enable-debug --enable-cassert --with-perl --with-tcl --with-tclconfig=/usr/lib --with-python --with-openssl --with-pam --with-krb5 --enable-nls --enable-thread-safety --sysconfdir=/etc/sysconfig/pgsql --datadir=/bup/pgsql/pg8 --with-docdir=/usr/share/doc thanks. All I want to do is build the rpms and have them install in /usr/src/pg8 thanks.. joe _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list