Обсуждение: ecpg compile (compatlib)

Поиск
Список
Период
Сортировка

ecpg compile (compatlib)

От
deststar
Дата:
*** 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



Re: ecpg compile (compatlib)

От
Bruce Momjian
Дата:
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

Re: ecpg compile (compatlib)

От
Jason Tishler
Дата:
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

Re: ecpg compile (compatlib)

От
Bruce Momjian
Дата:
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

Re: ecpg compile (compatlib)

От
Jason Tishler
Дата:
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

Re: ecpg compile (compatlib)

От
Bruce Momjian
Дата:
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

Re: ecpg compile (compatlib)

От
Bruce Momjian
Дата:
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