|From:||Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>|
|To:||Pavel Golub <pavel(at)microolap(dot)com>|
|Subject:||Re: bcc32.mak for libpq broken? (distro 8.0.0)|
|Views:||Raw Message | Whole Thread | Download mbox|
Pavel Golub wrote:
> 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
> 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
> 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
> 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
|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|