Subject: Re: Netatalk and Heimdal - pkgsrc-2006Q2
To: <>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 08/10/2006 01:05:14
oops - itchy send-button-finger...
Louis Guillaume wrote:
> Hi,
>
> I just noticed that netatalk doesn't build anymore on Linux. Pkgsrc
> version is 2006-Q2.
>
> Here is the
>
...message from the build...
(cd .libs && rm -f uams_dhx_passwd.la && ln -s ../uams_dhx_passwd.la
uams_dhx_passwd.la)
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../include -O2 -I/usr/pkg/include/krb5
-I/usr/pkg/include/db4 -I/usr/include -I../../sys
-I/usr/pkg/include/krb5 -I../../include -O2 -I/usr/pkg/include/krb5
-I/usr/pkg/include/db4 -I/usr/include -I../../sys
-I/usr/include/openssl -MT uams_gss_la-uams_gss.lo -MD -MP -MF
".deps/uams_gss_la-uams_gss.Tpo" \
-c -o uams_gss_la-uams_gss.lo `test -f 'uams_gss.c' || echo
'./'`uams_gss.c; \
then mv -f ".deps/uams_gss_la-uams_gss.Tpo"
".deps/uams_gss_la-uams_gss.Plo"; \
else rm -f ".deps/uams_gss_la-uams_gss.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -O2
-I/usr/pkgobj/net/netatalk/work/.buildlink/include/krb5
-I/usr/pkgobj/net/netatalk/work/.buildlink/include/db4 -I../../sys -O2
-I/usr/include/openssl -MT uams_gss_la-uams_gss.lo -MD -MP -MF
.deps/uams_gss_la-uams_gss.Tpo -c uams_gss.c -fPIC -DPIC -o
.libs/uams_gss_la-uams_gss.o
In file included from uams_gss.c:50:
/usr/include/gssapi/gssapi.h:119: error: conflicting types for 'gss_name_t'
/usr/pkgobj/net/netatalk/work/.buildlink/include/krb5/gssapi.h:64:
error: previous declaration of 'gss_name_t' was here
/usr/include/gssapi/gssapi.h:120: error: conflicting types for
'gss_cred_id_t'
/usr/pkgobj/net/netatalk/work/.buildlink/include/krb5/gssapi.h:86:
error: previous declaration of 'gss_cred_id_t' was here
/usr/include/gssapi/gssapi.h:121: error: conflicting types for
'gss_ctx_id_t'
/usr/pkgobj/net/netatalk/work/.buildlink/include/krb5/gssapi.h:67:
error: previous declaration of 'gss_ctx_id_t' was here
.... ad nauseum.
Significant /etc/mk.conf...
PKG_OPTIONS.netatalk=kerberos
PKG_OPTIONS.samba=ads
Any help would be great. Thanks!
Louis
--
the gold it's in the....