Has anyone had issues compiling Samba-4.1.9? I am getting an error saying:
Checking for system subunit : not found
ERROR: System library subunit of version 0.0.0 not found, and bundling disabled
* ERROR: net-fs/samba-4.1.9 failed (configure phase):
* configure failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 4104: Called waf-utils_src_configure '--enable-fhs' '--sysconfdir=/etc' '--localstatedir=/var' '--with-modulesdir=/usr/lib64/samba' '--with-pammodulesdir=/lib64/security' '--with-piddir=/var/run/samba' '--disable-rpath' '--disable-rpath-install' '--nopyc' '--nopyo' '--bundled-libraries=NONE' '--builtin-libraries=NONE' '--with-dnsupdate' '--with-acl-support' '--with-ads' '--with-aio-support' '--disable-avahi' '--without-cluster-support' '--enable-cups' '--without-dmapi' '--with-fam' '--disable-gnutls' '--enable-iprint' '--with-ldap' '--with-pam' '--with-pam_smbpass' '--with-quotas' '--with-syslog' '--with-winbind' '--with-shared-modules=idmap_ad'
* environment, line 4978: Called die
* The specific snippet of code:
* CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir}" "$@" configure || die "configure failed";
*
* If you need support, post the output of `emerge --info '=net-fs/samba-4.1.9'`,
* the complete build log and the output of `emerge -pqv '=net-fs/samba-4.1.9'`.
* The complete build log is located at '/var/tmp/portage/net-fs/samba-4.1.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-4.1.9/temp/environment'.
* Working directory: '/var/tmp/portage/net-fs/samba-4.1.9/work/samba-4.1.9'
* S: '/var/tmp/portage/net-fs/samba-4.1.9/work/samba-4.1.9'
I removed dev-python/subunit-0.0.18-r1000 and reinstalled it but to no avail.
Question
eusanpe
Hello all,
Has anyone had issues compiling Samba-4.1.9? I am getting an error saying:
I removed dev-python/subunit-0.0.18-r1000 and reinstalled it but to no avail.
Here are some settings:
emerge --info
I was able to run the configure script from the source code and it worked fine. The configure script running from the ebuild is the issue.
Thanks,
Tony
UPDATE - 11:53 PM CST
I noticed that Samba-4.1.6 compiled just fine but Samba-4.1.9 didn't. I ran a diff of the two ebuilds and found the difference.
Samba-4.1.6.ebuild portion - (This compiles fine)
You will notice that the configure options --bundled-libraries and --builtin-libraries are set to 'ntdb'
Samba-4.1.9.ebuild portion - (This does not compile)
You will notice that the configure options --bundled-libraries and --builtin-libraries are set to 'NONE'
I set them to 'ntdb' like the Samba-4.1.6.ebuild and everything compiled fine.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts