samba4 build failure

derrell at samba.org derrell at samba.org
Tue Sep 5 13:03:59 GMT 2006


I'm using a new Linux distro (Freespire, based on Debian Sarge) and although I
can build samba3, I'm unable to build samba4.  It looks like it's complaining
about glib-2.0 not found (I have glib but not glib-2.0 and the latter is
apparently not available) and then configure fails at the end with a perl
dependency issue.  Following is the output from "./autogen.sh &&
./configure.developer"...


./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'version.h' created for Samba("4.0.0tp3-SVN-build-18086")
./autogen.sh: running autoheader
./autogen.sh: running autoconf
Now run ./configure and then make.
configure: creating cache config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
SAMBA VERSION: 4.0.0tp3-SVN-build-18086
BUILD REVISION: 18086
checking for perl... /usr/bin/perl
checking for yapp... false
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for inline... inline
checking that the C compiler can precompile header files... 
checking that the C compiler understands volatile... yes
checking for immediate structures... yes
checking for C99 designated initializers... yes
checking that the C compiler understands negative enum values... yes
checking for test routines... yes
checking VISIBILITY_CFLAGS for gcc -fvisibility=hidden... no, unknown
checking DEVELOPER_CFLAGS for gcc -Wall... -Wall
checking DEVELOPER_CFLAGS for gcc -Wshadow... -Wshadow
checking DEVELOPER_CFLAGS for gcc -Werror-implicit-function-declaration... -Werror-implicit-function-declaration
checking DEVELOPER_CFLAGS for gcc -Wstrict-prototypes... -Wstrict-prototypes
checking DEVELOPER_CFLAGS for gcc -Wpointer-arith... -Wpointer-arith
checking DEVELOPER_CFLAGS for gcc -Wcast-qual... -Wcast-qual
checking DEVELOPER_CFLAGS for gcc -Wcast-align... -Wcast-align
checking DEVELOPER_CFLAGS for gcc -Wwrite-strings... -Wwrite-strings
checking DEVELOPER_CFLAGS for gcc -Wmissing-format-attribute... -Wmissing-format-attribute
checking DEVELOPER_CFLAGS for gcc -Wformat=2... -Wformat=2
checking DEVELOPER_CFLAGS for gcc -Wdeclaration-after-statement... no, unknown
checking DEVELOPER_CFLAGS for gcc -Wunused-macros... -Wunused-macros
checking DEVELOPER_CFLAGS for gcc -Wno-format-y2k... -Wno-format-y2k
checking DEVELOPER_CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter
checking that the C compiler can use the DEVELOPER_CFLAGS... yes
checking for gcov... /usr/bin/gcov
checking for make... /usr/bin/make
checking whether we have GNU make... yes
checking GNU make version... 3.80
checking for GNU make >= 3.81... no
checking CFLAGS for gcc -M -MT conftest.d -MF conftest.o... -M -MT conftest.d -MF conftest.o
checking Whether to use automatic dependencies... no
checking for ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for ar... /usr/bin/ar
checking ability to build shared libraries... true
checking linker flags for shared libraries... -shared
checking compiler flags for position-independent code... 
checking whether building shared libraries actually works... yes
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for xsltproc... /usr/bin/xsltproc
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking whether mkdir supports mode... yes
checking for broken readdir... Deleted 700 files of 700
no
checking whether to use readline... yes
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking readline/history.h usability... no
checking readline/history.h presence... no
checking for readline/history.h... no
checking for readline.h... (cached) no
checking for readline/readline.h... (cached) no
checking for rl_completion_matches in -lreadline... no
checking whether to use extern readline... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mode.h usability... no
checking sys/mode.h presence... no
checking for sys/mode.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sig_atomic_t type... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking sys/id.h usability... no
checking sys/id.h presence... no
checking for sys/id.h... no
checking compat.h usability... no
checking compat.h presence... no
checking for compat.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking sys/priv.h usability... no
checking sys/priv.h presence... no
checking for sys/priv.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/security.h usability... no
checking sys/security.h presence... no
checking for sys/security.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for struct stat.st_rdev... yes
checking for ino_t... yes
checking for loff_t... yes
checking for offset_t... no
checking for long long... (cached) yes
checking for working memcmp... yes
checking for pipe... yes
checking for strftime... yes
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for usleep... yes
checking for setbuffer... yes
checking for working mmap... yes
checking for O_DIRECT flag to open(2)... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for inttypes.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/bswap.h usability... no
checking sys/bswap.h presence... no
checking for sys/bswap.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking timezone.h usability... no
checking timezone.h presence... no
checking for timezone.h... no
checking ttyname.h usability... no
checking ttyname.h presence... no
checking for ttyname.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6.h usability... no
checking netinet/in6.h presence... no
checking for netinet/in6.h... no
checking netinet6/in6.h usability... no
checking netinet6/in6.h presence... no
checking for netinet6/in6.h... no
checking for atexit... yes
checking for cgetent... no
checking for getprogname... no
checking for inet_ntop... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for gethostname... yes
checking for getnameinfo... yes
checking for iruserok... yes
checking for putenv... yes
checking for rcmd... yes
checking for readv... yes
checking for sendmsg... yes
checking for setitimer... yes
checking for socket... yes
checking for strlwr... no
checking for strncasecmp... yes
checking for strptime... yes
checking for strsep... yes
checking for strsep_copy... no
checking for strtok_r... yes
checking for strupr... no
checking for swab... yes
checking for umask... yes
checking for uname... yes
checking for unsetenv... yes
checking for closefrom... no
checking for hstrerror... yes
checking for err... yes
checking for errx... yes
checking for warnx... yes
checking for flock... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for getipnodebyname... no
checking for getipnodebyaddr... no
checking for freehostent... no
checking for writev... yes
checking for bswap16... no
checking for bswap32... no
checking for sa_family_t... yes
checking for struct sockaddr... yes
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for struct ifaddrs... yes
checking for socklen_t... yes
checking for struct winsize... yes
checking return type of signal handlers... (cached) void
checking for h_errno... yes
checking whether h_errno is declared... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking for res_search... yes, in -lresolv
checking for res_nsearch... yes
checking for res_ndestroy... no
checking for dn_expand... yes
checking for _res... yes
checking whether _res is declared... yes
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for bison... bison -y
checking for gai_strerror... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for backtrace... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for setsid... yes
configure: checking how to get filesystem space usage...
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for sys/mount.h... yes
checking statvfs64 function (SVR4)... yes
checking sys/attributes.h usability... no
checking sys/attributes.h presence... no
checking for sys/attributes.h... no
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking for library containing flistxattr... none required
checking for flistxattr... yes
checking whether xattr interface takes additional options... no
checking for irix specific capabilities... no
checking if gettimeofday takes tz argument... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/un.h... (cached) yes
checking for writev... (cached) yes
checking for readv... (cached) yes
checking for sin_len in sock... no
checking for connect... yes
checking for gethostbyname... yes
checking for unix domain sockets... yes
checking for AF_LOCAL socket support... yes
checking for gethostbyname2... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/time.h... (cached) yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in_ip.h usability... no
checking netinet/in_ip.h presence... no
checking for netinet/in_ip.h... no
checking for iface AIX... no
checking for iface ifconf... got 3 interfaces:
eth0       IP=192.168.1.50 NETMASK=255.255.255.0
eth1       IP=192.168.1.50 NETMASK=255.255.255.0
lo         IP=127.0.0.1 NETMASK=255.0.0.0
yes
checking for mmap... yes
checking for pread... yes
checking for pwrite... yes
checking for getpagesize... yes
checking for utime... 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 Python... no
checking for SQLITE3 support... no
checking for Python... no
checking for pkg-config... /usr/bin/pkg-config
checking for gnutls... no
Package gnutls was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnutls.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnutls' found
checking gnutls/gnutls.h usability... no
checking gnutls/gnutls.h presence... no
checking for gnutls/gnutls.h... no
checking for gnutls_global_init in -lgnutls... no
checking whether gnutls_x509_crt_set_version is declared... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for epoll_create... yes
checking whether to use pthreads... no
checking whether to search for setproctitle support... no
checking for gconf-2.0... no
Package gconf-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
checking for glib-2.0 gtk+-2.0 >= 2.4... no
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
checking for tv_nsec nanosecond fields in struct stat... 
checking blkid/blkid.h usability... no
checking blkid/blkid.h presence... no
checking for blkid/blkid.h... no
checking for library containing blkid_get_cache... no
checking for blkid_get_cache... no
checking for setgroups... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... yes
checking for crypt16... no
checking for getauthuid... no
checking for getpwanam... no
checking linux/inotify.h usability... yes
checking linux/inotify.h presence... yes
checking for linux/inotify.h... yes
checking asm/unistd.h usability... yes
checking asm/unistd.h presence... yes
checking for asm/unistd.h... yes
checking for inotify_init... no
checking for __NR_inotify_init declaration... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking nss.h usability... yes
checking nss.h presence... yes
checking for nss.h... yes
checking nss_common.h usability... no
checking nss_common.h presence... no
checking for nss_common.h... no
checking ns_api.h usability... no
checking ns_api.h presence... no
checking for ns_api.h... no
checking for Python (libcli_nbt)... no
checking configure summary... yes
configure: creating build/smb_build/config.pm
configure: creating config.mk
updating cache config.cache
configure: creating ./config.status
config.status: creating include/config_tmp.h
config.status: executing default-1 commands
Subroutine Cwd::fastcwd redefined at /usr/lib/perl/5.8/XSLoader.pm line 91.
Dependency unknown: DL at build/smb_build/input.pm line 142.



More information about the samba-technical mailing list