Xymon Mailing List Archive search

hobbit and ssl compilation problem

5 messages in this thread

list Kenji Lefevre · Mon, 25 Aug 2008 18:22:07 +0200 ·
	Hi,

I tried to install hobbit server on a centos5
host.
I installed
gcc gcc-c++ pcre-devel libpng-devel openssl-devel
openldap-devel rrdtool-devel
and for ssl check when running configure.

I got this lines in the Makefile
 OpenSSL settings
SSLFLAGS = -DBBGEN_SSL
SSLINCDIR = -I/usr/include
SSLLIBS = -L/usr/lib -lssl -lcrypto
RPATHVAL += /usr/lib

but after the make, make install process
the following command
su - hobbit
./server/bin/bbtest-net --version
bbtest-net version 4.2.0

show ssl support is not provided by hobbit.

Any idea where it's coming from ?

Thanks for your help, Kenji
list Tim McCloskey · Mon, 25 Aug 2008 09:48:57 -0700 ·
On many systems openssl is installed in /usr/local/ssl/{bin,lib,include}.

HTH

Tim
quoted from Kenji Lefevre

Kenji Lefevre wrote:
	Hi,

I tried to install hobbit server on a centos5
host.
I installed
gcc gcc-c++ pcre-devel libpng-devel openssl-devel
openldap-devel rrdtool-devel
and for ssl check when running configure.

I got this lines in the Makefile
 OpenSSL settings
SSLFLAGS = -DBBGEN_SSL
SSLINCDIR = -I/usr/include
SSLLIBS = -L/usr/lib -lssl -lcrypto
RPATHVAL += /usr/lib

but after the make, make install process
the following command
su - hobbit
./server/bin/bbtest-net --version
bbtest-net version 4.2.0

show ssl support is not provided by hobbit.

Any idea where it's coming from ?

Thanks for your help, Kenji

list Kenji Lefèvre-Hasegawa · Tue, 26 Aug 2008 12:47:19 +0200 ·
On mine, it's seems to be located here
# rpm -ql openssl-devel
/usr/include/openssl
/usr/include/openssl/aes.h
/usr/include/openssl/asn1.h
/usr/include/openssl/asn1_mac.h
....
/usr/lib/libcrypto.a
/usr/lib/libcrypto.so
/usr/lib/libssl.a
/usr/lib/libssl.so
/usr/lib/pkgconfig/libcrypto.pc
/usr/lib/pkgconfig/libssl.pc
/usr/lib/pkgconfig/openssl.pc

I tried with these line in Makefile file
OpenSSL settings
SSLFLAGS = -DBBGEN_SSL
SSLINCDIR = -I/usr/include/openssl
SSLLIBS = -L/usr/lib -lssl -lcrypto
RPATHVAL += /usr/lib
but it still doesn't work.
Any idea of what's wrong is very welcomed.

Thanks, Kenji


Le 25 août 08 à 18:48, Tim McCloskey a écrit :
On many systems openssl is installed in /usr/local/ssl/ 
{bin,lib,include}.
quoted from Tim McCloskey

HTH

Tim

Kenji Lefevre wrote:
	Hi,
I tried to install hobbit server on a centos5
host.
I installed
gcc gcc-c++ pcre-devel libpng-devel openssl-devel
openldap-devel rrdtool-devel
and for ssl check when running configure.
I got this lines in the Makefile
OpenSSL settings
SSLFLAGS = -DBBGEN_SSL
SSLINCDIR = -I/usr/include
SSLLIBS = -L/usr/lib -lssl -lcrypto
RPATHVAL += /usr/lib
but after the make, make install process
the following command
su - hobbit
./server/bin/bbtest-net --version
bbtest-net version 4.2.0
show ssl support is not provided by hobbit.
Any idea where it's coming from ?
Thanks for your help, Kenji
list Kenji Lefevre · Mon, 27 Oct 2008 13:16:25 +0100 ·
	Hi,

I tried to install hobbit server on a centos5.1
host.  I installed
gcc gcc-c++ pcre-devel libpng-devel openssl-devel
openldap-devel rrdtool-devel
and asked for ssl check when running hobbit's configure.

This produced the following line in Makefile
quoted from Kenji Lefèvre-Hasegawa
	# OpenSSL settings
	SSLFLAGS = -DBBGEN_SSL
	SSLINCDIR = -I/usr/include
	SSLLIBS = -L/usr/lib -lssl -lcrypto
	RPATHVAL += /usr/lib

but after the make, make install process
the following command
	# su - hobbit
	# ./server/bin/bbtest-net --version
	bbtest-net version 4.2.0
show ssl support is not provided by hobbit.

Even when i put
	SSLINCDIR = -I/usr/include/openssl
in the Makefile
hobbit still not support ssl.

