Re: Re: Beta2 ... ?

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: Beta2 ... ?
Date: 2001-01-10 18:03:56
Message-ID: 3A5CA40C.9667BCBC@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Lamar Owen writes:
> > 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.

Good.

> Then it's not surprising that things don't work since neither POSTGRESDIR
> nor PREFIX are used anywhere in PostgreSQL makefiles.

Had they been prior to 7.1?

> ./configure --prefix=/usr --sysconfdir=/etc \
> --docdir=/usr/share/doc/postgresql-'$(VERSION)' \
> --mandir=/usr/share/man \
> ...other options...

Already doing all of that, except --sysconfdir and friends. It's more
complicated than the above:
./configure --prefic=/usr --sysconfdir=/etc \
--docdir=%{_docdir}/%{name}/%{version} \
--mandir=%{_mandir} \
....
to take into account the differing distributions' differing ideas of
where things ought to be put.

> make all
> make install DESTDIR=$RPM_BUILD_ROOT

Much simpler. Will get back as soon as I get time to run a build (staff
meeting here in ten minutes.....).

Does the python build stuff use DESTDIR these days? The perl stuff
needs some other things, unfortunately. I need to look in the CPAN RPM
spec's to get examples of how to do this portably without major
connarptions.

I knew you had changed something along those lines; I even remember a
message listing the switches necessary; but I could not find it in my
message archive.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2001-01-10 18:43:05 psql -l bug
Previous Message Peter Eisentraut 2001-01-10 17:55:21 Re: Re: Beta2 ... ?