Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2012 15:24:40 +0100
From:      Kaya Saman <kayasaman@gmail.com>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   samba36 port unable to build PAM backends?
Message-ID:  <CAPj0R5J9kbi6Mh9PO1ZEFAwexnXUFVSuLRposVpGyg2CtbCg=w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm getting these errors while trying to install the "samba36" port
with the PAM modules:


===>  Installing for samba36-3.6.5
===>   samba36-3.6.5 depends on package: tdb>=1.2.6 - found
===>   samba36-3.6.5 depends on package: talloc>=2.0.1 - found
===>   samba36-3.6.5 depends on shared library: execinfo.1 - found
===>   samba36-3.6.5 depends on shared library: cups.2 - found
===>   samba36-3.6.5 depends on shared library: popt.0 - found
===>   samba36-3.6.5 depends on shared library: ldap-2.4.8 - found
===>   samba36-3.6.5 depends on shared library: iconv.3 - found
===>   Generating temporary packing list
===>  Checking if net/samba36 already installed
Using CFLAGS     = -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing
-I/usr/local/include -I.
-I/usr/ports/net/samba36/work/samba-3.6.5/source3
-I/usr/ports/net/samba36/work/samba-3.6.5/source3/../lib/iniparser/src
-Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent
-I./librpc -I./.. -DHAVE_CONFIG_H  -Iinclude -I./include -I. -I.
-I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt
-DLDAP_DEPRECATED -I/usr/local/include
-I/usr/ports/net/samba36/work/samba-3.6.5/source3/lib -I..
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
      PICFLAG    = -fPIC -DPIC
      LIBS       = -lexecinfo -liconv
      LDFLAGS    = -pie -Wl,-z,relro -L/usr/local/lib -L./bin -L/usr/local/lib
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = -fPIC -DPIC -shared -Wl,-z,relro -L/usr/local/lib
-L./bin -L/usr/local/lib -lc -Wl,-z,defs
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname,
Installing bin/smbd as ///usr/local/sbin/smbd
Installing bin/nmbd as ///usr/local/sbin/nmbd
Installing bin/winbindd as ///usr/local/sbin/winbindd
======================================================================
The binaries are installed. You may restore the old binaries (if there
were any) using the command "make revert". You may uninstall the binaries
using the command "make uninstallbin" or "make uninstall" to uninstall
binaries, man pages and shell scripts.
======================================================================
Installing bin/wbinfo as ///usr/local/bin/wbinfo
Installing bin/smbclient as ///usr/local/bin/smbclient
Installing bin/net as ///usr/local/bin/net
Installing bin/smbspool as ///usr/local/bin/smbspool
Installing bin/testparm as ///usr/local/bin/testparm
Installing bin/smbstatus as ///usr/local/bin/smbstatus
Installing bin/smbget as ///usr/local/bin/smbget
Installing bin/smbta-util as ///usr/local/bin/smbta-util
Installing bin/smbcontrol as ///usr/local/bin/smbcontrol
Installing bin/smbtree as ///usr/local/bin/smbtree
Installing bin/nmblookup as ///usr/local/bin/nmblookup
Installing bin/pdbedit as ///usr/local/bin/pdbedit
Installing bin/smbpasswd as ///usr/local/bin/smbpasswd
Installing bin/rpcclient as ///usr/local/bin/rpcclient
Installing bin/smbcacls as ///usr/local/bin/smbcacls
Installing bin/profiles as ///usr/local/bin/profiles
Installing bin/ntlm_auth as ///usr/local/bin/ntlm_auth
Installing bin/sharesec as ///usr/local/bin/sharesec
Installing bin/smbcquotas as ///usr/local/bin/smbcquotas
Installing bin/eventlogadm as ///usr/local/bin/eventlogadm
======================================================================
The binaries are installed. You may restore the old binaries (if there
were any) using the command "make revert". You may uninstall the binaries
using the command "make uninstallbin" or "make uninstall" to uninstall
binaries, man pages and shell scripts.
======================================================================
Installing scripts in /usr/local/bin
Installing /usr/local/bin/smbtar
Installing /usr/local/bin/findsmb
======================================================================
The scripts have been installed. You may uninstall them using
the command "make uninstallscripts" or "make install" to install binaries,
man pages and shell scripts. You may recover the previous version (if any
by "make revert".
======================================================================
Installing /usr/ports/net/samba36/work/samba-3.6.5/source3//../codepages/lowcase.dat
as ///usr/local/lib/samba/lowcase.dat
Installing /usr/ports/net/samba36/work/samba-3.6.5/source3//../codepages/upcase.dat
as ///usr/local/lib/samba/upcase.dat
Installing /usr/ports/net/samba36/work/samba-3.6.5/source3//../codepages/valid.dat
as ///usr/local/lib/samba/valid.dat
======================================================================
The dat files have been installed.  You may uninstall the dat files
using the command "make uninstalldat" or "make uninstall" to uninstall
binaries, man pages, dat files, and shell scripts.
======================================================================
Preserving old module as ///usr/local/lib/samba/vfs/recycle.so.old
Installing bin/recycle.so as ///usr/local/lib/samba/vfs/recycle.so
Preserving old module as ///usr/local/lib/samba/vfs/audit.so.old
Installing bin/audit.so as ///usr/local/lib/samba/vfs/audit.so
Preserving old module as ///usr/local/lib/samba/vfs/extd_audit.so.old
Installing bin/extd_audit.so as ///usr/local/lib/samba/vfs/extd_audit.so
Preserving old module as ///usr/local/lib/samba/vfs/full_audit.so.old
Installing bin/full_audit.so as ///usr/local/lib/samba/vfs/full_audit.so
Preserving old module as ///usr/local/lib/samba/vfs/netatalk.so.old
Installing bin/netatalk.so as ///usr/local/lib/samba/vfs/netatalk.so
Preserving old module as ///usr/local/lib/samba/vfs/fake_perms.so.old
Installing bin/fake_perms.so as ///usr/local/lib/samba/vfs/fake_perms.so
Preserving old module as ///usr/local/lib/samba/vfs/default_quota.so.old
Installing bin/default_quota.so as ///usr/local/lib/samba/vfs/default_quota.so
Preserving old module as ///usr/local/lib/samba/vfs/readonly.so.old
Installing bin/readonly.so as ///usr/local/lib/samba/vfs/readonly.so
Preserving old module as ///usr/local/lib/samba/vfs/cap.so.old
Installing bin/cap.so as ///usr/local/lib/samba/vfs/cap.so
Preserving old module as ///usr/local/lib/samba/vfs/expand_msdfs.so.old
Installing bin/expand_msdfs.so as ///usr/local/lib/samba/vfs/expand_msdfs.so
Preserving old module as ///usr/local/lib/samba/vfs/shadow_copy.so.old
Installing bin/shadow_copy.so as ///usr/local/lib/samba/vfs/shadow_copy.so
Preserving old module as ///usr/local/lib/samba/vfs/shadow_copy2.so.old
Installing bin/shadow_copy2.so as ///usr/local/lib/samba/vfs/shadow_copy2.so
Preserving old module as ///usr/local/lib/samba/vfs/xattr_tdb.so.old
Installing bin/xattr_tdb.so as ///usr/local/lib/samba/vfs/xattr_tdb.so
Preserving old module as ///usr/local/lib/samba/vfs/catia.so.old
Installing bin/catia.so as ///usr/local/lib/samba/vfs/catia.so
Preserving old module as ///usr/local/lib/samba/vfs/streams_xattr.so.old
Installing bin/streams_xattr.so as ///usr/local/lib/samba/vfs/streams_xattr.so
Preserving old module as ///usr/local/lib/samba/vfs/streams_depot.so.old
Installing bin/streams_depot.so as ///usr/local/lib/samba/vfs/streams_depot.so
Preserving old module as ///usr/local/lib/samba/vfs/readahead.so.old
Installing bin/readahead.so as ///usr/local/lib/samba/vfs/readahead.so
Preserving old module as ///usr/local/lib/samba/vfs/preopen.so.old
Installing bin/preopen.so as ///usr/local/lib/samba/vfs/preopen.so
Preserving old module as ///usr/local/lib/samba/vfs/acl_xattr.so.old
Installing bin/acl_xattr.so as ///usr/local/lib/samba/vfs/acl_xattr.so
Preserving old module as ///usr/local/lib/samba/vfs/acl_tdb.so.old
Installing bin/acl_tdb.so as ///usr/local/lib/samba/vfs/acl_tdb.so
Preserving old module as ///usr/local/lib/samba/vfs/smb_traffic_analyzer.so.old
Installing bin/smb_traffic_analyzer.so as
///usr/local/lib/samba/vfs/smb_traffic_analyzer.so
Preserving old module as ///usr/local/lib/samba/vfs/scannedonly.so.old
Installing bin/scannedonly.so as ///usr/local/lib/samba/vfs/scannedonly.so
Preserving old module as ///usr/local/lib/samba/vfs/crossrename.so.old
Installing bin/crossrename.so as ///usr/local/lib/samba/vfs/crossrename.so
Preserving old module as ///usr/local/lib/samba/vfs/linux_xfs_sgid.so.old
Installing bin/linux_xfs_sgid.so as ///usr/local/lib/samba/vfs/linux_xfs_sgid.so
Preserving old module as ///usr/local/lib/samba/vfs/time_audit.so.old
Installing bin/time_audit.so as ///usr/local/lib/samba/vfs/time_audit.so
Preserving old module as ///usr/local/lib/samba/idmap/autorid.so.old
Installing bin/autorid.so as ///usr/local/lib/samba/idmap/autorid.so
Preserving old module as ///usr/local/lib/samba/charset/CP850.so.old
Installing bin/CP850.so as ///usr/local/lib/samba/charset/CP850.so
Preserving old module as ///usr/local/lib/samba/charset/CP437.so.old
Installing bin/CP437.so as ///usr/local/lib/samba/charset/CP437.so
Preserving old module as ///usr/local/lib/samba/auth/script.so.old
Installing bin/script.so as ///usr/local/lib/samba/auth/script.so
/usr/bin/install -c -o root -g wheel bin/libwbclient.so.0 //usr/local/lib
if test -r bin/libwbclient.so.0 ; then \
        ln -f -s `basename bin/libwbclient.so.0` \
                //usr/local/lib/`basename bin/libwbclient.so` ; \
fi
: bin/libwbclient.a //usr/local/lib
/usr/bin/install -c -o root -g wheel -m 0644
/usr/ports/net/samba36/work/samba-3.6.5/source3/../nsswitch/libwbclient/wbclient.h
//usr/local/include
===> Installing rc.d startup script(s)
install  -o root -g wheel -m 444
"/usr/ports/net/samba36/work/smb.conf.sample"
"/usr/local/share/examples/samba36/smb.conf.sample"
install  -o root -g wheel -m 555
"/usr/ports/net/samba36/work/samba-3.6.5/source3/script/mksmbpasswd.sh"
"/usr/local/bin/make_smbpasswd"
install  -s -o root -g wheel -m 555
"/usr/ports/net/samba36/work/samba-3.6.5/nsswitch/nss_winbind.so"
"/usr/local/lib/nss_winbind.so.1"
install  -s -o root -g wheel -m 555
"/usr/ports/net/samba36/work/samba-3.6.5/nsswitch/nss_wins.so"
"/usr/local/lib/nss_wins.so.1"
install  -s -o root -g wheel -m 555
"/usr/ports/net/samba36/work/samba-3.6.5/source3/bin/pam_winbind.so"
"/usr/local/lib"
install  -s -o root -g wheel -m 555
"/usr/ports/net/samba36/work/samba-3.6.5/source3/bin/pam_smbpass.so"
"/usr/local/lib"
install: /usr/ports/net/samba36/work/samba-3.6.5/source3/bin/pam_smbpass.so:
No such file or directory
*** Error code 71

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

Stop in /usr/ports/net/samba36.



It worked fine without the modules however, I do need them due to
Dovecot sync with Active Directory.......


Can anybody help me?


Regards,


Kaya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPj0R5J9kbi6Mh9PO1ZEFAwexnXUFVSuLRposVpGyg2CtbCg=w>