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

Started by Berényi Gáborover 21 years ago8 messagespatches
Jump to latest
#1Berényi Gábor
ber_@freemail.hu

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
#2Bruce Momjian
bruce@momjian.us
In reply to: Berényi Gábor (#1)

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
#3Berényi Gábor
ber_@freemail.hu
In reply to: Bruce Momjian (#2)

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
#4Bruce Momjian
bruce@momjian.us
In reply to: Berényi Gábor (#3)
Re: [INTERFACES] bcc32.mak for libpq broken? (distro 8.0.0) (fwd)

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
#5Berényi Gábor
ber_@freemail.hu
In reply to: Bruce Momjian (#4)
Re: [INTERFACES] bcc32.mak for libpq broken? (distro 8.0.0) (fwd)

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
#6Bruce Momjian
bruce@momjian.us
In reply to: Berényi Gábor (#5)
Re: [INTERFACES] bcc32.mak for libpq broken? (distro 8.0.0)

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 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.

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
#7Berényi Gábor
ber_@freemail.hu
In reply to: Bruce Momjian (#6)
Re: [INTERFACES] bcc32.mak for libpq broken? (distro 8.0.0) (fwd)

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 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.

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

#8Bruce Momjian
bruce@momjian.us
In reply to: Berényi Gábor (#7)
Re: [INTERFACES] bcc32.mak for libpq broken? (distro 8.0.0)

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