[Samba] Samba 4 on osx
William Brown
firstyear at internode.on.net
Sun Oct 31 23:27:50 MDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have recently tried to build samba4 on osx from the latest git pull
I have had a build error while trying to compile this.
I have make clean, and reconfigured this.
[ 480/2253] Compiling lib/ldb/common/ldb.c
../lib/ldb/common/ldb.c: In function ‘ldb_init’:
../lib/ldb/common/ldb.c:103: warning: ‘tevent_loop_allow_nesting’ is deprecated (declared at ../../lib/tevent/tevent.h:1270)
[ 481/2253] Compiling lib/ldb/tools/ldbutil.c
[ 482/2253] Compiling lib/ldb/tools/cmdline.c
[ 483/2253] Compiling lib/ldb/tools/ldbadd.c
In file included from ../lib/ldb/tools/ldbadd.c:35:
../lib/ldb/tools/cmdline.h:24:18: error: popt.h: No such file or directory
Waf: Leaving directory `/Users/williambrown/development/samba-master/source4/bin'
Build failed: -> task failed (err #1):
{task: cc ldbadd.c -> ldbadd_32.o}
make: *** [all] Error 1
Is this my fault, or is this an actual issue atm?
git rev-parse master:
a2d787d95d1f20aa2c080c2281bcf213728dfbc4
Here is my ./configure output
[williambrown at Mai ~/development/samba-master/source4]$ ./configure.developer --prefix=/opt/samba4
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for program git : /opt/local/bin/git
Check for -MD : yes
Checking for program gdb : /usr/bin/gdb
Checking build system : Darwin Mai 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
Checking for header sys/utsname.h : yes
Checking uname sysname type : Darwin
Checking uname machine type : i386
Checking uname release type : 10.4.0
Checking uname version type : Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386
Checking for header stdio.h : yes
Checking simple C program : ok
Checking for building library support : ok
Checking for rpath library support : ok
Checking compiler accepts -fPIC : yes
Checking for inline : inline
Checking for pkg-config version >= 0.0.0 : yes
Checking for header sys/types.h : yes
Checking for header sys/stat.h : yes
Checking for header stdlib.h : yes
Checking for header stddef.h : yes
Checking for header memory.h : yes
Checking for header string.h : yes
Checking for header strings.h : yes
Checking for header inttypes.h : yes
Checking for header stdint.h : yes
Checking for header unistd.h : yes
Checking for header minix/config.h : no
Checking for header ctype.h : yes
Checking for header standards.h : yes
Checking for header stdbool.h : yes
Checking for header stdarg.h : yes
Checking for header vararg.h : no
Checking for header limits.h : yes
Checking for header assert.h : yes
Checking for large file support : ok
Checking for header sys/time.h : yes
Checking for header time.h : yes
Checking for WORDS_BIGENDIAN : not found
Checking for header signal.h : yes
Checking if signal handlers return int : not found
Checking for variable __FUNCTION__ : ok
Checking for va_copy : ok
Checking for HAVE__VA_ARGS__MACRO : ok
Checking for header crypt.h : no
Checking for header locale.h : yes
Checking for header acl/libacl.h : no
Checking for header compat.h : no
Checking for header attr/xattr.h : no
Checking for header dustat.h : no
Checking for header fcntl.h : yes
Checking for header fnmatch.h : yes
Checking for header glob.h : yes
Checking for header history.h : no
Checking for header krb5.h : yes
Checking for header langinfo.h : yes
Checking for header libaio.h : no
Checking for header ndir.h : no
Checking for header pwd.h : yes
Checking for header shadow.h : no
Checking for header sys/acl.h : yes
Checking for header sys/attributes.h : no
Checking for header sys/capability.h : no
Checking for header sys/dir.h : yes
Checking for header sys/epoll.h : no
Checking for header sys/fcntl.h : yes
Checking for header sys/filio.h : yes
Checking for header sys/filsys.h : no
Checking for header sys/fs/s5param.h : no
Checking for header sys/fs/vx/quota.h : no
Checking for header sys/id.h : no
Checking for header sys/ioctl.h : yes
Checking for header sys/ipc.h : yes
Checking for header sys/mman.h : yes
Checking for header sys/mode.h : no
Checking for header sys/ndir.h : no
Checking for header sys/priv.h : no
Checking for header sys/resource.h : yes
Checking for header sys/security.h : no
Checking for header sys/shm.h : yes
Checking for header sys/statfs.h : no
Checking for header sys/statvfs.h : yes
Checking for header sys/termio.h : no
Checking for header sys/vfs.h : no
Checking for header sys/xattr.h : yes
Checking for header termio.h : no
Checking for header termios.h : yes
Checking for header sys/file.h : yes
Checking for header sys/wait.h : yes
Checking for header malloc.h : no
Checking for header grp.h : yes
Checking for header sys/select.h : yes
Checking for header setjmp.h : yes
Checking for header utime.h : yes
Checking for header sys/syslog.h : yes
Checking for header syslog.h : yes
Checking for header sys/mount.h : yes
Checking for header mntent.h : no
Checking for header stropts.h : no
Checking for header unix.h : no
Checking for header sys/param.h : yes
Checking for header sys/socket.h : yes
Checking for header netinet/in.h : yes
Checking for header netdb.h : yes
Checking for header arpa/inet.h : yes
Checking for header netinet/in_systm.h : yes
Checking for header netinet/ip.h : yes
Checking for header netinet/tcp.h : yes
Checking for header netinet/in_ip.h : no
Checking for header sys/sockio.h : yes
Checking for header sys/un.h : yes
Checking for header sys/uio.h : yes
Checking for header ifaddrs.h : yes
Checking for header direct.h : no
Checking for header dirent.h : yes
Checking for header windows.h : no
Checking for header winsock2.h : no
Checking for header ws2tcpip.h : no
Checking for header libintl.h : no
Checking for header errno.h : yes
Checking for header gcrypt.h : no
Checking for header getopt.h : yes
Checking for header iconv.h : yes
Checking for header sys/inotify.h : no
Checking for header nss.h : no
Checking for header sasl/sasl.h : yes
Checking for header security/pam_appl.h : yes
Checking for header zlib.h : yes
Checking for header asm/unistd.h : no
Checking for header aio.h : yes
Checking for header sys/unistd.h : yes
Checking for header rpc/rpc.h : yes
Checking for header rpc/nettype.h : no
Checking for header alloca.h : yes
Checking for header float.h : yes
Checking for header rpcsvc/nis.h : no
Checking for header rpcsvc/ypclnt.h : yes
Checking for header sys/prctl.h : no
Checking for header sys/sysctl.h : yes
Checking for header sys/fileio.h : no
Checking for header sys/filesys.h : no
Checking for header sys/dustat.h : no
Checking for header sys/sysmacros.h : no
Checking for header xfs/libxfs.h : no
Checking for header netgroup.h : no
Checking for header rpcsvc/yp_prot.h : no
Checking for header valgrind.h : no
Checking for header valgrind/valgrind.h : no
Checking for header valgrind/memcheck.h : no
Checking for header nss_common.h : no
Checking for header nsswitch.h : no
Checking for header ns_api.h : no
Checking for header sys/extattr.h : no
Checking for header sys/ea.h : no
Checking for header sys/proplist.h : no
Checking for header sys/cdefs.h : yes
Checking for header utmp.h : yes
Checking for header utmpx.h : yes
Checking for header lastlog.h : no
Checking for header syscall.h : no
Checking for header sys/syscall.h : yes
Checking for long long : ok
Checking for intptr_t : ok
Checking for uintptr_t : ok
Checking for ptrdiff_t : ok
Checking for comparison_fn_t : not found
Checking for _Bool : ok
Checking for int8_t : ok
Checking for int16_t : ok
Checking for uint16_t : ok
Checking for int32_t : ok
Checking for uint32_t : ok
Checking for int64_t : ok
Checking for uint64_t : ok
Checking for size_t : ok
Checking for ssize_t : ok
Checking for ino_t : ok
Checking for loff_t : not found
Checking for bool : ok
Checking for offset_t : not found
Checking for volatile int : ok
Checking for uint_t : not found
Checking for socklen_t : ok
Checking for struct ifaddrs : ok
Checking for struct addrinfo : ok
Checking for struct sockaddr : ok
Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok
Checking for struct sockaddr_storage : ok
Checking for sa_family_t : ok
Checking for sig_atomic_t : ok
Checking for inet_ntoa : ok
Checking for inet_aton : ok
Checking for inet_ntop : ok
Checking for inet_pton : ok
Checking for connect : ok
Checking for gethostbyname : ok
Checking for getaddrinfo : ok
Checking for getnameinfo : ok
Checking for freeaddrinfo : ok
Checking for gai_strerror : ok
Checking for socketpair : ok
Checking for variable IPV6_V6ONLY : ok
Checking for HAVE_IPV6 : ok
Checking for strdup : ok
Checking for memmem : not found
Checking for printf : ok
Checking for memset : ok
Checking for memcpy : ok
Checking for memmove : ok
Checking for strcpy : ok
Checking for strncpy : ok
Checking for bzero : ok
Checking for shl_load : not found
Checking for shl_unload : not found
Checking for shl_findsym : not found
Checking for pipe : ok
Checking for strftime : ok
Checking for srandom : ok
Checking for random : ok
Checking for srand : ok
Checking for rand : ok
Checking for usleep : ok
Checking for setbuffer : ok
Checking for lstat : ok
Checking for getpgrp : ok
Checking for utime : ok
Checking for utimes : ok
Checking for seteuid : ok
Checking for setresuid : not found
Checking for setegid : ok
Checking for setresgid : not found
Checking for chroot : ok
Checking for strerror : ok
Checking for vsyslog : ok
Checking for setlinebuf : ok
Checking for mktime : ok
Checking for ftruncate : ok
Checking for chsize : not found
Checking for rename : ok
Checking for waitpid : ok
Checking for wait4 : ok
Checking for strlcpy : ok
Checking for strlcat : ok
Checking for initgroups : ok
Checking for pread : ok
Checking for pwrite : ok
Checking for strndup : not found
Checking for strcasestr : ok
Checking for strtok_r : ok
Checking for mkdtemp : ok
Checking for dup2 : ok
Checking for dprintf : not found
Checking for vdprintf : not found
Checking for isatty : ok
Checking for chown : ok
Checking for lchown : ok
Checking for link : ok
Checking for readlink : ok
Checking for symlink : ok
Checking for realpath : ok
Checking for snprintf : ok
Checking for vsnprintf : ok
Checking for asprintf : ok
Checking for vasprintf : ok
Checking for setenv : ok
Checking for unsetenv : ok
Checking for strnlen : not found
Checking for strtoull : ok
Checking for __strtoull : not found
Checking for strtouq : ok
Checking for strtoll : ok
Checking for __strtoll : not found
Checking for strtoq : ok
Checking correct behavior of strtoll : ok
Checking for if_nametoindex : ok
Checking for strerror_r : ok
Checking for getdirentries : ok
Checking for getdents : not found
Checking for syslog : ok
Checking for gai_strerror : ok
Checking for get_current_dir_name : not found
Checking for timegm : ok
Checking for getifaddrs : ok
Checking for freeifaddrs : ok
Checking for mmap : ok
Checking for setgroups : ok
Checking for setsid : ok
Checking for getgrent_r : not found
Checking for getgrgid_r : ok
Checking for getgrnam_r : ok
Checking for getgrouplist : ok
Checking for getpagesize : ok
Checking for getpwent_r : not found
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for epoll_create : not found
Checking for dlopen : ok
Checking for dlsym : ok
Checking for dlerror : ok
Checking for dlclose : ok
Checking for declaration of dlopen : ok
Checking C prototype for dlopen : not found
Checking for fdatasync : ok
Checking for declaration of fdatasync : not found
Checking for clock_gettime : not found
Checking for library rt : not found
Checking for clock_gettime : not found
Checking for header net/if.h : yes
Checking for header arpa/nameser.h : yes
Checking for header resolv.h : yes
Checking for res_search : ok
Checking for gettext : not found
Checking for library intl : yes
Checking for gettext : not found
Checking for pthread_create : ok
Checking for crypt : ok
Checking for header readline.h : no
Checking for header readline/readline.h : yes
Checking for header readline/history.h : yes
Checking for variable rl_event_hook : not found
Checking for declaration of snprintf : ok
Checking for declaration of vsnprintf : ok
Checking for declaration of asprintf : ok
Checking for declaration of vasprintf : ok
Checking for declaration of errno : ok
Checking for declaration of environ : not found
Checking for declaration of getgrent_r : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of pread : ok
Checking for declaration of pwrite : ok
Checking for declaration of setenv : ok
Checking for declaration of setresgid : not found
Checking for declaration of setresuid : not found
Checking size of char : 1
Checking size of int : 4
Checking size of long long : 8
Checking size of long : 8
Checking size of off_t : 8
Checking size of short : 2
Checking size of size_t : 8
Checking size of ssize_t : 8
Checking size of dev_t : 4
Checking size of ino_t : 8
Checking size of time_t : 8
Checking size of void* : 8
Checking for working strptime : ok
Checking correct behavior of strptime : ok
Checking for KRB5_DEPRECATED define taking an identifier : ok
Checking for HAVE_GETTIMEOFDAY_TZ : ok
Checking for C99 vsnprintf : ok
Checking for HAVE_IMMEDIATE_STRUCTURES : ok
Checking for HAVE_MKDIR_MODE : ok
Checking for member st_mtim.tv_nsec in struct stat : not found
Checking for member st_rdev in struct stat : ok
Checking for member st_rdev in struct stat : ok
Checking for member ss_family in struct sockaddr_storage : ok
Checking for member sa_len in struct sockaddr : ok
Checking for member sin_len in struct sockaddr_in : ok
Checking for HAVE_UNIXSOCKET : ok
Checking for HAVE_SECURE_MKSTEMP : ok
Checking compiler accepts -fvisibility=hidden : yes
Checking for HAVE_VISIBILITY_ATTR : not found
Checking for HAVE_IFACE_GETIFADDRS : ok
Checking for getpass : ok
Checking for getpassphrase : not found
Checking for REPLACE_GETPASS : ok
Checking for getpwnam_r : ok
Checking for getpwuid_r : ok
Checking for getpwent_r : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of getgrent_r : not found
Checking for declaration of getpwent_r : not found
Checking for declaration of getgrent_r : not found
Checking for getgrouplist : ok
Checking for program python : /usr/bin/python
Checking for program perl : /usr/bin/perl
Checking for program xsltproc : /usr/bin/xsltproc
Checking for program python : /usr/bin/python
Checking for Python version >= 2.4.2 : ok 2.6.1
Checking for library python2.6 : yes
Checking for program python2.6-config : /usr/bin/python2.6-config
Checking for custom code : yes
Checking if -single_module is not needed : yes
Checking if -undefined dynamic_lookup is not need : yes
Checking for Python version >= 2.4.2 : ok 2.6.1
Checking for library python2.6 : yes
Checking for program python2.6-config : /usr/bin/python2.6-config
Checking for custom code : yes
Checking for system tdb >= 1.2.7 : not found
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found
Checking for Python version >= 2.4.2 : ok 2.6.1
Checking for library python2.6 : yes
Checking for program python2.6-config : /usr/bin/python2.6-config
Checking for custom code : yes
Checking for system talloc >= 2.0.3 : not found
Checking for system pytalloc-util >= 2.0.3 : not found
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : not found
Checking for Python version >= 2.4.2 : ok 2.6.1
Checking for library python2.6 : yes
Checking for program python2.6-config : /usr/bin/python2.6-config
Checking for custom code : yes
Checking for system tevent >= 0.9.9 : not found
Checking for epoll_create : not found
Checking for Python version >= 2.4.2 : ok 2.6.1
Checking for library python2.6 : yes
Checking for program python2.6-config : /usr/bin/python2.6-config
Checking for custom code : yes
Checking for system popt >= 0.0.0 : yes
Checking for header popt.h : yes
Checking for library popt : yes
Checking for poptGetContext : ok
Checking for system ldb >= 0.9.17 : not found
Checking for system pyldb-util >= 0.9.17 : not found
Checking linker accepts -Wl,-no-undefined : no
Checking for u_char : ok
Checking for u_int32_t : ok
Checking for header err.h : yes
Checking for header sys/bswap.h : no
Checking for header sys/stropts.h : no
Checking for header sys/timeb.h : yes
Checking for header sys/times.h : yes
Checking for header timezone.h : no
Checking for header ttyname.h : no
Checking for header netinet/in6.h : no
Checking for header netinet6/in6.h : no
Checking for header curses.h : yes
Checking for header term.h : yes
Checking for header termcap.h : yes
Checking for atexit : ok
Checking for cgetent : ok
Checking for getprogname : ok
Checking for setprogname : ok
Checking for gethostname : ok
Checking for putenv : ok
Checking for rcmd : ok
Checking for readv : ok
Checking for sendmsg : ok
Checking for setitimer : ok
Checking for strlwr : not found
Checking for strncasecmp : ok
Checking for strptime : ok
Checking for strsep : ok
Checking for strsep_copy : not found
Checking for strtok_r : ok
Checking for strupr : not found
Checking for swab : ok
Checking for umask : ok
Checking for uname : ok
Checking for unsetenv : ok
Checking for closefrom : not found
Checking for err : ok
Checking for warn : ok
Checking for errx : ok
Checking for warnx : ok
Checking for flock : ok
Checking for writev : ok
Checking for hstrerror : ok
Checking for socket : ok
Checking for getipnodebyname : ok
Checking for gethostent : ok
Checking for gethostent_r : not found
Checking for sethostent : ok
Checking for endhostent : ok
Checking for getipnodebyaddr : ok
Checking for freehostent : ok
Checking for gethostbyname_r : not found
Checking for gethostbyaddr : ok
Checking for library socket : not found
Checking for library nsl : not found
Checking for gethostent_r : not found
Checking for gethostbyname_r : not found
Checking for dgettext : not found
Checking for gettext : not found
Checking for iruserok : ok
Checking for bswap16 : not found
Checking for bswap32 : not found
Checking for header sys/termios.h : yes
Checking for struct winsize : ok
Checking for member ws_xpixel in struct winsize : ok
Checking for member ws_ypixel in struct winsize : ok
Checking for variable h_errno : ok
Checking for declaration of h_errno : ok
Checking for res_nsearch : not found
Checking for res_ndestroy : not found
Checking for dns_search : not found
Checking for dn_expand : ok
Checking for library resolv : yes
Checking for res_nsearch : ok
Checking for res_ndestroy : ok
Checking for dns_search : ok
Checking for variable _res : ok
Checking for declaration of _res : ok
Checking for openpty : ok
Checking for dirfd : not found
Checking for declaration of dirfd : ok
Checking for member dd_fd in DIR : not found
Checking for system com_err >= 0.0.0 : not found
Checking for header com_err.h : yes
Checking for library com_err : yes
Checking for com_right_r : not found
Checking for com_err : ok
Checking for gnutls >= 1.4.0 : yes
Checking for library gnutls : yes
Checking for gnutls_global_init : ok
Checking for header gnutls/x509.h : yes
Checking for variable gnutls_x509_crt_set_version : ok
Checking for variable gnutls_x509_crt_set_subject_key_id : ok
Checking for gnutls_datum : ok
Checking for gnutls_datum_t : ok
Checking for library gcrypt : yes
Checking for gcry_control : not found
Checking for library gpg-error : yes
Checking for gpg_err_code_from_errno : not found
Checking for header linux/inotify.h : no
Checking for inotify_init : not found
Checking for variable __NR_inotify_init : not found
Checking for header linux/fcntl.h : no
Checking for declaration of F_SETLEASE : not found
Checking for declaration of SA_SIGINFO : ok
Checking for declaration of __NR_inotify_init : not found
Checking for backtrace : ok
Checking for sigprocmask : ok
Checking for sigblock : ok
Checking for sigaction : ok
Checking for flistxattr : ok
Checking for darwin xattr api : ok
Checking for member f_frsize in struct statvfs : ok
Checking for Linux statvfs64 : not found
Checking for statvfs (SVR4) : ok
Checking if f_fsid is an integer : ok
Checking whether statvfs.f_flag exists : ok
Checking whether statvfs.f_flags exists : not found
Checking for library z : yes
Checking for zlibVersion : ok
Checking for ZLIB_VERNUM >= 0x1230 : ok
Checking for library iconv : yes
Checking for iconv_open : ok
Checking for pam_start : not found
Checking for library pam : yes
Checking for pam_start : ok
Checking for library sasl2 : yes
Checking for sasl_client_init : ok
Checking for header security/pam_modules.h : yes
Checking for header pam/pam_modules.h : no
Checking for system subunit >= 0.0.0 : not found
Checking for header subunit/child.h : no
Checking for library ncurses : yes
Checking for tgetent : ok
Checking for rl_completion_t : not found
Checking for CPPFunction : ok
Checking for library readline : yes
Checking for rl_completion_matches : ok
Checking for history_list : not found
perl manpage generation : ok
perl man1 extension : 1
perl man3 extension : 3pm
Checking for program yapp : not found
Checking for program pod2man : /usr/bin/pod2man
Checking linker accepts -Wl,-no-undefined : no
Checking compiler accepts -Wall : yes
Checking compiler accepts -g : yes
Checking compiler accepts -Wshadow : yes
Checking compiler accepts -Wstrict-prototypes : yes
Checking compiler accepts -Wpointer-arith : yes
Checking compiler accepts -Wcast-qual : yes
Checking compiler accepts -Wcast-align : yes
Checking compiler accepts -Wwrite-strings : yes
Checking compiler accepts -Werror-implicit-function-declaration : yes
Checking compiler accepts -Wformat=2 : yes
Checking compiler accepts -Wno-format-y2k : yes
'configure' finished successfully (12.958s)
William Brown
pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iQIcBAEBAgAGBQJMzk/ZAAoJEMPMWTUQsD1JEEkP+wXGdlBrTxyf8KwIHVqwpUoK
MwSfDJHoYe+G7JcQSX0U2Aj2+N/HmpfJyy6+AUMBXB14PgPvC4niD+yf/7uXEDQe
AYOHd5eTWQ8MiGE3uN+kNmk7Y/NExutUfCyZdv2qPh7AsDz6Qrkl7IrStfN+rTf7
b3jpWPL7q70N2IlUX6UfuXGP7xHI8uGcsMWVRDGO6RdRrtQHhuwzyGRXpI+UyN9d
XvFPEnStpA9iJoAH7lIk3gELPodpWSSmZI9IRRLo9cZ74dIqLA46dOOdlXMu5iTP
QhNKUiBHUv//sj1xXmlWwzBGmxg4YYZyQVUxVF0LNpLewb6ZT7Wk6FXgqje7JkLI
SV5Kajn0VX6QvawlLaTNefSQI3G0mIFQ0G3K1+Z5MOdyLwANLt9tA1xH+7CU6kSI
Rx4uYtFabFO31WVP3SJsXR6pR6nTAuwqR7lZ6qD53VkDzLJj9oOG2OYL7guNWE/n
DfiwLxcIe16lYTXIkFlBNogpp6TyWaNNKO08JNhCX9Enw6cIPKH0FOqskHiAyDw0
LA7YrdxqB6gnRM3+y66TULOFPOVq0CwU+3DOWCUF8uVxldQFlawZ6RYbXiBenF2F
uA3CICr5E03vN3lpV9lTH7PsNyHD+QIc4IoAmCG0H4UQ77JgO7X52wbxXMqcc82h
jjT/YOboj3fmkZVMFme1
=6VZ3
-----END PGP SIGNATURE-----
More information about the samba
mailing list