pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Pavel Golub <pavel@microolap.com>
Cc: pgsql-interfaces@postgresql.org
Cc: ber_@freemail.hu
Subject: Re: bcc32.mak for libpq broken? (distro 8.0.0)
Date: Fri, 13 May 2005 14:23:31 -0400 (EDT)
Message-ID: <200505131823.j4DINVf14080@candle.pha.pa.us> (raw)
In-Reply-To: <688487776.20050512135156@microolap.com>

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



view thread (5+ messages)

Message-ID: <200505131823.j4DINVf14080@candle.pha.pa.us>
Permalink:  ../200505131823.j4DINVf14080@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200505131823.j4DINVf14080@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, pavel@microolap.com, ber_@freemail.hu
  Subject: Re: bcc32.mak for libpq broken? (distro 8.0.0)
  In-Reply-To: <200505131823.j4DINVf14080@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox