From kde-devel Wed Jul 14 23:02:30 2004 From: Karsten =?iso-8859-1?q?K=FCnne?= Date: Wed, 14 Jul 2004 23:02:30 +0000 To: kde-devel Subject: Re: Compile error in kdelibs Message-Id: <200407141902.34187.kuenne () rentec ! com> X-MARC-Message: https://marc.info/?l=kde-devel&m=108984620405213 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0813692787==" --===============0813692787== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_Kub9Au29l1ELEPw"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-03=_Kub9Au29l1ELEPw Content-Type: multipart/mixed; boundary="Boundary-01=_Gub9AzkMkqvDNkX" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_Gub9AzkMkqvDNkX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 14 July 2004 18:44, Albert Astals Cid wrote: > I also use Mandrake 10.0 > The proble is I have the gssapi.h file in /usr/include/gssapi/gssapi.h but > in Makefile from kdelibs/kioslave/http/Makefile i get > GSSAPI_INCS =3D -I/usr/include > which should be > GSSAPI_INCS =3D -I/usr/include/gssapi > > Any idea on how to fix that? > Looks like Mandrake uses MIT Kerberos and not Heimdal. I just finished a sm= all=20 patch and sent it to Waldo which should support MIT Kerberos v1.3.3 and up = (I=20 haven't tested with any version before that). The patch is attached. You ha= ve=20 to recreate "configure" afterwards. If you don't need negotiate=20 authentication support you can as well run configure "--without-gssapi". Karsten. =2D-=20 Manual, n.: A unit of documentation. There are always three or more on a given item. One is on the shelf; someone has the others. The information you need is in the others. -- Ray Simard --Boundary-01=_Gub9AzkMkqvDNkX Content-Type: text/x-diff; charset="iso-8859-1"; name="mitkerb.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mitkerb.patch" =2D-- kioslave/http/configure.in.in.heimdal 2004-07-14 13:32:11.000000000 -= 0400 +++ kioslave/http/configure.in.in 2004-07-14 14:09:19.000000000 -0400 @@ -31,6 +31,11 @@ gssapi_incdir=3D"$GSSAPI_INCS" gssapi_libdir=3D"$GSSAPI_LIBS" with_gssapi=3DFOUND + if "$KRB5_CONFIG --vendor" | grep "Massachusetts" > /dev/null; then + gssapi_flavor=3DMIT + else + gssapi_flavor=3DHEIMDAL + fi else search_incs=3D"$kde_includes /usr/include /usr/local/include" AC_FIND_FILE(gssapi.h, $search_incs, gssapi_incdir) @@ -50,6 +55,7 @@ fi GSSAPI_LIBS=3D"${GSSAPI_LIBS}-lgssapi -lkrb5 -lasn1 -lcrypto -lr= oken -lcrypt ${LIBRESOLV}" with_gssapi=3DFOUND + gssapi_flavor=3DHEIMDAL break fi done @@ -79,7 +85,16 @@ GSSAPI_RPATH=3D"-R ${GSSAPI_ROOT}/lib" fi fi =2D GSSAPI_LIBS=3D"${GSSAPI_LIBS}-lgssapi -lkrb5 -lasn1 -lcrypto -lroken= -lcrypt ${LIBRESOLV}" + if test -f ${GSSAPI_ROOT}/include/gssapi/gssapi.h ; then + gssapi_flavor=3DMIT + GSSAPI_LIBS=3D"${GSSAPI_LIBS}-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_e= rr ${LIBRESOLV}" + else + gssapi_flavor=3DHEIMDAL + GSSAPI_LIBS=3D"${GSSAPI_LIBS}-lgssapi -lkrb5 -lasn1 -lcrypto -lroken= -lcrypt ${LIBRESOLV}" + fi + fi + if test "x$gssapi_flavor" =3D "xMIT" ; then + AC_DEFINE_UNQUOTED(GSSAPI_MIT, 1, [Define if you have the MIT Kerberos= libraries]) fi AC_DEFINE_UNQUOTED(HAVE_LIBGSSAPI, 1, [Define if you have GSSAPI librari= es]) AC_MSG_RESULT($msg) =2D-- kioslave/http/http.cc.heimdal Wed Jul 14 11:48:16 2004 +++ kioslave/http/http.cc Wed Jul 14 11:49:53 2004 @@ -70,8 +70,12 @@ #include "http.h" =20 #ifdef HAVE_LIBGSSAPI +#ifdef GSSAPI_MIT +#include +#else #include =2D#endif +#endif /* GSSAPI_MIT */ +#endif /* HAVE_LIBGSSAPI */ =20 using namespace KIO; =20 --Boundary-01=_Gub9AzkMkqvDNkX-- --Boundary-03=_Kub9Au29l1ELEPw Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBA9buK6/OfRf0i9j8RAmr/AKDbJvnXp2lRa+5hUYTxuFxLVumEfgCfV0MA 2PnMlaeYE2V7Z8jxYDN45Ls= =K/e0 -----END PGP SIGNATURE----- --Boundary-03=_Kub9Au29l1ELEPw-- --===============0813692787== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0813692787==--