Re: bcc32.mak for libpq broken? (distro 8.0.0)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Pavel Golub <pavel(at)microolap(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org, ber_(at)freemail(dot)hu
Subject: Re: bcc32.mak for libpq broken? (distro 8.0.0)
Date: 2005-05-13 18:23:31
Message-ID: 200505131823.j4DINVf14080@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Teunis Peters 2005-05-14 18:40:10 Two seperate problems with libpq - arrays and bytea edit
Previous Message Volkan YAZICI 2005-05-13 14:44:26 Re: Using receive function LIBPQ