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

SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 7:58:03
menai
Доброе утро, вот такой трабл встретил при компиляции samb'ы:

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

Building plugin bin/script.so
Compiling nsswitch/winbind_nss_freebsd.c
Compiling nsswitch/winbind_nss_linux.c
Linking nsswitch/nss_winbind.so
Compiling nsswitch/wins.c
gmake: *** No rule to make target `@WINBIND_WINS_NSS_EXTRA_OBJS@', needed by `nsswitch/nss_wins.so'.  Stop.
*** Error code 1

Stop in /usr/ports/net/samba33.
*** Error code 1
порты обновлены, зависимости все перекомпилил, в чем трабл подскадите!!! :oops:

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 8:41:26
arkan
Исходники заново закачай

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 9:50:21
menai
arkan писал(а):Исходники заново закачай
не помогает... :cry: уже и не знаю куда рыть... была у меня похожая трабла с kdeadmin4, но там обошлось все обновлением зависимостей...

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 11:08:55
arkan
make config ?

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 12:22:19
menai
LDAP ADS CUPS WINBIND QUOTAS UTMP POPT

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 13:43:55
Gegemon

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

# uname -a
?

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 13:59:01
menai

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

# uname -a
FreeBSD isrv.hotel.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Mon Apr 13 14:05:50 UTC 2009     root@isrv.hotel.local:/usr/src/sys/i386/compile/isrv  i386

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 14:09:24
Gegemon

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

#  uname -vm
FreeBSD 8.0-BETA2 #2 r196095: Tue Aug 11 17:07:16 MSD 2009     xxxxxxxxxxxxxxxxxxxxxx  i386

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

# pkg_version -v | grep samba                                                                                                                            
samba-3.3.7                         =   up-to-date with port  

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

# make showconfig
===> The following configuration options are available for samba-3.3.7:
     LDAP=on "With LDAP support"
     ADS=off "With Active Directory support"
     CUPS=off "With CUPS printing support"
     WINBIND=on "With WinBIND support"
     SWAT=on "With SWAT WebGUI"
     ACL_SUPPORT=on "With ACL support"
     AIO_SUPPORT=off "With Asyncronous IO support"
     FAM_SUPPORT=off "With File Alteration Monitor"
     SYSLOG=off "With Syslog support"
     QUOTAS=off "With Disk quota support"
     UTMP=off "With UTMP accounting support"
     PAM_SMBPASS=off "With PAM authentication vs passdb backends"
     DNSUPDATE=off "With dynamic DNS update(require ADS)"
     DNSSD=off "With DNS service discovery support"
     EXP_MODULES=off "With experimental modules"
     POPT=on "With system-wide POPT library"
     MAX_DEBUG=off "With maximum debugging"
     SMBTORTURE=on "With smbtorture"
===> Use 'make config' to modify these settings
Собирается.

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 14:25:12
Gegemon
1. Из сорцов собираем?
2. Уже в портах есть для 7.2.
3. Для 7.1 - увы....

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 14:38:18
menai
на другом серве нормально все собралось из портов:

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

ims# uname -a
FreeBSD ims.хххххххх.хх 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Apr  7 02:55:14 UTC 2009     root@ims.хххххххх.хх:/usr/src/sys/i386/compile/ims  i386

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

ims# pkg_version -v | grep samba
samba-3.3.7                         =   up-to-date with port
samba-libsmbclient-3.0.32_2         <   needs updating (port has 3.0.36)

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

[X] WINBIND      With WinBIND support 
А какие зависимости у самы есть еще кроме етих:

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

===>  Applying FreeBSD patches for samba-3.3.7
===>   samba-3.3.7 depends on executable: gmake - found
===>   samba-3.3.7 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   samba-3.3.7 depends on shared library: execinfo.1 - found
===>   samba-3.3.7 depends on shared library: cups.2 - found
===>   samba-3.3.7 depends on shared library: popt.0 - found
===>   samba-3.3.7 depends on shared library: ldap-2.4.7 - found
===>   samba-3.3.7 depends on shared library: iconv.3 - found
===>  Configuring for samba-3.3.7

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 14:40:55
Gegemon
А что google говорит?

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-10 14:46:29
menai
Gegemon писал(а):А что google говорит?
Пусто там, я еще вчера все перерыл......

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-11 7:32:25
menai
:cry: Будут предложения какие нибудь????

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-11 8:38:58
Gegemon
Сравни файлы на машине где собралась и не собралась самба:

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

# cd /usr/ports/net/samba33/files/
p.s.: Как порты обновлял?
p.s.s.: Про gmake

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-11 9:51:28
menai
Gegemon писал(а):Сравни файлы на машине где собралась и не собралась самба:

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

# cd /usr/ports/net/samba33/files/
p.s.: Как порты обновлял?
p.s.s.: Про gmake

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

cvsup -g -L 2 /usr/local/etc/supfile
Сам supfile:

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

       cvsup -g -L 2 /usr/local/etc/supfile
#
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup2.ru.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4_11
*default delete use-rel-suffix

# If your network link is a T1 or faster, comment out the following line.
*default compress

## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*" collections.
#src-all
ports-all tag=.
#doc-all tag=.
и файлы:

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

# cd /usr/ports/net/samba33/files/
абсолютно одинаковые...

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-11 9:57:19
Gegemon

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

# cd  /usr/ports
# make fetchindex
делал?

Re: SAMBA 3.3.7 не компилится с WINBIND

Добавлено: 2009-09-11 10:12:59
menai
Gegemon писал(а):

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

# cd  /usr/ports
# make fetchindex
делал?
угу

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

isrv# make fetchindex
/usr/ports/INDEX-7.bz2                        100% of 1296 kB   62 kBps 00m00s