Dependencies for samba4?

Ng Oon-Ee ngoonee at gmail.com
Sat Jan 22 22:27:59 MST 2011


Pasting inline at the end.

On Sat, 2011-01-22 at 21:30 +0100, Jelmer Vernooij wrote:
> > Is there a list somewhere of dependencies for samba4? The HOWTO on
> > wiki.samba.org suggests acl, xattr, blkid, gnutls, readline, and python
> > are dependencies, but docbook-xsl is not mentioned.
> Only python is a hard dependency. The others are optional. 
Okay, that doesn't seem to tally with what I've observed though. I'm
probably doing it wrong.
> 
> > Perhaps its not a
> > 'hard' dependency since man pages aren't normally considered integral,
> > but compiling tdb still fails even though the libxlst test returns 'no'.
> By default xsltproc will simply get those stylesheets from the web. The
> only thing docbook-xsl should do is allow xsltproc to find a local copy
> of them, so you can build without a network connection.
> 
> > For references, here's a user's build log.
> > http://aur.pastebin.com/FmsMLh7A
> Please paste inline. :-) I'm offline at the moment so I have no idea
> what that build failure is.
> 
> > Line 14 says xsltproc isn't found, but line 51 shows build failure
> > (doesn't turn up when docbook-xsl is installed).
> docbook-xsl should always be an optional dependency. If it's not
> installed we should be loading the stylesheets from the web.

Okay, what I observe is simply that it compiles with docbook-xsl but
doesn't without, even though the ./configure test finds that xsltproc
isn't found.

Additional details, I use autogen.sh.

# checking for utime... (cached) yes
# checking getopt.h usability... yes
# checking getopt.h presence... yes
# checking for getopt.h... yes
# checking for sys/select.h... (cached) yes
# checking for sys/time.h... (cached) yes
# checking for pread declaration... yes
# checking for pwrite declaration... yes
# checking for python2.6-config... no
# checking for python2.5-config... no
# checking for python2.4-config... no
# checking for python2-config... /usr/bin/python2-config
# checking for python2.6... /usr/bin/python2
# checking for xsltproc... no
# configure: creating ./config.status
# config.status: creating Makefile
# config.status: WARNING:  'Makefile.in' seems to ignore the
--datarootdir setting
# config.status: creating tdb.pc
# config.status: creating include/config.h
# config.status: include/config.h is unchanged
# config.status: executing rm-stdint.h commands
# config.status: executing rm-stdbool.h commands
# tdb will be compiled with flags:
#   CFLAGS = -I./include -Iinclude  -march=i686 -mtune=generic -O2 -pipe
-I./../replace
#   CPPFLAGS = -I./include -Iinclude
#   LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed
#   LIBS =
# mkdir -p /home/kmplsv/samba4/pkg//opt/samba4/samba/bin
# mkdir -p /home/kmplsv/samba4/pkg//opt/samba4/samba/include
# mkdir -p /home/kmplsv/samba4/pkg//opt/samba4/samba/lib
# mkdir -p /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/pkgconfig
# tdb will be compiled with flags:
#   CFLAGS = -I./include -Iinclude  -march=i686 -mtune=generic -O2 -pipe
-I./../replace
#   CPPFLAGS = -I./include -Iinclude
#   LDFLAGS = -Wl,--hash-style=gnu -Wl,--as-needed
#   LIBS =
# cp bin/tdbtool bin/tdbdump
bin/tdbbackup /home/kmplsv/samba4/pkg//opt/samba4/samba/bin
# cp ./include/tdb.h /home/kmplsv/samba4/pkg//opt/samba4/samba/include
# cp tdb.pc /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/pkgconfig
# cp libtdb.a
libtdb.so.1.2.4 /home/kmplsv/samba4/pkg//opt/samba4/samba/lib
# rm -f /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/libtdb.so
# ln -s
libtdb.so.1.2.4 /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/libtdb.so
# rm -f /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/libtdb.so.1
# ln -s
libtdb.so.1.2.4 /home/kmplsv/samba4/pkg//opt/samba4/samba/lib/libtdb.so.1
# mkdir -p /home/kmplsv/samba4/pkg/`/usr/bin/python2 -c "import
distutils.sysconfig; print distutils.sysconfig.get_python_lib(1,
prefix='/opt/samba4/samba')"`
# cp tdb.so /home/kmplsv/samba4/pkg/`/usr/bin/python2 -c "import
distutils.sysconfig; print distutils.sysconfig.get_python_lib(1,
prefix='/opt/samba4/samba')"`
# /bin/install -c
-d /home/kmplsv/samba4/pkg//opt/samba4/samba/share/man/man8
# for I in manpages/*.8; do \
#         /bin/install -c -m 644
$I /home/kmplsv/samba4/pkg//opt/samba4/samba/share/man/man8; \
# done
# /bin/install: cannot stat `manpages/*.8': No such file or directory
# make: *** [installdocs] Error 1
#    Aborting...



More information about the samba-technical mailing list