X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0511A53829 for ; Fri, 13 May 2005 15:23:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92002-09 for ; Fri, 13 May 2005 18:23:31 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id B61C4535C7 for ; Fri, 13 May 2005 15:23:29 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j4DINVf14080; Fri, 13 May 2005 14:23:31 -0400 (EDT) From: Bruce Momjian Message-Id: <200505131823.j4DINVf14080@candle.pha.pa.us> Subject: Re: bcc32.mak for libpq broken? (distro 8.0.0) In-Reply-To: <688487776.20050512135156@microolap.com> To: Pavel Golub Date: Fri, 13 May 2005 14:23:31 -0400 (EDT) Cc: pgsql-interfaces@postgresql.org, ber_@freemail.hu X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/34 X-Sequence-Number: 5537 Pavel Golub wrote: > Hello. > > Guys, sorry that use your private mails. > > It seems that I found error about bcc32.mak > > The thing is that libpq\bcc32.mak and \psql\bcc32.mak waits that make > will be executed with -N option, but it is not. Why not? For this we > must look at \src\bcc32.mak > > >>=============== > ... > ALL: > cd include > if not exist pg_config.h copy pg_config.h.win32 pg_config.h > cd .. > cd interfaces\libpq > make -DCFG=$(CFG) /f bcc32.mak # This line executes make without -N option > cd ..\..\bin\psql > make -DCFG=$(CFG) /f bcc32.mak #This one too > cd ..\.. > echo All Win32 parts have been built! > ... > >>=============== > > I changed these lines to such view and all seems OK: > > make -DCFG=$(CFG) -N /f bcc32.mak Yep, I just added -N to that file. I had forgotten it was there at the top level. The fix will be in 8.0.X. Add them to all the 'make' lines, including the 'clean' ones. > Please, tell me if I wrong cause I'm not so familiar with C. I am > Pascal developer. > > And one more question. make executes and then I have sush error > message: > > >>=============== > ... > > bcc32.exe -IE:\Bcc55\include;..\..\include -n".\Release" -WD -c -DFRONTE > ND;NDEBUG;WIN32;_WINDOWS;HAVE_VSNPRINTF;HAVE_STRDUP; -tWM -a8 -X -w-use -w-par > -w-pia -w-csu -w-aus -w-ccc -O -Oi -OS -DNDEBUG libpqdll.c > Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland > libpqdll.c: > Fatal: 'libpq.rc' does not exist - don't know how to make it > > ** error 1 ** deleting ALL > >>=============== > > Where or how can I get it? Thanks in advance Now that seems strange. Don't you have libpq.rc in your src/interfaces/libpq directory? I do, and the make build works fine. Have you tried running the bcc32.mak directly from the interfaces/libpq directory? Maybe that would help. -- 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