From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Re: Beta2 ... ? |
Date: | 2001-01-10 17:55:21 |
Message-ID: | Pine.LNX.4.30.0101101844590.22819-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Lamar Owen writes:
> > Hmm, are you using 'make install DESTDIR=/random/place'?
> > Given that it's not documented it's unlikely that you are. But do start
> > using it.
>
> Enlighten me. DESTDIR does?
It installs files at a different place than where they will eventually
reside. E.g., if your --prefix is /usr/local and DESTDIR=/var/tmp/foo
then the files will end up in /var/tmp/foo/usr/local. This is exactly for
package management type applications.
> Currently, my install lines look like:
> make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C src
> install
> make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr -C
> src/interface
> s/perl5 install
Then it's not surprising that things don't work since neither POSTGRESDIR
nor PREFIX are used anywhere in PostgreSQL makefiles.
> So, I would put something like:
> make POSTGRESDIR=$RPM_BUILD_ROOT/usr PREFIX=$RPM_BUILD_ROOT/usr
> DESTDIR=/usr -C src install
> ???
./configure --prefix=/usr --sysconfdir=/etc \
--docdir=/usr/share/doc/postgresql-'$(VERSION)' \
--mandir=/usr/share/man \
...other options...
make all
make install DESTDIR=$RPM_BUILD_ROOT
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2001-01-10 18:03:56 | Re: Re: Beta2 ... ? |
Previous Message | Zeugswetter Andreas SB | 2001-01-10 17:26:55 | AW: AW: Re: tinterval - operator problems on AIX |