Re: problem install postgres7.03 on win2000!!!!

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: problem install postgres7.03 on win2000!!!!
Дата
Msg-id 20010320221154.A541@dothill.com
обсуждение исходный текст
Список pgsql-ports
James,

On Wed, Mar 21, 2001 at 10:15:49AM +0800, james wrote:
> I had downloaded thecygwin DLL 1.1.8 install it on 'Windows 2000 professional'
> platform.
> then i download the postgresql 7.03 and I followed the instructions "http://
> people.freebsd.org/~kevlo/postgres/portNT.html".
>
> I could successfully run the 'configure' command.
> The next step 'make' is unsuccessful. 'make' terminates
> giving the following error message:
>
> In file included from dllinit.c:46:
> /usr/include/cygwin/cygwin_dll.h:14: windows.h: No such file or directory
> make[2]: *** [dllinit.o] Error 1
> make[2]: Leaving directory `/usr/src/postgresql-7.0.3/src/utils'
> make[1]: *** [../utils/dllinit.o] Error 2
> make[1]: Leaving directory `/usr/src/postgresql-7.0.3/src/backend'
> make: *** [all] Error 2

I presume from the above that your version of Cygwin gcc is 2.95.2-7 or
later.  You can execute "gcc --version" to verify.  Anyway, there has
been a change to Cygwin gcc that stops it from automatically looking in
/usr/include/w32api.  This is why you are getting the "windows.h: No
such file or directory" error above.

You can try reconfiguring (after removing config.cache), using the
following:

    $ CC='gcc -mwin32' configure

I believe that this should work but you may get other problems due to the
"-mwin32" option.

Alternatively, I strongly recommend using PostgreSQL 7.1beta6 since it
builds OOTB under Cygwin (and for other reasons too).

Additionally, you should replace the Cygwin 1.1.8-2 DLL (i.e.,
cygwin1.dll) with one from a recent snapshot to avoid the following
problem:

    http://www.postgresql.org/mhonarc/pgsql-ports/2001-02/msg00012.html

In the future, please post to the list instead of using direct email so
others can benefit too.

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: surprise! Help needed on Win2K Postgres
Следующее
От: Tom McMillen
Дата:
Сообщение: Account for postmaster...