Нужно собрать squid-3.2.0.3 под FreeBSD 8.0 с поддержкой Kerberos. Дистрибутив скачал с http://www.squid-cache.org/Versions/. Распаковал. Запускаю ./configure--------------------------
./configure --bindir=/usr/local/sbin --sbindir=/usr/local/sbin --datadir=/usr/local/etc/squid --libexecdir=/usr/local/libexec/squid --disable-linux-netfilter --disable-linux-tproxy --disable-epoll --enable-auth --enable-basic-auth-helpers="DB NCSA PAM MSNT LDAP YP" --enable-digest-auth-helpers='password ldap' --enable-external-acl-helpers='ip_user session unix_group ldap_group' --enable-negotiate-auth-helpers=squid_kerb_auth --enable-snmp
--------------------------
Все отлично ./configure. Ошибок нет. Далее выполняю команду маке и получаю:
>> пропускаю ввывод <<
/bin/sh ../../libtool --tag=CXX --mode=link g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o purge convert.o socket.o signal.o squid-tlv.o copyout.o conffile.o purge.o -L../../compat -lcompat-squid -lm
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -g -o purge convert.o socket.o signal.o squid-tlv.o copyout.o conffile.o purge.o -L/usr/home/admin-dragon/squid-3.2.0.3/compat -lcompat-squid -lm
depbase=`echo squidclient.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src -I../include -I/usr/include -I/usr/include -I../libltdl -I. -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT squidclient.o -MD -MP -MF $depbase.Tpo -c -o squidclient.o squidclient.cc && mv -f $depbase.Tpo $depbase.Po
In file included from squidclient.cc:94:
/usr/include/gssapi/gssapi.h:316: error: previous declaration of 'gss_OID_desc_struct* GSS_KRB5_NT_PRINCIPAL_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:49: error: conflicts with new declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:324: error: previous declaration of 'gss_OID_desc_struct* GSS_KRB5_NT_USER_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:50: error: conflicts with new declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:332: error: previous declaration of 'gss_OID_desc_struct* GSS_KRB5_NT_MACHINE_UID_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:51: error: conflicts with new declaration with 'C' linkage
/usr/include/gssapi/gssapi.h:340: error: previous declaration of 'gss_OID_desc_struct* GSS_KRB5_NT_STRING_UID_NAME' with 'C++' linkage
/usr/include/gssapi/gssapi_krb5.h:52: error: conflicts with new declaration with 'C' linkage
*** Error code 1
Stop in /usr/home/admin-dragon/squid-3.2.0.3/tools.
*** Error code 1
Stop in /usr/home/admin-dragon/squid-3.2.0.3/tools.
*** Error code 1
Stop in /usr/home/admin-dragon/squid-3.2.0.3.
----------------------------------------------
P.S Вообщем, вопрос простой, как его собрать ?