Re: [HACKERS] Re: Problems compiling version 7 - solved

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: Problems compiling version 7 - solved
Дата
Msg-id 29112.958023407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: [HACKERS] Re: Problems compiling version 7 - solved  (Travis Bauer <trbauer@indiana.edu>)
Ответы Dumping and reloading stuff in 6.5.3  (Lincoln Yeoh <lylyeoh@mecomb.com>)
Re: [HACKERS] Re: Problems compiling version 7 - solved  (Travis Bauer <trbauer@indiana.edu>)
Список pgsql-general
Travis Bauer <trbauer@indiana.edu> writes:
> Thanks for all the advice.  The following was _exactly_ the problem.  I
> had tried to compile this source code in a recent version of solaris.  It
> compiled flawlessly, but postmaster wouldn't start up.  So I just did a
> secure shell to a linux machine, ran "make clean" from the same directory,
> and ran configure.  I thought make clean would erase all except the
> distribution files.

Ah, bingo.  "make clean" doesn't erase the configure-produced files,
and in particular not config.cache, so you were getting polluted by
configure test results from the other platform.  "make distclean" is
the thing to do before reconfiguring.  AFAIK this is a pretty
standard convention for applications that use configure scripts.

(Actually, it'd probably work to just delete config.cache, but you may
as well do the "make distclean" instead.  I know that works.)

Next question: do you feel like pursuing the failure on solaris?
That should've worked...

            regards, tom lane

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

Предыдущее
От: "William J. Mills"
Дата:
Сообщение: RE: [HACKERS] Re: Problems compiling version 7 - solved
Следующее
От: Lincoln Yeoh
Дата:
Сообщение: Dumping and reloading stuff in 6.5.3