SSL detection bug is back under debian...

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: jm(at)poure(dot)com, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: SSL detection bug is back under debian...
Date: 2003-10-16 10:33:43
Message-ID: 3F8E7407.9080101@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Dear Adam,

Jean-Michel reported to me this morning that the SSL menu was empty
under debian builds.
I had a quick look to the build process and it seems that we still have
"-I -DSSL" while in the make all-recursive.
<--- cut here --->
if i386-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/share/pgadmin3
/\" -Wall -g -I../src/include -I../src/agent/include -I -DSSL
-I/usr/include/pos
tgresql -I./include -I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__
-D__WXGTK__ -
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include
-DDATA_DIR=\"/usr/share/pgad
min3/\" -Wall -g -I../src/include -I../src/agent/include -I -g -O2 -MT
pgAdmin3.
o -MD -MP -MF ".deps/pgAdmin3.Tpo" \
<--- cut here --->

I had a quick look to the makefiles generated by configure and found
that the one in src does something like this:
-I$(WX_HOME)
It seems that this define is empty on my debian host.
I finally did this
$(MAKE) WX_HOME=/usr
instead of a simple $(MAKE) while in the build process. The package
generated did what expected: the SSL menu has now two selectable options
now.

For future reference here is the configure line that I use to build
debian packages (note that I don't use --enable-static):
_deb_wxconfig?=wxgtk2ud-2.5-config
./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--with-wx-config=$(_deb_wxconfig) \
--with-pgsql-include=$(_pgsql_inc) \
--with-wx=/usr \
--enable-gtk2 \
--enable-unicode

I will continue to look for this but I think you'll be faster than me
with such issues.

Jean-Michel, if you need a debian version with "true" ssl support just
apt-get source pgadmin3
and edit debian/rules file to replace line 63:
$(MAKE) -----> $(MAKE) WX_HOME=/usr
I can also provide one for you (I built it this morning).

Regards,
Raphaël

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Jean-Michel POURE 2003-10-16 11:01:30 Re: SSL detection bug is back under debian...
Previous Message Hiroshi Saito 2003-10-16 09:25:27 "Select All" po file of wxwindows-scintilla.