/ Zope / Apsis / Pound Mailing List / Archive / 2005 / 2005-11 / Re: [Pound Mailing List] pound-1.9.4 hanging/crashing in init_RSAgen ?

[ << ] [ >> ]

[ Re: [Pound Mailing List] ANNOUNCE: Pound - ... ] [ PROPFIND 501 Not Implemented - after upgrading ... ]

Re: [Pound Mailing List] pound-1.9.4 hanging/crashing in init_RSAgen ?
Robert Segall <roseg(at)apsis.ch>
2005-11-01 14:09:50 [ FULL ]
On Mon, 2005-10-31 at 21:24 +0100, Stefan Bund wrote:[...]

This rings a (very faint) bell...

On RedHat there used to be a silly RPM dependency - namely OpenSSL was
somehow tied in to Kerberos! Perhaps somebody with a live RedHat can
help here?

The 'not a prototype' thing means that you somehow mix the include files
from your system OpenSSL with the ones in your privately installed
packages (a good OpenSSL installation should compile cleanly). Please
check if you have the -I/usr/local/stow/openssl/include in the Makefile
and if the .h files are really there![...]

Re: [Pound Mailing List] pound-1.9.4 hanging/crashing in init_RSAgen ?
"Simon Matter" <simon.matter(at)ch.sauter-bc.com>
2005-11-01 14:59:20 [ FULL ]
> On Mon, 2005-10-31 at 21:24 +0100, Stefan Bund wrote:[...][...]

On RedHat, the following before ./configure does the right thing:

if pkg-config openssl; then
  CPPFLAGS="$(pkg-config --cflags-only-I openssl) $CPPFLAGS"; export CPPFLAGS
  CFLAGS="$(pkg-config --cflags openssl) $CFLAGS"; export CFLAGS
  LDFLAGS="$(pkg-config --libs-only-L openssl) $LDFLAGS"; export LDFLAGS
fi

However I don't think this is the problem here, at least on RedHat, pound
simply doesn't build without the correct flags.

Simon
[...]

Re: [Pound Mailing List] pound-1.9.4 hanging/crashing in init_RSAgen ?
Stefan Bund <l-pound.z.xalan(at)xoxy.net>
2005-11-01 22:52:16 [ FULL ]
Robert Segall <roseg(at)apsis.ch> writes:
[...][...][...]

As I mentioned before, I have removed all development files for other
openssl Versions. I checked (using find) and I cannot find any other
file directory named 'openssl' outside /usr/local/stow/openssl ...

Again verifying the compile command, I find, that the correct -I
option is indeed present and all warning messags refer to files under
/usr/local/stow/openssl/include/openssl, eg:

# cc -DF_CONF=\"/usr/local/etc/pound.cfg\" -g -O2 -pthread -DUPER -DMSDAV
-DNEED_STACK -I/usr/local/stow/openssl/include  -D_REENTRANT -D_THREAD_SAFE
-Wstrict-prototypes -pipe   -c -o svc.o svc.c
In file included from /usr/local/stow/openssl/include/openssl/ssl.h:171,
                 from pound.h:180,
                 from svc.c:188:
/usr/local/stow/openssl/include/openssl/comp.h:15: warning: function
declaration isn't a prototype
/usr/local/stow/openssl/include/openssl/comp.h:16: warning: function
declaration isn't a prototype
/usr/local/stow/openssl/include/openssl/comp.h:17: warning: function
declaration isn't a prototype
/usr/local/stow/openssl/include/openssl/comp.h:18: warning: function
declaration isn't a prototype
/usr/local/stow/openssl/include/openssl/comp.h:19: warning: function
declaration isn't a prototype
/usr/local/stow/openssl/include/openssl/comp.h:20: warning: function
declaration isn't a prototype
In file included from /usr/local/stow/openssl/include/openssl/ui_compat.h:63,
                 from /usr/local/stow/openssl/include/openssl/des_old.h:439,
                 from /usr/local/stow/openssl/include/openssl/des.h:101,
                 from /usr/local/stow/openssl/include/openssl/evp.h:97,
                 from /usr/local/stow/openssl/include/openssl/x509.h:67,
                 from /usr/local/stow/openssl/include/openssl/ssl.h:177,
                 from pound.h:180,
                 from svc.c:188:
/usr/local/stow/openssl/include/openssl/ui.h:220: warning: function declaration
isn't a prototype
[...]

The system I'm running all this on is a debian stable (sarge) system
running on the 2.6.12 kernel (with UML-skas patch).

I will be away for the next 7 days and will have to check further
after that. Thanks for all help so far. If anyone has a clue, please
help ...

Stefan.
[...]

MailBoxer