Sorry to bother you, but can someone tell me what are the correct values
in Makefile to make ssl support available knowing the following :

	# rpm -ql openssl-0.9.8b-10.el5
	/etc/pki/CA
	/etc/pki/CA/private
	/etc/pki/tls
	/etc/pki/tls/cert.pem
	/etc/pki/tls/certs
	/etc/pki/tls/certs/Makefile
	/etc/pki/tls/certs/ca-bundle.crt
	/etc/pki/tls/certs/make-dummy-cert
	/etc/pki/tls/misc
	/etc/pki/tls/misc/CA
	/etc/pki/tls/misc/c_hash
	/etc/pki/tls/misc/c_info
	/etc/pki/tls/misc/c_issuer
	/etc/pki/tls/misc/c_name
	/etc/pki/tls/openssl.cnf
	/etc/pki/tls/private
	/lib/libcrypto.so.0.9.8b
	/lib/libcrypto.so.6
	/lib/libssl.so.0.9.8b
	/lib/libssl.so.6
	/usr/bin/openssl
	/usr/lib/openssl
	/usr/lib/openssl/engines
	/usr/lib/openssl/engines/lib4758cca.so
	/usr/lib/openssl/engines/libaep.so
	/usr/lib/openssl/engines/libatalla.so
	/usr/lib/openssl/engines/libchil.so
	/usr/lib/openssl/engines/libcswift.so
	/usr/lib/openssl/engines/libgmp.so
	/usr/lib/openssl/engines/libnuron.so
	/usr/lib/openssl/engines/libsureware.so
	/usr/lib/openssl/engines/libubsec.so

and

	# rpm -ql openssl-devel-0.9.8b-10.el5 | grep -v /usr/share/man/
	/usr/include/openssl
	/usr/include/openssl/aes.h
	/usr/include/openssl/asn1.h
	/usr/include/openssl/asn1_mac.h
	/usr/include/openssl/asn1t.h
	/usr/include/openssl/bio.h
	/usr/include/openssl/blowfish.h
	/usr/include/openssl/bn.h
	/usr/include/openssl/buffer.h
	/usr/include/openssl/cast.h
	/usr/include/openssl/comp.h
	/usr/include/openssl/conf.h
	/usr/include/openssl/conf_api.h
	/usr/include/openssl/crypto.h
	/usr/include/openssl/des.h
	/usr/include/openssl/des_old.h
	/usr/include/openssl/dh.h
	/usr/include/openssl/dsa.h
	/usr/include/openssl/dso.h
	/usr/include/openssl/dtls1.h
	/usr/include/openssl/e_os2.h
	/usr/include/openssl/ebcdic.h
	/usr/include/openssl/engine.h
	/usr/include/openssl/err.h
	/usr/include/openssl/evp.h
	/usr/include/openssl/hmac.h
	/usr/include/openssl/krb5_asn.h
	/usr/include/openssl/kssl.h
	/usr/include/openssl/lhash.h
	/usr/include/openssl/md2.h
	/usr/include/openssl/md4.h
	/usr/include/openssl/md5.h
	/usr/include/openssl/obj_mac.h
	/usr/include/openssl/objects.h
	/usr/include/openssl/ocsp.h
	/usr/include/openssl/opensslconf-i386.h
	/usr/include/openssl/opensslconf.h
	/usr/include/openssl/opensslv.h
	/usr/include/openssl/ossl_typ.h
	/usr/include/openssl/pem.h
	/usr/include/openssl/pem2.h
	/usr/include/openssl/pkcs12.h
	/usr/include/openssl/pkcs7.h
	/usr/include/openssl/pq_compat.h
	/usr/include/openssl/pqueue.h
	/usr/include/openssl/rand.h
	/usr/include/openssl/rc2.h
	/usr/include/openssl/rc4.h
	/usr/include/openssl/ripemd.h
	/usr/include/openssl/rsa.h
	/usr/include/openssl/safestack.h
	/usr/include/openssl/sha.h
	/usr/include/openssl/ssl.h
	/usr/include/openssl/ssl2.h
	/usr/include/openssl/ssl23.h
	/usr/include/openssl/ssl3.h
	/usr/include/openssl/stack.h
	/usr/include/openssl/store.h
	/usr/include/openssl/symhacks.h
	/usr/include/openssl/tls1.h
	/usr/include/openssl/tmdiff.h
	/usr/include/openssl/txt_db.h
	/usr/include/openssl/ui.h
	/usr/include/openssl/ui_compat.h
	/usr/include/openssl/x509.h
	/usr/include/openssl/x509_vfy.h
	/usr/include/openssl/x509v3.h
	/usr/lib/libcrypto.a
	/usr/lib/libcrypto.so
	/usr/lib/libssl.a
	/usr/lib/libssl.so
	/usr/lib/pkgconfig/libcrypto.pc
	/usr/lib/pkgconfig/libssl.pc
	/usr/lib/pkgconfig/openssl.pc

Thanks for your help !

	Kenji
list Buchan Milne · Wed, 5 Nov 2008 20:14:32 +0200 ·
quoted from Kenji Lefevre
On Monday 27 October 2008 14:16:25 Kenji Lefevre wrote:
	Hi,

I tried to install hobbit server on a centos5.1
host.

You can make things a lot easier for yourself:

http://staff.telkomsa.net/packages/rhel5/hobbit/