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


---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to