|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2006
/
2006-09
/
Pound on OpenBSD - OpenSSL thread support
[
Added support for changing listener IP based on ... ]
[
Hardware Sizing and Heavy Loads / "Mathew ... ]
Pound on OpenBSD - OpenSSL thread support
Falk Brockerhoff <noc(at)smartterra.de> |
2006-09-15 19:11:57 |
[ FULL ]
|
Hello,
does somebody has some experience with compiling pound 2.1.1 on OpenBSD 3.9?
A make fails because of the lack of openssl thread-support. On my old
platform (FreeBSD 6.1) I only have to install OpenSSL from the ports and
to give the directory as a configure-param. But on OpenBSD there is no
such port. Can you please tell me what to do next?
Regards,
Falk Brockerhoff
|
|
|
Re: [Pound Mailing List] Pound on OpenBSD - OpenSSL thread support
Simon Slaytor <sslaytor(at)iom.com> |
2006-09-15 21:28:59 |
[ FULL ]
|
Hi Falk,
Not a problem, 1st download and extract the latest OpenSSL tarball in
your /usr/src directory.
Do a standard install:
./config
make && make install
Don't worry the custom OpenBSD SSL libraries won't be touched as OpenBSD
has them in 'non standard', from an OpenSSL perspective.
Now download and extract the latest Pound tarball.
Issue the following command to configure Pound:
./configure --with-ssl=/usr/local/ssl
make && make install
Thats it you should now have a working install of pound in /usr/local/sbin
Regards
Simon
Falk Brockerhoff wrote:[...]
|
|
|
Re: [Pound Mailing List] Pound on OpenBSD - OpenSSL thread support
Richard Wilson <Richard.Wilson(at)senokian.net> |
2006-09-18 15:27:14 |
[ FULL ]
|
Simon Slaytor wrote:[...]
On all my installs, I've used
./config threads
to include thread support. Is this not required?
Dave.
|
|
|
Re: [Pound Mailing List] Pound on OpenBSD - OpenSSL thread support
Simon Slaytor <sslaytor(at)iom.com> |
2006-09-18 16:54:40 |
[ FULL ]
|
Hi Dave,
Good question, I read the following excerpt from the INSTALL file and
took it from the lack of errors that the config script recognized and
configured thread support for OpenBSD
/Note on multi-threading
-----------------------
For some systems, the OpenSSL Configure script knows what compiler options
are needed to generate a library that is suitable for multi-threaded
applications. On these systems, support for multi-threading is enabled
by default; use the "no-threads" option to disable (this should never be
necessary).
/
looking at the output from the configure scripts confirms things
/# ./config
Operating system: i386-whatever-openbsd
Configuring for BSD-x86-elf
Configuring for BSD-x86-elf
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-shared [default]
no-sse2 [forced]
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=0
CC =gcc
CFLAG =*-DOPENSSL_THREADS *-*pthread* -D_*THREAD*_*SAFE*
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3
-fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM
-DMD5_ASM -DRMD160_ASM -DAES_ASM
/So in answer it looks like the 'threads' switch is not required for
OpenBSD 3.9 and OpenSSL 0.9.8b.
Regards
Simon
looking and the Makefile generated I
Richard Wilson wrote:[...][...][...]
|
|
|
|
|
|