Re: bcc32.mak for libpq broken? (distro 8.0.0) (fwd)
Meanwhile I made libpq.dll work in the following way:
First it threw an error ("the specified module could not be found").
Win98 did not say a word about what it needs, but testing it in XP, I
realized that it was just asking for other DLLs, and could download
them, and now the library works. (Should have listened to Magnus
Hagander who warned me about dependencies.)
Regarding bcc32.mak, it could not make getaddrinfo.obj. I will be able
to make further tests, but please send me whole files instead of
patches - that will make things much easier under the circumstances.
Thank you, with love, Gabor
Bruce Momjian <pgman@candle.pha.pa.us> írta:
Berényi Gábor wrote:
Dear Bruce, Magnus and others,
Strangely LoadLibrary() does not load libpq.dll (coming from the
binary
distribution) on a Win98 client. LoadLibrary() does work with other
libraries. Any ideas would be appreciated.The new libpq makefile for bcc failed.
Please show us how it failed.
-- 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
Show quoted text
Ber���nyi G���bor wrote:
Meanwhile I made libpq.dll work in the following way:
First it threw an error ("the specified module could not be found").
Win98 did not say a word about what it needs, but testing it in XP, I
realized that it was just asking for other DLLs, and could download
them, and now the library works. (Should have listened to Magnus
Hagander who warned me about dependencies.)Regarding bcc32.mak, it could not make getaddrinfo.obj. I will be able
to make further tests, but please send me whole files instead of
patches - that will make things much easier under the circumstances.Thank you, with love, Gabor
OK, I think I see why didn't work. Here is a new bcc32.mak file.
--
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
Attachments:
/pg/interfaces/libpq/bcc32.maktext/plainDownload
Dear Bruce,
Didn't work:
Fatal bcc32.mak 169: No terminator specified for in-line file operator
Look forward to hear of you again, Gabor
Bruce Momjian <pgman@candle.pha.pa.us> írta:
Berényi Gábor wrote:
Meanwhile I made libpq.dll work in the following way:
First it threw an error ("the specified module could not be found").
Win98 did not say a word about what it needs, but testing it in XP,
I
realized that it was just asking for other DLLs, and could download
them, and now the library works. (Should have listened to Magnus
Hagander who warned me about dependencies.)Regarding bcc32.mak, it could not make getaddrinfo.obj. I will be
able
to make further tests, but please send me whole files instead of
patches - that will make things much easier under the
circumstances.
Thank you, with love, Gabor
OK, I think I see why didn't work. Here is a new bcc32.mak file.
-- 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
Show quoted text
Ber���nyi G���bor wrote:
Dear Bruce,
Didn't work:
Fatal bcc32.mak 169: No terminator specified for in-line file operator
Look forward to hear of you again, Gabor
OK, new bcc32.mak attached. It turns out the actions were indented with
spaces instead of tabs.
--
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
Attachments:
/pg/interfaces/libpq/bcc32.maktext/plainDownload
The problem is something else.
Gives the same message.
Bruce Momjian <pgman@candle.pha.pa.us> írta:
Berényi Gábor wrote:
Dear Bruce,
Didn't work:
Fatal bcc32.mak 169: No terminator specified for in-line file
operator
Look forward to hear of you again, Gabor
OK, new bcc32.mak attached. It turns out the actions were
indented with
spaces instead of tabs.
-- 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
Show quoted text
Ber���nyi G���bor wrote:
The problem is something else.
Gives the same message.Bruce Momjian <pgman@candle.pha.pa.us> ?rta:
Ber?nyi G?bor wrote:
Dear Bruce,
Didn't work:
Fatal bcc32.mak 169: No terminator specified for in-line fileoperator
Look forward to hear of you again, Gabor
OK, new bcc32.mak attached. It turns out the actions were
indented with
spaces instead of tabs.
OK, I think I figured it out. "Resource files" are done differently in
MS make and bcc make. I have attached a new file. Please test and let
me know. If you can keep testing, we will eventually get this working.
Thanks.
--
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
Attachments:
/pg/interfaces/libpq/bcc32.maktext/plainDownload
Bruce Momjian <pgman@candle.pha.pa.us> írta:
Berényi Gábor wrote:
The problem is something else.
Gives the same message.Bruce Momjian <pgman@candle.pha.pa.us> ?rta:
Ber?nyi G?bor wrote:
Dear Bruce,
Didn't work:
Fatal bcc32.mak 169: No terminator specified for in-line fileoperator
Look forward to hear of you again, Gabor
OK, new bcc32.mak attached. It turns out the actions were
indented with
spaces instead of tabs.
OK, I think I figured it out. "Resource files" are done differently in
MS make and bcc make. I have attached a new file. Please test and
let
me know. If you can keep testing, we will eventually get this
working.
Thanks.
-- 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
Hello Bruce,
The output: 29 rows, each consists of the single message "file not
found".
Should I send you a bcc makefile that works? have one for my project
that the IDE created automatically - if you think it helps to understand
the syntax.
Keep trying, Gabor
Ber���nyi G���bor wrote:
Hello Bruce,
The output: 29 rows, each consists of the single message "file not
found".
Should I send you a bcc makefile that works? have one for my project
that the IDE created automatically - if you think it helps to understand
the syntax.
Great, sure, send it over.
--
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