Re: Builing C libs for 7.3.4 on XP Professional - Mailing list pgsql-cygwin

From s0lao@netscape.net (S. L.)
Subject Re: Builing C libs for 7.3.4 on XP Professional
Date
Msg-id 213F4C60.1CD92ECA.00013D13@netscape.net
Whole thread Raw
In response to Builing C libs for 7.3.4 on XP Professional  ("Paul R. Sand" <paul_sand@mverify.com>)
Responses Re: Builing C libs for 7.3.4 on XP Professional  ("Paul R. Sand" <paul_sand@mverify.com>)
List pgsql-cygwin
Paul,

[...]
>"nmake /f win32.mak" I get an error about not finding "pg_config_os.h". I
>find the file OK, it is linked to sys/win.h. If I remove the link and just
[...]

What kind of link? Please notice that (native) windows applications (here, nmake) do not understand some cygwin links
(i.e."pg_config.h -> /usr/src/postgresql-7.3.4/src/include/pg_config.h.win32"), especially those that involve cygwin
mounts.

[...]
>copy win.h as pg_config_os.h this error goes away. But then, I get errors
>about "cygwin/version.h" missing . Is there a patch or some predessor step
>that I missed in order to get this built?
[...]

Actually reading win32.mak one finds out that there is a command line set:

"  cd include
   if not exist pg_config.h copy pg_config.h.win32 pg_config.h "

that should solve your problem. In fact, what win.h did you copy for pg_config.h?

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

pgsql-cygwin by date:

Previous
From: "Mimi Wu"
Date:
Subject: Re: install ipc-daemon and postmaster as Windows services
Next
From: s0lao@netscape.net (S. L.)
Date:
Subject: Re: please help me!