ecpg compile (compatlib)

Started by deststarabout 23 years ago7 messagespatches
Jump to latest
#1deststar
deststar@blueyonder.co.uk
*** src/interfaces/ecpg/compatlib/Makefile.orig	Thu May 22 18:20:44 2003
--- src/interfaces/ecpg/compatlib/Makefile	Sun Jun 15 15:45:34 2003
***************
*** 17,23 ****
   SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes

OBJS= informix.o

--- 17,23 ----
   SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg

OBJS= informix.o

#2Bruce Momjian
bruce@momjian.us
In reply to: deststar (#1)
Re: ecpg compile (compatlib)

Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
but not for other platforms?

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

deststar wrote:

*** src/interfaces/ecpg/compatlib/Makefile.orig	Thu May 22 18:20:44 2003
--- src/interfaces/ecpg/compatlib/Makefile	Sun Jun 15 15:45:34 2003
***************
*** 17,23 ****
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes

OBJS= informix.o

--- 17,23 ----
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg

OBJS= informix.o

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
  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
#3Jason Tishler
jason@tishler.net
In reply to: Bruce Momjian (#2)
Re: ecpg compile (compatlib)

Bruce,

On Mon, Jun 23, 2003 at 09:52:01PM -0400, Bruce Momjian wrote:

Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
but not for other platforms?

Please see the following:

http://archives.postgresql.org/pgsql-hackers/2003-04/msg01005.php

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

#4Bruce Momjian
bruce@momjian.us
In reply to: Jason Tishler (#3)
Re: ecpg compile (compatlib)

Jason Tishler wrote:

Bruce,

On Mon, Jun 23, 2003 at 09:52:01PM -0400, Bruce Momjian wrote:

Can someone remind me why "-L../ecpglib -lecpg" is required for cygwin
but not for other platforms?

Please see the following:

http://archives.postgresql.org/pgsql-hackers/2003-04/msg01005.php

Yes, this is exactly the email I remember. My last question is do we
have this covered in every other case except this ecpg one?

-- 
  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
#5Jason Tishler
jason@tishler.net
In reply to: Bruce Momjian (#4)
Re: ecpg compile (compatlib)

Bruce,

On Tue, Jun 24, 2003 at 09:33:56AM -0400, Bruce Momjian wrote:

My last question is do we have this covered in every other case except
this ecpg one?

AFAICT, yes. Or, more accurately, with CVS updated at about 7:00 AM ET
today, the following built cleanly (with deststar's ecpg patch applied
locally):

configure --enable-multibyte --with-python --with-perl --with-java --with-CXX ...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

#6Bruce Momjian
bruce@momjian.us
In reply to: deststar (#1)
Re: ecpg compile (compatlib)

Patch applied. Thanks.

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

deststar wrote:

*** src/interfaces/ecpg/compatlib/Makefile.orig	Thu May 22 18:20:44 2003
--- src/interfaces/ecpg/compatlib/Makefile	Sun Jun 15 15:45:34 2003
***************
*** 17,23 ****
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes

OBJS= informix.o

--- 17,23 ----
SO_MINOR_VERSION= 0.0

override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include
-I$(top_srcdir)/src/include/utils $(CPPFLAGS)
! SHLIB_LINK = -L../pgtypeslib -lpgtypes -L../ecpglib -lecpg

OBJS= informix.o

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

-- 
  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
#7Bruce Momjian
bruce@momjian.us
In reply to: Jason Tishler (#5)
Re: ecpg compile (compatlib)

OK, ecpg patch applied. Thanks for the testing.

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

Jason Tishler wrote:

Bruce,

On Tue, Jun 24, 2003 at 09:33:56AM -0400, Bruce Momjian wrote:

My last question is do we have this covered in every other case except
this ecpg one?

AFAICT, yes. Or, more accurately, with CVS updated at about 7:00 AM ET
today, the following built cleanly (with deststar's ecpg patch applied
locally):

configure --enable-multibyte --with-python --with-perl --with-java --with-CXX ...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

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