Date: Wed, 20 Dec 2006 21:16:13 +1300 From: "Stefan Schablowski" <stefan.schablowski@prolificx.com> To: <apache@FreeBSD.org> Cc: ports@FreeBSD.org, freebsd-apache@freebsd.org Subject: FreeBSD Port: mod_auth_kerb-5.0.r6_1 plus patch --> compile error Message-ID: <048DAE2206FF0D45844991688ABAD648C9EDA2@Mercury.nz.prolificx.com>
next in thread | raw e-mail | index | archive | help
Hi all, =20 I am trying to kerberize my Apache 2.0.59 server running on FreeBSD 6.1 using mod_auth_kerb. I've followed the excellent tutorial on http://www.grolmsnet.de/kerbtut/ I maintain the FreeBSD system itself using portsnap and portmanager; all ports are current. =20 I tried to build mod_auth_kerb using the usual FreeBSD way cd /usr/ports/www/mod_auth_kerb/ && make install clean (see also http://www.freshports.org/www/mod_auth_kerb/), but that didn't work because the official current version mod_auth_kerb-5.0.r6_1 seems to require Apache 1.3 (see also http://www.freebsd.org/cgi/ports.cgi?query=3Dmod_auth_kerb+&stype=3Dall).= =20 I tried applying the patch from http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D6513+11580+/usr/local/www/d= b /text/2006/freebsd-apache/20061029.freebsd-apache which only worked for 1 file, so I patched the remaining 2 manually. Now I get the following compile error: =20 (wrapped for readability) =20 /usr/local/share/apache2/build/libtool --silent --mode=3Dcompile cc -prefer-pic -O2 -fno-strict-aliasing -pipe -DAP_HAVE_DESIGNATED_INITIALIZER -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include/apache2 -I/usr/local/include -I. -Ispnegokrb5 -I/usr/include -c -o spnegokrb5/asn1_MechType.lo spnegokrb5/asn1_MechType.c && touch spnegokrb5/asn1_MechType.slo In file included from spnegokrb5/asn1_MechType.c:11: /usr/local/include/der.h:77: error: syntax error before "heim_octet_string" /usr/local/include/der.h:85: error: syntax error before "heim_general_string" /usr/local/include/der.h:87: error: syntax error before "heim_octet_string" /usr/local/include/der.h:89: error: syntax error before "heim_oid" /usr/local/include/der.h:106: error: syntax error before "heim_general_string" /usr/local/include/der.h:108: error: syntax error before "heim_oid" /usr/local/include/der.h:110: error: syntax error before "heim_octet_string" /usr/local/include/der.h:114: error: syntax error before "heim_utf8_string" /usr/local/include/der.h:120: error: syntax error before '*' token /usr/local/include/der.h:122: error: syntax error before '*' token /usr/local/include/der.h:124: error: syntax error before '*' token =20 (many more) =20 /usr/local/include/der.h:173: error: syntax error before '*' token /usr/local/include/der.h:175: error: syntax error before '*' token /usr/local/include/der.h:176: error: syntax error before '*' token apxs:Error: Command failed with rc=3D65536 . gmake: *** [src/mod_auth_kerb.so] Error 1 *** Error code 2 =20 Stop in /usr/ports/www/mod_auth_kerb. =20 Why is there no official mod_auth_kerb version for Apache 2.x ? =20 I cannot be the only one who needs it. What am I doing wrong ? =20 TIA, =20 MCAHNY, =20 CU Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?048DAE2206FF0D45844991688ABAD648C9EDA2>