Re: configure problem with krb4 and ssl when compiling 7.1beta4

Lists: pgsql-hackers
From: Jun Kuwamura <juk(at)rccm(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: configure problem with krb4 and ssl when compiling 7.1beta4
Date: 2001-02-02 12:03:14
Message-ID: Pine.LNX.3.96LJ1.1b7.1010202114227.18251B-100000@ylix.astea.rccm.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

I encounterd some problems when compiling 7.1beta4 with options
--with-krb4 and (--with-openssl --with-python). Actual command
line of configuration is the followings.

--
./configure --enable-multibyte --with-tcl \
--with-tclconfig=/usr/local/lib --with-tkconfig=/usr/local/lib \
--with-krb4=/usr/athena --with-openssl --enable-odbc --with-python
--

They are easy to be fixed after run configure, but I couldn't
find a way to fix them basicaly.

(1) KTH-KRB4(Kerberos4) require -lresolve to configure.

$ diff configure~ configure
4315c4315
< LIBS="-lkrb $LIBS"
---
> LIBS="-lkrb -lresolv $LIBS"
4349c4349
< LIBS="-lkrb $LIBS"
---
> LIBS="-lkrb -lresolv $LIBS"

(2) No OpenSSL library path in generated Makefile in
src/interfaces/python. -L/usr/local/ssl/lib must be
added by hand.

diff src/interfaces/python/Makefile~ src/interfaces/python/Makefile
327c327
< _pgmodule$(SO): pgmodule.o; $(LDSHARED) pgmodule.o -L../../../src/interfaces/libpq -lpq -lssl -lcrypto -lkrb -lresolv -ldes -lz -lcrypt -lnsl -ldl -lm -lbsd -lreadline -ltermcap -lncurses -o _pgmodule$(SO)
---
> _pgmodule$(SO): pgmodule.o; $(LDSHARED) pgmodule.o -L../../../src/interfaces/libpq -lpq -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/athena/lib -lkrb -lresolv -ldes -lz -lcrypt -lnsl -ldl -lm -lbsd -lreadline -ltermcap -lncurses -o _pgmodule$(SO)

Farthermore, the newest version of PyGreSQL is 3.1 instead of
2.5.

--
Jun Kuwamura
rC Cm
^
~


From: ncm(at)zembu(dot)com (Nathan Myers)
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: configure problem with krb4 and ssl when compiling 7.1beta4
Date: 2001-02-02 16:34:18
Message-ID: 20010202083418.X624@store.zembu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Feb 02, 2001 at 12:03:14PM +0000, Jun Kuwamura wrote:
> Furthermore, the newest version of PyGreSQL is 3.1 instead of 2.5.

Is this on the TODO-7.1 list?

Nathan Myers
ncm(at)zembu(dot)com


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: configure problem with krb4 and ssl when compiling 7.1beta4
Date: 2001-02-02 18:18:45
Message-ID: 200102021818.NAA13331@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I have updated the CVS copy of python to show the proper version. We
had 3.1, but the 3.1 tarball called it 2.5 in README.

> On Fri, Feb 02, 2001 at 12:03:14PM +0000, Jun Kuwamura wrote:
> > Furthermore, the newest version of PyGreSQL is 3.1 instead of 2.5.
>
> Is this on the TODO-7.1 list?
>
> Nathan Myers
> ncm(at)zembu(dot)com
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jun Kuwamura <juk(at)rccm(dot)co(dot)jp>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: configure problem with krb4 and ssl when compiling 7.1beta4
Date: 2001-02-03 16:39:18
Message-ID: Pine.LNX.4.30.0102031738470.8648-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jun Kuwamura writes:

> (1) KTH-KRB4(Kerberos4) require -lresolve to configure.

Exact name of the symbol required?

> (2) No OpenSSL library path in generated Makefile in
> src/interfaces/python. -L/usr/local/ssl/lib must be
> added by hand.

Will fix that.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/


From: Jun Kuwamura <juk(at)rccm(dot)co(dot)jp>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: configure problem with krb4 and ssl when compiling 7.1beta4
Date: 2001-02-04 12:19:57
Message-ID: Pine.LNX.3.96LJ1.1b7.1010204110645.23940G-100000@ylix.astea.rccm.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, 3 Feb 2001, Peter Eisentraut wrote:

> Jun Kuwamura writes:
>
> > (1) KTH-KRB4(Kerberos4) require -lresolve to configure.
>
> Exact name of the symbol required?

gcc testkrb.c -L/usr/athena/lib -lkrb -ldes 2>&1 \
| grep undef |cut -f5 -d' ' | uniq
`dn_expand'
`res_search'

--
Jun Kuwamura
rC Cm
^
~