Re: Compile failure 2.0.49 on RHEL3
On Fri, May 21, 2004 at 08:23:51PM +0200, Graham Leggett wrote: > >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18989 ... > Ok, my autoconf is really rusty. > > What would need to be done to test for krb5.h under > /usr/kerberos/include using the "right" way of doing things... Really, the right way to fix this is to add support for pkg-config to the OpenSSL detection code in acinclude.m4, so `pkg-config --cflags openssl` etc is used during the build. Regards, joe
Re: Compile failure 2.0.49 on RHEL3
Aryeh Katz wrote: I have just tried to build v2.0.49 under RHEL3, and I get the failure below. I had the same failure w RH9 see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18989 Aryeh For some reason, Redhat put krb5.h inside /usr/kerberos/include, and if the include path /usr/kerberos/include is not added to CFLAGS, none of the ssl stuff will compile (as ssl.h includes krb5.h). Is it possible to add a check for krb5.h to the configure script? Ok, my autoconf is really rusty. What would need to be done to test for krb5.h under /usr/kerberos/include using the "right" way of doing things... The autoconf manual shows how to check for a header, but I cannot seem to figure out how to specify an includes path. What I am trying to achieve is to add "CFLAGS=-I/usr/kerberos/include" in front of ./configure, which neatly solves this problem. I just need to know how to do this portably. Anybody able to shed some light? Regards, Graham --
Re: Compile failure 2.0.49 on RHEL3
Graham Leggett wrote: Hi all, I have just tried to build v2.0.49 under RHEL3, and I get the failure below. I had the same failure w RH9 see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18989 Aryeh For some reason, Redhat put krb5.h inside /usr/kerberos/include, and if the include path /usr/kerberos/include is not added to CFLAGS, none of the ssl stuff will compile (as ssl.h includes krb5.h). Is it possible to add a check for krb5.h to the configure script? /home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr/include -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr-util/include -I. -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/os/unix -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/server/mpm/prefork -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/http -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/filters -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/proxy -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/include -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/generators -I/usr/include/openssl -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/dav/main -prefer-pic -c mod_ssl.c && touch mod_ssl.slo In file included from /usr/include/openssl/ssl.h:179, from mod_ssl.h:91, from mod_ssl.c:26: /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 mod_ssl.h:91, from mod_ssl.c:26: [snip] Regards, Graham -- -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2
Compile failure 2.0.49 on RHEL3
Hi all, I have just tried to build v2.0.49 under RHEL3, and I get the failure below. For some reason, Redhat put krb5.h inside /usr/kerberos/include, and if the include path /usr/kerberos/include is not added to CFLAGS, none of the ssl stuff will compile (as ssl.h includes krb5.h). Is it possible to add a check for krb5.h to the configure script? /home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr/include -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/srclib/apr-util/include -I. -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/os/unix -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/server/mpm/prefork -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/http -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/filters -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/proxy -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/include -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/generators -I/usr/include/openssl -I/home/gatekeeper/minfrin/src/apache/sandbox/proxy/httpd-2.0.49/modules/dav/main -prefer-pic -c mod_ssl.c && touch mod_ssl.slo In file included from /usr/include/openssl/ssl.h:179, from mod_ssl.h:91, from mod_ssl.c:26: /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 mod_ssl.h:91, from mod_ssl.c:26: [snip] Regards, Graham --