[nick@arch ~]$ sudo pacman -S base-devel
Password:
resolving dependencies...
looking for inter-conflicts...
Targets (16): m4-1.4.15-1 autoconf-2.68-1 automake-1.11.1-2 bison-2.4.3-1
fakeroot-1.14.5-1 flex-2.5.35-4 mpfr-3.0.0.p8-1
libmpc-0.8.2-2 ppl-0.11-1 cloog-ppl-0.15.10-2
elfutils-0.150-1 gcc-4.5.2-4 libtool-2.4-2 make-3.81-5
patch-2.6.1-2 pkg-config-0.25-3
Total Download Size: 21.63 MB
Total Installed Size: 92.58 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
m4-1.4.15-1-i686 153.2K 83.1K/s 00:00:02 [#####################] 100%
autoconf-2.68-1-any 569.1K 57.0K/s 00:00:10 [#####################] 100%
automake-1.11.1-2-any 524.8K 54.7K/s 00:00:10 [#####################] 100%
bison-2.4.3-1-i686 362.3K 61.4K/s 00:00:06 [#####################] 100%
fakeroot-1.14.5-1-i686 44.8K 171.9K/s 00:00:00 [#####################] 100%
flex-2.5.35-4-i686 232.3K 70.5K/s 00:00:03 [#####################] 100%
mpfr-3.0.0.p8-1-i686 332.8K 58.4K/s 00:00:06 [#####################] 100%
libmpc-0.8.2-2-i686 68.1K 192.2K/s 00:00:00 [#####################] 100%
ppl-0.11-1-i686 3.0M 49.9K/s 00:01:02 [#####################] 100%
cloog-ppl-0.15.10-... 117.8K 268.5K/s 00:00:00 [#####################] 100%
elfutils-0.150-1-i686 591.4K 54.2K/s 00:00:11 [#####################] 100%
gcc-4.5.2-4-i686 14.9M 49.0K/s 00:05:11 [#####################] 100%
libtool-2.4-2-i686 377.7K 63.0K/s 00:00:06 [#####################] 100%
make-3.81-5-i686 322.7K 58.6K/s 00:00:06 [#####################] 100%
patch-2.6.1-2-i686 63.5K 195.3K/s 00:00:00 [#####################] 100%
pkg-config-0.25-3-i686 28.8K 135.9K/s 00:00:00 [#####################] 100%
checking package integrity...
(16/16) checking for file conflicts [#####################] 100%
( 1/16) installing m4 [#####################] 100%
( 2/16) installing autoconf [#####################] 100%
( 3/16) installing automake [#####################] 100%
( 4/16) installing bison [#####################] 100%
( 5/16) installing fakeroot [#####################] 100%
( 6/16) installing flex [#####################] 100%
( 7/16) installing mpfr [#####################] 100%
( 8/16) installing libmpc [#####################] 100%
( 9/16) installing ppl [#####################] 100%
(10/16) installing cloog-ppl [#####################] 100%
(11/16) installing elfutils [#####################] 100%
(12/16) installing gcc [#####################] 100%
(13/16) installing libtool [#####################] 100%
(14/16) installing make [#####################] 100%
(15/16) installing patch [#####################] 100%
Optional dependencies for patch
ed: Interpret the patch as an ed script; for patch -e
functionality(deprecated)
(16/16) installing pkg-config [#####################] 100%
[nick@arch ~]$ cd Downloads/
[nick@arch Downloads]$ ls
PKGBUILD samba4.tar.gz
[nick@arch Downloads]$ tar -xzvf samba4.tar.gz
samba4
samba4/PKGBUILD
[nick@arch Downloads]$ ls
PKGBUILD samba4 samba4.tar.gz
[nick@arch Downloads]$ mv PKGBUILD samba4/
[nick@arch Downloads]$ ls
samba4 samba4.tar.gz
[nick@arch Downloads]$ cd samba4
[nick@arch samba4]$ ls
PKGBUILD
[nick@arch samba4]$ makepkg -s
==> Making package: samba4 4.0.0A13-3 (Sat Jan 8 21:43:34 EST 2011)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
Password:
resolving dependencies...
looking for inter-conflicts...
Targets (4): libgssglue-0.1-3 libtirpc-0.2.1-1 rpcbind-0.2.0-3 fam-2.7.0-14
Total Download Size: 0.36 MB
Total Installed Size: 1.15 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
libgssglue-0.1-3-i686 30.2K 162.8K/s 00:00:00 [#####################] 100%
error: failed retrieving file 'libtirpc-0.2.1-1-i686.pkg.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
libtirpc-0.2.1-1-i686 217.7K 271.3K/s 00:00:01 [#####################] 100%
rpcbind-0.2.0-3-i686 27.8K 152.8K/s 00:00:00 [#####################] 100%
:: Retrieving packages from extra...
fam-2.7.0-14-i686 88.6K 235.5K/s 00:00:00 [#####################] 100%
checking package integrity...
(4/4) checking for file conflicts [#####################] 100%
(1/4) installing libgssglue [#####################] 100%
(2/4) installing libtirpc [#####################] 100%
(3/4) installing rpcbind [#####################] 100%
(4/4) installing fam [#####################] 100%
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading samba-4.0.0alpha13.tar.gz...
--2011-01-08 21:43:52-- http://us1.samba.org/samba/ftp/samba4/samba-4.0.0alpha13.tar.gz
Resolving us1.samba.org... 216.83.154.106
Connecting to us1.samba.org|216.83.154.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8681348 (8.3M) [application/x-gzip]
Saving to: “samba-4.0.0alpha13.tar.gz.part”
100%[=====================================>] 8,681,348 1.06M/s in 8.0s
2011-01-08 21:44:00 (1.03 MB/s) - “samba-4.0.0alpha13.tar.gz.part” saved [8681348/8681348]
==> Validating source files with md5sums...
samba-4.0.0alpha13.tar.gz ... Passed
==> Extracting Sources...
-> Extracting samba-4.0.0alpha13.tar.gz with bsdtar
==> Starting build()...
Now run ./configure and then make.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
LIBREPLACE_LOCATION_CHECKS: START
LIBREPLACE_LOCATION_CHECKS: END
LIBREPLACE_CC_CHECKS: START
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for version of gcc... 4.5.2
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for C99 designated initializers... yes
checking for a BSD-compatible install... /bin/install -c
checking for library containing strerror... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking standards.h usability... no
checking standards.h presence... no
checking for standards.h... no
checking for long long... yes
checking size of int... 4
checking size of char... 1
checking size of short... 2
checking size of long... 4
checking size of long long... 8
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking size of off_t... 8
checking size of size_t... 4
checking size of ssize_t... 4
checking for intptr_t... yes
checking for uintptr_t... yes
checking for ptrdiff_t... yes
checking for immediate structures... yes
LIBREPLACE_CC_CHECKS: END
LIBREPLACE_BROKEN_CHECKS: START
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... (cached) 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 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 lstat... yes
checking for getpgrp... yes
checking for utime... yes
checking for utimes... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stdint.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for stdint.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for bool... yes
checking for _Bool... yes
checking for working mmap... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking vararg.h usability... no
checking vararg.h presence... no
checking for vararg.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for seteuid... yes
checking for setresuid... yes
checking for setegid... yes
checking for setresgid... yes
checking for chroot... yes
checking for bzero... yes
checking for strerror... yes
checking for strerror_r... yes
checking for vsyslog... yes
checking for setlinebuf... yes
checking for mktime... yes
checking for ftruncate... yes
checking for chsize... no
checking for rename... yes
checking for waitpid... yes
checking for wait4... yes
checking for strlcpy... no
checking for strlcat... no
checking for initgroups... yes
checking for memmove... yes
checking for strdup... yes
checking for pread... yes
checking for pwrite... yes
checking for strndup... yes
checking for strcasestr... yes
checking for strtok_r... yes
checking for mkdtemp... yes
checking for dup2... yes
checking for dprintf... yes
checking for vdprintf... yes
checking for isatty... yes
checking for chown... yes
checking for lchown... yes
checking for link... yes
checking for readlink... yes
checking for symlink... yes
checking for realpath... yes
checking for fdatasync... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for get_current_dir_name... yes
checking for setresuid declaration... yes
checking for setresgid declaration... yes
checking for errno declaration... yes
checking for secure mkstemp... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for strings.h... (cached) yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for C99 vsnprintf... yes
checking for va_copy... yes
checking for __FUNCTION__ macro... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for comparison_fn_t... yes
checking for setenv declaration... yes
checking for setenv... yes
checking for unsetenv... yes
checking for environ declaration... yes
checking for strnlen... yes
checking for strtoull... yes
checking for __strtoull... no
checking for strtouq... yes
checking for strtoll... yes
checking for __strtoll... no
checking for strtoq... yes
checking for memmem... yes
checking for sig_atomic_t type... yes
checking for O_DIRECT flag to open(2)... no
checking that the C compiler understands volatile... yes
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/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/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for utime.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking if gettimeofday takes TZ argument... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking for broken RedHat 7.2 system header files... no
checking for broken RHEL5 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 for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getpwent_r... yes
checking for getpwent_r declaration... yes
checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)... ./configure: line 7254: ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__int_buflen_=no: command not found
checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)... ./configure: line 7301: ac_cv_c_prototype_struct_passwd_pgetpwent_r_struct_passwd_psrc__char_pbuf__size_t_buflen_=no: command not found
checking for getgrnam_r... yes
checking for getgrgid_r... yes
checking for getgrent_r... yes
checking for getgrent_r declaration... yes
checking for prototype struct group *getgrent_r(struct group *src, char *buf, int buflen)... ./configure: line 7396: ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__int_buflen_=no: command not found
checking for prototype struct group *getgrent_r(struct group *src, char *buf, size_t buflen)... ./configure: line 7444: ac_cv_c_prototype_struct_group_pgetgrent_r_struct_group_psrc__char_pbuf__size_t_buflen_=no: command not found
checking for getgrouplist... yes
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 langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.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 library containing dlopen... -ldl
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen... yes
checking for dlsym... yes
checking for dlerror... yes
checking for dlclose... yes
checking for library containing shl_load... no
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for shl_load... no
checking for shl_unload... no
checking for shl_findsym... no
checking for prototype void *dlopen(const char* filename, unsigned int flags)... ./configure: line 7731: ac_cv_c_prototype_void_pdlopen_const_charp_filename__unsigned_int_flags_=no: command not found
checking for getpass... yes
checking for getpassphrase... no
checking whether getpass should be replaced... yes
checking whether strptime is available and works... yes
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 timegm... yes
checking for broken readdir... no
checking for dirfd... yes
checking for dirfd declaration... yes
checking a usable readdir()... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for library containing crypt... -lcrypt
checking for CLOCK_MONOTONIC... yes
checking for CLOCK_PROCESS_CPUTIME_ID... yes
checking for CLOCK_REALTIME... yes
checking for printf... yes
checking for memset... yes
checking for memcpy... yes
LIBREPLACE_BROKEN_CHECKS: END
checking for mmap... yes
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for getpagesize... yes
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 python-config... /home/nick/Downloads/samba4/src/bin/python-config
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
checking for python... /home/nick/Downloads/samba4/src/bin/python
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: 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 =
Compiling tools/tdbtool.c
Compiling common/tdb.c
Compiling common/dump.c
Compiling common/transaction.c
Compiling common/error.c
Compiling common/traverse.c
Compiling common/freelist.c
Compiling common/freelistcheck.c
Compiling common/io.c
Compiling common/lock.c
Compiling common/open.c
Compiling common/check.c
Compiling ../replace/replace.c
Compiling ../replace/snprintf.c
Compiling ../replace/getpass.c
ar -rv libtdb.a common/tdb.o common/dump.o common/transaction.o common/error.o common/traverse.o common/freelist.o common/freelistcheck.o common/io.o common/lock.o common/open.o common/check.o ./../replace/replace.o ./../replace/snprintf.o ./../replace/getpass.o
ar: creating libtdb.a
a - common/tdb.o
a - common/dump.o
a - common/transaction.o
a - common/error.o
a - common/traverse.o
a - common/freelist.o
a - common/freelistcheck.o
a - common/io.o
a - common/lock.o
a - common/open.o
a - common/check.o
a - ./../replace/replace.o
a - ./../replace/snprintf.o
a - ./../replace/getpass.o
gcc -I./include -Iinclude -march=i686 -mtune=generic -O2 -pipe -I./../replace -Wl,--hash-style=gnu -Wl,--as-needed -o bin/tdbtool tools/tdbtool.o -L. -ltdb
Compiling tools/tdbdump.c
gcc -I./include -Iinclude -march=i686 -mtune=generic -O2 -pipe -I./../replace -Wl,--hash-style=gnu -Wl,--as-needed -o bin/tdbdump tools/tdbdump.o -L. -ltdb
Compiling tools/tdbbackup.c
gcc -I./include -Iinclude -march=i686 -mtune=generic -O2 -pipe -I./../replace -Wl,--hash-style=gnu -Wl,--as-needed -o bin/tdbbackup tools/tdbbackup.o -L. -ltdb
gcc -shared -Wl,-Bsymbolic -o libtdb.so.1.2.4 common/tdb.o common/dump.o common/transaction.o common/error.o common/traverse.o common/freelist.o common/freelistcheck.o common/io.o common/lock.o common/open.o common/check.o ./../replace/replace.o ./../replace/snprintf.o ./../replace/getpass.o -Wl,--version-script tdb.exports -Wl,-soname=libtdb.so.1
ln -fs libtdb.so.1.2.4 libtdb.so
gcc -fPIC -c ./pytdb.c -I./include -Iinclude -march=i686 -mtune=generic -O2 -pipe -I./../replace `/home/nick/Downloads/samba4/src/bin/python-config --cflags`
In file included from /usr/include/python2.7/Python.h:8:0,
from ./pytdb.c:30:
/usr/include/python2.7/pyconfig.h:1155:0: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:162:0: note: this is the location of the previous definition
/usr/include/python2.7/pyconfig.h:1177:0: warning: "_XOPEN_SOURCE" redefined
/usr/include/features.h:164:0: note: this is the location of the previous definition
gcc -shared -Wl,-Bsymbolic -o tdb.so pytdb.o -L. -ltdb `/home/nick/Downloads/samba4/src/bin/python-config --ldflags`
mkdir -p /home/nick/Downloads/samba4/pkg//opt/samba4/samba/bin
mkdir -p /home/nick/Downloads/samba4/pkg//opt/samba4/samba/include
mkdir -p /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib
mkdir -p /home/nick/Downloads/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/nick/Downloads/samba4/pkg//opt/samba4/samba/bin
cp ./include/tdb.h /home/nick/Downloads/samba4/pkg//opt/samba4/samba/include
cp tdb.pc /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib/pkgconfig
cp libtdb.a libtdb.so.1.2.4 /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib
rm -f /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib/libtdb.so
ln -s libtdb.so.1.2.4 /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib/libtdb.so
rm -f /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib/libtdb.so.1
ln -s libtdb.so.1.2.4 /home/nick/Downloads/samba4/pkg//opt/samba4/samba/lib/libtdb.so.1
mkdir -p /home/nick/Downloads/samba4/pkg/`/home/nick/Downloads/samba4/src/bin/python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='/opt/samba4/samba')"`
cp tdb.so /home/nick/Downloads/samba4/pkg/`/home/nick/Downloads/samba4/src/bin/python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='/opt/samba4/samba')"`
/bin/install -c -d /home/nick/Downloads/samba4/pkg//opt/samba4/samba/share/man/man8
for I in manpages/*.8; do \
/bin/install -c -m 644 $I /home/nick/Downloads/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...
[nick@arch samba4]$