configure problem with krb4 and ssl when compiling 7.1beta4

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
Thread:
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
^
~

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message doj 2001-02-02 13:09:54 julian day function
Previous Message Maurizio 2001-02-02 09:31:05 7.1 beta 3 CHANGES FOR QNX