Страница 1 из 1

Переустановка самбы

Добавлено: 2010-10-08 9:15:08
Mikola
FreeBSD-8.0 RELEASE
Самба не переустанавливается. Лог:

Код: Выделить всё

root@/usr/ports/net/samba33/>make config-recursive
===> Setting user-specified options for samba-3.3.8 and dependencies
root@/usr/ports/net/samba33/>make install clean
===>  Building for samba-3.3.8
cd /usr/ports/net/samba33/work/samba-3.3.8/source && make pch
rm -f /usr/ports/net/samba33/work/samba-3.3.8/source/include/includes.h.gch
make /usr/ports/net/samba33/work/samba-3.3.8/source/include/includes.h.gch
cc -I. -I/usr/ports/net/samba33/work/samba-3.3.8/source  -I/usr/ports/net/samba33/work/samba-3.3.8/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -g -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -pipe -funroll-loops -ffast-math -DLDAP_DEPRECATED -fno-strict-aliasing -g -D_SAMBA_BUILD_=3 -I/usr/local/include -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-prototypes    -I/usr/ports/net/samba33/work/samba-3.3.8/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c /usr/ports/net/samba33/work/samba-3.3.8/source/include/includes.h -o /usr/ports/net/samba33/work/samba-3.3.8/source/include/includes.h.gch
Using FLAGS      =  -I/usr/ports/net/samba33/work/samba-3.3.8/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -g -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -pipe -funroll-loops -ffast-math -DLDAP_DEPRECATED -fno-strict-aliasing -g -D_SAMBA_BUILD_=3 -I/usr/local/include -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-prototypes    -I/usr/ports/net/samba33/work/samba-3.3.8/source/lib -D_SAMBA_BUILD_=3
      PICFLAG    = -fPIC -DPIC
      LIBS       = -lcrypt -lexecinfo -liconv -ldmalloc
      LDFLAGS    = -pie -Wl,-z,relro -L/usr/local/lib -g -Wl,-R/usr/local/lib -L/usr/local/lib -L./bin -L/usr/local/lib
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -shared -Wl,-z,relro -L/usr/local/lib -g -Wl,-R/usr/local/lib -L/usr/local/lib -L./bin -L/usr/local/lib
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname,
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c: In function 'krb5_set_default_tgs_ktypes':
libsmb/clikrb5.c:161: error: implicit declaration of function 'krb5_set_default_in_tkt_etypes'
libsmb/clikrb5.c: In function 'create_kerberos_key_from_string_direct':
libsmb/clikrb5.c:244: error: 'krb5_salt' undeclared (first use in this function)
libsmb/clikrb5.c:244: error: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:244: error: for each function it appears in.)
libsmb/clikrb5.c:244: error: expected ';' before 'salt'
libsmb/clikrb5.c:246: error: implicit declaration of function 'krb5_get_pw_salt'
libsmb/clikrb5.c:246: error: 'salt' undeclared (first use in this function)
libsmb/clikrb5.c:252: error: implicit declaration of function 'krb5_string_to_key_salt'
libsmb/clikrb5.c:253: error: implicit declaration of function 'krb5_free_salt'
libsmb/clikrb5.c: In function 'get_kerberos_allowed_etypes':
libsmb/clikrb5.c:303: error: implicit declaration of function 'krb5_get_default_in_tkt_etypes'
libsmb/clikrb5.c: In function 'krb5_auth_con_setuseruserkey':
libsmb/clikrb5.c:314: error: implicit declaration of function 'krb5_auth_con_setkey'
libsmb/clikrb5.c: In function 'smb_krb5_get_keyinfo_from_ap_req':
libsmb/clikrb5.c:1120: error: implicit declaration of function 'krb5_decode_ap_req'
libsmb/clikrb5.c:1127: error: implicit declaration of function 'free_AP_REQ'
libsmb/clikrb5.c: In function 'smb_krb5_principal_compare_any_realm':
libsmb/clikrb5.c:1213: error: implicit declaration of function 'krb5_principal_compare_any_realm'
libsmb/clikrb5.c: In function 'smb_krb5_free_error':
libsmb/clikrb5.c:1485: error: implicit declaration of function 'krb5_free_error_contents'
The following command failed:
cc -I. -I/usr/ports/net/samba33/work/samba-3.3.8/source  -I/usr/ports/net/samba33/work/samba-3.3.8/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/usr/local/include -g -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -I/usr/local/include -DLDAP_DEPRECATED -O2 -pipe -funroll-loops -ffast-math -DLDAP_DEPRECATED -fno-strict-aliasing -g -D_SAMBA_BUILD_=3 -I/usr/local/include -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-prototypes    -I/usr/ports/net/samba33/work/samba-3.3.8/source/lib -D_SAMBA_BUILD_=3 -fPIC -DPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
gmake: *** [libsmb/clikrb5.o] Ошибка 1
*** Error code 1

Stop in /usr/ports/net/samba33.
*** Error code 1

Stop in /usr/ports/net/samba33.
Интересное наблюдение:
Если на систему на которую никогда не ставилась самба поставим самбу 3.2 переустановить ее не удастся, а вот 3.3 встанет, но потом и 3.3 не удастся переустановить.

Re: Переустановка самбы

Добавлено: 2010-10-08 11:17:43
Mikola
Решилось обновлением портов.