Re: Minor build nits in 7.3rc1

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Minor build nits in 7.3rc1
Дата
Msg-id 200211261815.gAQIFGd22372@candle.pha.pa.us
обсуждение исходный текст
Ответ на Minor build nits in 7.3rc1  (Harris Peter <Peter.Harris@Kyndal.co.uk>)
Список pgsql-bugs
Harris Peter wrote:
> Hi
>
> 1)
> configure fails too easily if your libraries and include files are in a
> funny place. When you specify --prefix=/somewhere, maybe it should use "-L
> /somewhere/lib" and "-I/somewhere/include" by default when checking if
> things exist.
> Workaround: I had to add the options to LDFLAGS and CPPFLAGS myself to get
> readline noticed.

Yes, I have seen that happen too.  Did you use --with-includes and
--with-libs?  I have seen cases where the actual compile of the software
honors those flags, but the configure tests don't.  Is that what you are
seeing?  I think config.log will show you the actual tests.


> 2)
> The makefile contains many rm.  I usually like to alias rm="rm -i" for
> safety, so I had to answer (y/n) a lot of times.  Could the makefile please
> use rm -f?

That is a little extreme.  If we use -f, then you will have rm -if, and
I don't know how that is supposed to behave.  Also, if there is an issue
with the rm, I think most will want to see it rather than have -f ignore
it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: MemoryContextAllc error.
Следующее
От: "Baiju MP"
Дата:
Сообщение: A little bug in postgreSQL