[reSIProcate] resiprocate on Red Hat - missing kerberos include path
- From: "Alfred E. Heggestad" <aeh@xxxxxx>
- Date: Tue, 19 Sep 2006 10:41:20 +0200
hi
when building resiprocate on Red Hat (RHES3) with OpenSSL 0.9.7a
it complains about a missing header file:
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
from /usr/local/include/resip/stack/Security.hxx:14,
from
/usr/local/include/resip/stack/TransactionController.hxx:8,
from /usr/local/include/resip/stack/SipStack.hxx:11,
I added the include path to kerberos header files, and now it builds
fine. However, I am not sure if this is the correct way of fixing it..
patch:
Index: build/Makefile.pkg
===================================================================
--- build/Makefile.pkg (revision 6589)
+++ build/Makefile.pkg (working copy)
@@ -36,7 +36,7 @@
ifeq ($(USE_SSL),yes)
OPENSSL_LIBNAME := ssl crypto
OPENSSL_LDFLAGS :=
-OPENSSL_INCLUDEDIRS :=
+OPENSSL_INCLUDEDIRS := /usr/kerberos/include
OPENSSL_LIBDIRS :=
OPENSSL_DEFINES += USE_SSL
/alfred