CN wrote:
>
> The following bug has been logged online:
>
> Bug reference: 3769
> Logged by: CN
> Email address: cnliou9@fastmail.fm
> PostgreSQL version: 8.3beta3
> Operating system: Win 98
> Description: Fail to make bcc32.mak for libpq
> Details:
>
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> Building the Win32 DLL and Static Library...
>
>
>
> No configuration specified. Defaulting to Release.
>
>
>
> copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
> 1 file(s) copied
> echo #define SYSCONFDIR "" > pg_config_paths.h
> bcc32.exe
> -I\borland\bcc55\include;..\..\include;..\..\include\port\win32;..\..\includ
> e\port\win32_msvc;..\..\port -n".\Release" -WD -c
> -DFRONTEND;NDEBUG;WIN32;_WINDOWS -tWM -a8 -X -w-use -w-par -w-pia -w-csu
> -w-aus -w-ccc -O -Oi -OS -DNDEBUG win32.c
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> win32.c:
> Error E2209 ..\..\include\c.h 88: Unable to open include file
> 'pg_config_os.h'
> *** 1 errors in Compile ***
>
> ** error 1 ** deleting ".\Release\win32.obj"
Please try the attached applied patch. If it doesn't fix the problem,
please report back. Thanks.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
Index: src/interfaces/libpq/bcc32.mak
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/libpq/bcc32.mak,v
retrieving revision 1.27
diff -c -c -r1.27 bcc32.mak
*** src/interfaces/libpq/bcc32.mak 8 Mar 2007 19:27:28 -0000 1.27
--- src/interfaces/libpq/bcc32.mak 21 Nov 2007 23:02:28 -0000
***************
*** 137,147 ****
"$(INTDIR)\pthread-win32.obj"
! config: ..\..\include\pg_config.h pg_config_paths.h
..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
pg_config_paths.h: bcc32.mak
echo \#define SYSCONFDIR "" > pg_config_paths.h
--- 137,150 ----
"$(INTDIR)\pthread-win32.obj"
! config: ..\..\include\pg_config.h ..\..\include\pg_config_os.h pg_config_paths.h
..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
+ ..\..\include\pg_config_os.h: ..\..\include\port\win32.h
+ copy ..\..\include\port\win32.h ..\..\include\pg_config_os.h
+
# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
pg_config_paths.h: bcc32.mak
echo \#define SYSCONFDIR "" > pg_config_paths.h