Re: Re: [PATCHES] Makefile.PL for Pg.so

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: Re: [PATCHES] Makefile.PL for Pg.so
Дата
Msg-id 20010826124810.A27782@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: Re: [PATCHES] Makefile.PL for Pg.so  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [PATCHES] Makefile.PL for Pg.so  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
* 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: C++ and bool constants (was Re: [NOVICE] gcc 3.0.1)
Следующее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: Re: [PATCHES] Makefile.PL for Pg.so