Unable to install port Samba4 on FreeBSD 10

I'm unable to install Samba4 from ports on FreeBSD 10-RELEASE. Someone wrote: There is a patch for GSSAPI at /usr/ports/dns/samba-nsupdate/files/patch-configure.in Can anyone tell me how to apply the patch? Running make install in samba-nsupdate fails with error code 1 ~ thanks.
 
Post the entire error. Patches in the files/ directories are automatically applied when building the port. There's no need for any user action.
 
Code:
Build failed: unknown encoding: hex
*** Signal 11

Stop.
make[1]: stopped in /usr/ports/net/samba4
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba4
 
Too less to recognize anything. The error happens before. But I guess you checked to many Options in /usr/ports/dns/bind99. Try, make in this port make rmconfig and change only GSSAPI_NONE to off and GSSAPI_MIT to ON.
 
Please post the entire message. Not just the last bit. That only shows a generic error message.
 
I don't see those exact settings in Makefile but I see similar settings like
Code:
GSSAPI_NONE_CONFIGURE_ON=       --without-gssapi
and ...
Code:
GSSAPI_MIT_CONFIGURE_ON= \
        --with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}

talsamon said:
Too less to recognize anything. The error happens before. But I guess you checked to many Options in /usr/ports/dns/bind99. Try, make in this port make rmconfig and change only GSSAPI_NONE to off and GSSAPI_MIT to ON.
 
Send the ten or twenty lines before the error or do sudo make install clean|sudo tee -a samba4.log and send a attachment. It may useful e.g. to know the workdirectory in which the failure happens (and other things).
You can see the optionssettings simply with make showconfig.
 
Sorry Here's the complete message
Code:
===>   samba4-4.0.21 depends on shared library: libldap-2.4.so.2 - found (/usr/local/lib/libldap-2.4.so.2.10.2)
===>  Configuring for samba4-4.0.21
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/docs-xml/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/examples/VFS/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/ldb/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/ntdb/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/replace/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/talloc/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/tdb/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/tevent/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/source3/m4/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/source3/configure
autoconf-2.69: error: no input file
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/samba4
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba4

SirDice said:
Please post the entire message. Not just the last bit. That only shows a generic error message.
 
Another question: Is this a new installed system? So you have to do after the install of the base system portsnap fetch update and portmaster -a. The ISO is always older than the actual ports.
 
Yes It's a fresh install I ran portsnap fetch update and portmaster -a but it didn't help. The samba port install still fails with the same error.
 
Back
Top