Re: bcc32 libpq compile problem

Started by f.guidi@libero.itabout 21 years ago13 messagespatches
Jump to latest
#1f.guidi@libero.it
f.guidi@libero.it

C:\POSTGR~1\POSTGR~1.2\src\INTERF~1\libpq>make -f bcc32.mak

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Building the Win32 DLL and Static Library...

No configuration specified. Defaulting to Release.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

The system cannot find the file specified.

C:\POSTGR~1\POSTGR~1.2\src\INTERF~1\libpq>

f.guidi@libero.it wrote:

I done this
1) download the 8.0.2 source
2) unzipping all the tar.gz files in a directory
3) installing the borland c++ 5.5.1 freeware edition
4) in the directory interface libpq i changes the file bcc32.mak with the path of the compiler
5) launch the command make -f bcc32.mak
6) the result is that the directory result is not created and the message is simply that FILE NOT FOUND repeated about 20 times
7) if i create the directory result manually the message change with add the name of files that he don't find xxxx.obj

one question, can i compile directly the libpq or first i need to compile other packages ?

You can just compile libpq without other stuff.  Please copy/paste the
message into an email.
-- 
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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it

#2Bruce Momjian
bruce@momjian.us
In reply to: f.guidi@libero.it (#1)

I downloaded the Borland compiler and am running build tests now.

---------------------------------------------------------------------------

f.guidi@libero.it wrote:

C:\POSTGR~1\POSTGR~1.2\src\INTERF~1\libpq>make -f bcc32.mak

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Building the Win32 DLL and Static Library...

No configuration specified. Defaulting to Release.

The system cannot find the file specified.

-- 
  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
#3f.guidi@libero.it
f.guidi@libero.it
In reply to: Bruce Momjian (#2)

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

Show quoted text

I downloaded the Borland compiler and am running build tests now.

---------------------------------------------------------------------------

f.guidi@libero.it wrote:

C:\POSTGR~1\POSTGR~1.2\src\INTERF~1\libpq>make -f bcc32.mak

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland

Building the Win32 DLL and Static Library...

No configuration specified. Defaulting to Release.

The system cannot find the file specified.

#4Bruce Momjian
bruce@momjian.us
In reply to: f.guidi@libero.it (#3)
Re: [INTERFACES] bcc32 libpq compile problem

Fabio Guidi wrote:

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

I downloaded the Borland compiler and am running build tests now.

I finally got it working. I had to make major changes to the build
file. The new attached bcc32.mak should build on your 8.0.X system, and
this file will be in 8.0.3.

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

/pgrel/interfaces/libpq/bcc32.maktext/plainDownload
#5f.guidi@libero.it
f.guidi@libero.it
In reply to: Bruce Momjian (#4)
Re: [INTERFACES] bcc32 libpq compile problem

thanks a lot ... now i go to try ...

fabio

Fabio Guidi wrote:

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

I downloaded the Borland compiler and am running build tests now.

I finally got it working. I had to make major changes to the build
file. The new attached bcc32.mak should build on your 8.0.X system, and
this file will be in 8.0.3.

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

____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it

#6f.guidi@libero.it
f.guidi@libero.it
In reply to: f.guidi@libero.it (#5)
Re: [INTERFACES] bcc32 libpq compile problem

I try to use your make file, but i obtain an error at the end of build ...

this time the directory has created and several objs are present in it...

i attach the screenshot that appear...

thanks a lot again
fabio

Fabio Guidi wrote:

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

I downloaded the Borland compiler and am running build tests now.

I finally got it working. I had to make major changes to the build
file. The new attached bcc32.mak should build on your 8.0.X system, and
this file will be in 8.0.3.

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

____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it

Attachments:

errori_x_build_postgresql.txttext/plain; name="=?iso-8859-1?Q?errori=5Fx=5Fbuild=5Fpostgresql.txt?="Download+0-13
#7f.guidi@libero.it
f.guidi@libero.it
In reply to: f.guidi@libero.it (#6)
Re: [INTERFACES] bcc32 libpq compile problem

There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ...

at the and a file called blibpq.lib was built but it don't seem valid.

Fabio Guidi wrote:

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

I downloaded the Borland compiler and am running build tests now.

I finally got it working. I had to make major changes to the build
file. The new attached bcc32.mak should build on your 8.0.X system, and
this file will be in 8.0.3.

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

____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it

Attachments:

altri_messaggi_di_errore.txttext/plain; name="=?iso-8859-1?Q?altri=5Fmessaggi=5Fdi=5Ferrore.txt?="Download+24-2
#8f.guidi@libero.it
f.guidi@libero.it
In reply to: f.guidi@libero.it (#7)
Re: [INTERFACES] bcc32 libpq compile problem

All OK with libpq, what can i do to work under windows with ecpg ?

Thanks a lot

Fabio

Fabio Guidi wrote:

the compiler build correctly the package without error message ?

Bruce Momjian ha scritto:

I downloaded the Borland compiler and am running build tests now.

I finally got it working. I had to make major changes to the build
file. The new attached bcc32.mak should build on your 8.0.X system, and
this file will be in 8.0.3.

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

____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it

#9Bruce Momjian
bruce@momjian.us
In reply to: f.guidi@libero.it (#7)
Re: [INTERFACES] bcc32 libpq compile problem

f.guidi@libero.it wrote:

There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ...

at the and a file called blibpq.lib was built but it don't seem valid.

Here is a fix I forgot to send you that will allow libpq to compile.
This patch will be in 8.0.X too.

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

/bjm/difftext/plainDownload+2-2
#10Bruce Momjian
bruce@momjian.us
In reply to: f.guidi@libero.it (#8)
Re: [INTERFACES] bcc32 libpq compile problem

f.guidi@libero.it wrote:

All OK with libpq, what can i do to work under windows with ecpg ?

Uh, we don't have any ecpg makefiles for MSC or BCC. I am afraid you
will have to take the psql or libpq bcc32.mak and try to hack it around
to work, but it isn't going to be simple.

-- 
  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
#11f.guidi@libero.it
f.guidi@libero.it
In reply to: Bruce Momjian (#10)
Re: [INTERFACES] bcc32 libpq compile problem

The change to include pthread.h i done by myself when i try to build
again, no problem for ecpg i change my source to run only with libpq,
thanks a lot for help ...

bye
Fabio

Bruce Momjian ha scritto:

Show quoted text

f.guidi@libero.it wrote:

All OK with libpq, what can i do to work under windows with ecpg ?

Uh, we don't have any ecpg makefiles for MSC or BCC. I am afraid you
will have to take the psql or libpq bcc32.mak and try to hack it around
to work, but it isn't going to be simple.

#12Bruce Momjian
bruce@momjian.us
In reply to: f.guidi@libero.it (#11)
Re: [INTERFACES] bcc32 libpq compile problem

Fabio Guidi wrote:

The change to include pthread.h i done by myself when i try to build
again, no problem for ecpg i change my source to run only with libpq,
thanks a lot for help ...

Great. I figured you had made that change on your end.

-- 
  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
#13f.guidi@libero.it
f.guidi@libero.it
In reply to: Bruce Momjian (#12)
Re: [INTERFACES] bcc32 libpq compile problem

yes.
bye
Fabio

Bruce Momjian ha scritto:

Show quoted text

Fabio Guidi wrote:

The change to include pthread.h i done by myself when i try to build
again, no problem for ecpg i change my source to run only with libpq,
thanks a lot for help ...

Great. I figured you had made that change on your end.