* Tom Lane <tgl@sss.pgh.pa.us> [010826 11:11]:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > Another fun feature of the DESTDIR build environment is that the
> > writability test of the target directory will most likely fail because it
> > doesn't exist at all.
>
> > I've been thinking how I'd like to fix this: We add an option to
> > configure that says to *not* install the Perl module into the standard
> > Perl tree, but instead somewhere under our own $prefix. That way people
> > that don't have root access can use this option and still install the
> > whole tree in one run. But then we'd remove that writability check and
> > people that have root access or failed to use that option will get a hard
> > failure. This would create a much more reliable and predictable build
> > environment.
>
> Why would we remove the writability check? Perhaps it needs to be
> extended to recognize the case of target-dir-doesn't-exist-but-can-be-
> created, but I don't see why a hard failure is better.
I tend to agree with Tom here. The original problem I was seeing is
*NOT* related to DESTDIR (I don't believe).
CC=cc CXX=CC ./configure --prefix=/usr/local/pgsql --enable-syslog \--with-CXX --with-perl --enable-multibyte
--enable-cassert\--with-includes=/usr/local/include --with-libs=/usr/local/lib \--enable-debug \--with-tcl
--with-tclconfig=/usr/local/lib\--with-tkconfig=/usr/local/lib --enable-locale --with-python
The above is my configure input.
>
> regards, tom lane
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749