[Date Prev][Date Next] [Chronological] [Thread] [Top]

Open LDAP Compile Error on Linux



Hi there.

I've run into a problem compiling the Open LDAP package on a Linux 
system.  The error occurs immediately after the Makefiles are created:

making buildtools
  cd build; make 
make[1]: Entering directory `/usr/local/src/openldap-1.0.3/build'
make[1]: *** [all] Error 127
make[1]: Leaving directory `/usr/local/src/openldap-1.0.3/build'
make: *** [buildtools] Error 2

I can't see any reason for this to occur, so I ran a stack trace, 
which I can't seem to pull a cause out of either.  (See attached 
file).  Any ideas?

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.

uselib("/lib/ld.so")                    = 0
getuid()                                = 0
geteuid()                               = 0
getgid()                                = 0
getegid()                               = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=5090, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
mmap(0, 5090, PROT_READ, MAP_SHARED, 3, 0) = 0x40000000
close(3)                                = 0
uselib("/lib/libc.so.4.6.27")           = 0
munmap(0x40000000, 5090)                = 0
munmap(0x62f00000, 16384)               = 0
brk(0)                                  = 0x18b78
sigaction(SIGHUP, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGQUIT, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGINT, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGTERM, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGXCPU, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGXFSZ, {0x834, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
lstat(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat("..", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
stat("..", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
open("..", O_RDONLY)                    = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
brk(0x1bb78)                            = 0x1bb78
brk(0x1c000)                            = 0x1c000
brk(0x1d000)                            = 0x1d000
brk(0x1e000)                            = 0x1e000
readdir(3, {d_ino=83641, d_name="."})   = 1
readdir(3, {d_ino=26521, d_name=".."})  = 1
readdir(3, {d_ino=83696, d_name="tcp_wrappers"}) = 1
readdir(3, {d_ino=57221, d_name="compressed"}) = 1
readdir(3, {d_ino=83698, d_name="apache"}) = 1
readdir(3, {d_ino=83699, d_name="mars_nwe"}) = 1
readdir(3, {d_ino=83717, d_name="diald"}) = 1
readdir(3, {d_ino=222427, d_name="umsdos_progs"}) = 1
readdir(3, {d_ino=84082, d_name="ldap"}) = 1
readdir(3, {d_ino=83700, d_name="smbfs"}) = 1
readdir(3, {d_ino=134858, d_name="IO-1.15"}) = 1
readdir(3, {d_ino=153090, d_name="pgp262"}) = 1
readdir(3, {d_ino=142868, d_name="netscape"}) = 1
readdir(3, {d_ino=83937, d_name="dhcpcd"}) = 1
readdir(3, {d_ino=83996, d_name="bind"}) = 1
readdir(3, {d_ino=83714, d_name="ssh"}) = 1
readdir(3, {d_ino=161253, d_name="SSLeay-0.6.6"}) = 1
readdir(3, {d_ino=138736, d_name="lilo-20"}) = 1
readdir(3, {d_ino=224433, d_name="apache_1.1.1"}) = 1
readdir(3, {d_ino=155142, d_name="libnet-1.05"}) = 1
readdir(3, {d_ino=128771, d_name="Data-Dumper-2.07"}) = 1
readdir(3, {d_ino=83736, d_name="SSLeay"}) = 1
readdir(3, {d_ino=98317, d_name="diald-0.16.5"}) = 1
readdir(3, {d_ino=171390, d_name="libwww-perl-5.07"}) = 1
readdir(3, {d_ino=83701, d_name="samba"}) = 1
readdir(3, {d_ino=83854, d_name="majordomo"}) = 1
readdir(3, {d_ino=175493, d_name="perl5.003"}) = 1
readdir(3, {d_ino=187814, d_name="pidentd-2.7.1"}) = 1
readdir(3, {d_ino=83734, d_name="dhcp"}) = 1
readdir(3, {d_ino=177483, d_name="tcp_wrappers_7.6"}) = 1
readdir(3, {d_ino=102034, d_name="dmweb18d_linux_tar.Z"}) = 1
readdir(3, {d_ino=83721, d_name="imp"}) = 1
readdir(3, {d_ino=157364, d_name="majordomo-1.94.1"}) = 1
readdir(3, {d_ino=83720, d_name="ncpfs"}) = 1
readdir(3, {d_ino=92125, d_name="ipxripd-0.7"}) = 1
readdir(3, {d_ino=191813, d_name="ncpfs-2.0.11"}) = 1
readdir(3, {d_ino=210384, d_name="dhcp-2.0b1pl6"}) = 1
readdir(3, {d_ino=189721, d_name="mars_nwe-0.99.pl2"}) = 1
readdir(3, {d_ino=230522, d_name="dhcpcd-0.65"}) = 1
readdir(3, {d_ino=83739, d_name="libdes-4.01"}) = 1
readdir(3, {d_ino=83829, d_name="libdes"}) = 1
readdir(3, {d_ino=83998, d_name="lilo"}) = 1
readdir(3, {d_ino=159155, d_name="pine4.02"}) = 1
readdir(3, {d_ino=83724, d_name="ppa"}) = 1
readdir(3, {d_ino=83938, d_name="LPRng"}) = 1
readdir(3, {d_ino=69731, d_name="rdate"}) = 1
readdir(3, {d_ino=196255, d_name="lynx2-8"}) = 1
readdir(3, {d_ino=153029, d_name="dmisp"}) = 1
readdir(3, {d_ino=132812, d_name="tk4.1"}) = 1
readdir(3, {d_ino=128747, d_name="smbfs-2.0.1"}) = 1
readdir(3, {d_ino=132631, d_name="tcl7.5"}) = 1
readdir(3, {d_ino=83763, d_name="cyrus-imapd"}) = 1
readdir(3, {d_ino=83944, d_name="imap"}) = 1
readdir(3, {d_ino=63363, d_name="pppsetup-1.57"}) = 1
readdir(3, {d_ino=102247, d_name="imap-utils.tar.Z"}) = 1
readdir(3, {d_ino=10348, d_name="ssh-1.2.26"}) = 1
readdir(3, {d_ino=138795, d_name="tcpdump-3.3"}) = 1
readdir(3, {d_ino=83716, d_name="wu-ftpd"}) = 1
readdir(3, {d_ino=83946, d_name="argus"}) = 1
readdir(3, {d_ino=212432, d_name="ppa_1_39"}) = 1
readdir(3, {d_ino=232693, d_name="slang"}) = 1
readdir(3, {d_ino=77618, d_name="ppa_1_40"}) = 1
readdir(3, {d_ino=83945, d_name="lynx"}) = 1
readdir(3, {d_ino=136687, d_name="LPRng-3.4.1"}) = 1
readdir(3, {d_ino=95883, d_name="openldap-1.0.3"}) = 1
lstat("../openldap-1.0.3", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3)                                = 0
lstat("../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("../..", O_RDONLY)                 = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readdir(3, {d_ino=26521, d_name="."})   = 1
readdir(3, {d_ino=20401, d_name=".."})  = 1
readdir(3, {d_ino=28561, d_name="bin"}) = 1
readdir(3, {d_ino=30601, d_name="etc"}) = 1
readdir(3, {d_ino=32641, d_name="games"}) = 1
readdir(3, {d_ino=34681, d_name="lib"}) = 1
readdir(3, {d_ino=36721, d_name="info"}) = 1
readdir(3, {d_ino=38761, d_name="man"}) = 1
readdir(3, {d_ino=81601, d_name="sbin"}) = 1
readdir(3, {d_ino=83641, d_name="src"}) = 1
lstat("../../src", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
close(3)                                = 0
lstat("../../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("../../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("../../..", O_RDONLY)              = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readdir(3, {d_ino=20401, d_name="."})   = 1
readdir(3, {d_ino=2, d_name=".."})      = 1
readdir(3, {d_ino=22441, d_name="bin"}) = 1
readdir(3, {d_ino=24481, d_name="lib"}) = 1
readdir(3, {d_ino=26521, d_name="local"}) = 1
lstat("../../../local", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3)                                = 0
lstat("../../../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("../../../..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("../../../..", O_RDONLY)           = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readdir(3, {d_ino=2, d_name="."})       = 1
readdir(3, {d_ino=2, d_name=".."})      = 1
readdir(3, {d_ino=11, d_name="lost+found"}) = 1
readdir(3, {d_ino=2041, d_name="msdos"}) = 1
readdir(3, {d_ino=4081, d_name="dev"})  = 1
readdir(3, {d_ino=6121, d_name="tmp"})  = 1
readdir(3, {d_ino=8161, d_name="var"})  = 1
readdir(3, {d_ino=20401, d_name="usr"}) = 1
lstat("../../../../usr", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
close(3)                                = 0
brk(0x1f000)                            = 0x1f000
brk(0x20000)                            = 0x20000
brk(0x21000)                            = 0x21000
brk(0x22000)                            = 0x22000
brk(0x23000)                            = 0x23000
stat("/etc/locale/C/libc.cat", 0xbfffe220) = -1 ENOENT (No such file or directory)
stat("/usr/lib/locale/C/libc.cat", 0xbfffe220) = -1 ENOENT (No such file or directory)
stat("/usr/lib/locale/libc/C/usr/share/locale/C/libc.cat", 0xbfffe220) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/locale/C/libc.cat", 0xbfffe220) = -1 ENOENT (No such file or directory)
brk(0x24000)                            = 0x24000
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
stat("/usr/gnu/include", 0xbfffeb68)    = -1 ENOENT (No such file or directory)
stat("/usr/local/include", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("/usr/include", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
sigaction(SIGCHLD, {0xd48, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
sigaction(SIGCHLD, {0xd48, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {0xd48, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}) = 0
brk(0x25000)                            = 0x25000
stat(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open(".", O_RDONLY)                     = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readdir(3, {d_ino=95883, d_name="."})   = 1
readdir(3, {d_ino=83641, d_name=".."})  = 1
readdir(3, {d_ino=95884, d_name="doc"}) = 1
readdir(3, {d_ino=96093, d_name="ANNOUNCEMENT"}) = 1
readdir(3, {d_ino=96094, d_name="CHANGES"}) = 1
readdir(3, {d_ino=96095, d_name="COPYRIGHT"}) = 1
readdir(3, {d_ino=96096, d_name="INSTALL"}) = 1
readdir(3, {d_ino=96097, d_name="LICENSE"}) = 1
readdir(3, {d_ino=96108, d_name="Make-common.dist"}) = 1
readdir(3, {d_ino=96109, d_name="Make-common.gmake"}) = 1
readdir(3, {d_ino=96110, d_name="Makefile"}) = 1
readdir(3, {d_ino=96111, d_name="README"}) = 1
readdir(3, {d_ino=96112, d_name="build"}) = 1
readdir(3, {d_ino=214550, d_name="clients"}) = 1
readdir(3, {d_ino=59188, d_name="contrib"}) = 1
readdir(3, {d_ino=59196, d_name="include"}) = 1
readdir(3, {d_ino=79786, d_name="libraries"}) = 1
readdir(3, {d_ino=73530, d_name="servers"}) = 1
readdir(3, {d_ino=136738, d_name="tests"}) = 1
readdir(3, {d_ino=96297, d_name="Make-common"}) = 1
readdir(3, {d_ino=96298, d_name=".make-platform"}) = 1
readdir(3, {d_ino=96315, d_name=".makefiles"}) = 1
readdir(3, {d_ino=96316, d_name="strace.txt"}) = 1
readdir(3, 0x1de00)                     = 0
close(3)                                = 0
open("Makefile", O_RDONLY)              = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=11835, ...}) = 0
brk(0x26000)                            = 0x26000
read(3, "# You will usually NOT need to e"..., 4096) = 4096
brk(0x27000)                            = 0x27000
read(3, "moving Makefiles...\"; \\\n\t   "..., 4096) = 4096
brk(0x28000)                            = 0x28000
brk(0x29000)                            = 0x29000
read(3, "\t    FreeBSD) \\\n\t\tMAJRELEAS"..., 4096) = 3643
brk(0x2a000)                            = 0x2a000
brk(0x2b000)                            = 0x2b000
read(3, "", 4096)                       = 0
close(3)                                = 0
stat("RCS", 0xbfffeb18)                 = -1 ENOENT (No such file or directory)
stat("SCCS", 0xbfffeb18)                = -1 ENOENT (No such file or directory)
stat("Makefile", {st_mode=S_IFREG|0644, st_size=11835, ...}) = 0
stat("all", 0xbfffeaf4)                 = -1 ENOENT (No such file or directory)
stat("makeconfig", 0xbfffea9c)          = -1 ENOENT (No such file or directory)
stat(".makefiles", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
stat("Make-common", {st_mode=S_IFREG|0644, st_size=11792, ...}) = 0
stat("Make-common.dist", {st_mode=S_IFREG|0644, st_size=11149, ...}) = 0
stat(".make-platform", {st_mode=S_IFREG|0644, st_size=480, ...}) = 0
stat("build/Make-append", {st_mode=S_IFREG|0644, st_size=3242, ...}) = 0
stat("build", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
stat("build", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("build", O_RDONLY)                 = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
readdir(3, {d_ino=96112, d_name="."})   = 1
readdir(3, {d_ino=95883, d_name=".."})  = 1
readdir(3, {d_ino=96123, d_name="Make-append"}) = 1
readdir(3, {d_ino=96124, d_name="Make-template"}) = 1
readdir(3, {d_ino=96125, d_name="PORTS"}) = 1
readdir(3, {d_ino=96126, d_name="README-unproto"}) = 1
readdir(3, {d_ino=96127, d_name="db.1.85.patch"}) = 1
readdir(3, {d_ino=96128, d_name="install.sh"}) = 1
readdir(3, {d_ino=96129, d_name="mkdep"}) = 1
readdir(3, {d_ino=96130, d_name="uname.sh"}) = 1
readdir(3, {d_ino=96131, d_name="version"}) = 1
readdir(3, {d_ino=96132, d_name="platforms"}) = 1
readdir(3, {d_ino=222447, d_name="unproto"}) = 1
readdir(3, {d_ino=96313, d_name="Makefile"}) = 1
readdir(3, 0x1d200)                     = 0
close(3)                                = 0
stat("build/RCS", 0xbfffe500)           = -1 ENOENT (No such file or directory)
stat("build/SCCS", 0xbfffe500)          = -1 ENOENT (No such file or directory)
brk(0x2c000)                            = 0x2c000
stat("buildtools", 0xbfffea18)          = -1 ENOENT (No such file or directory)
stat("FORCE", 0xbfffe994)               = -1 ENOENT (No such file or directory)
pipe([3, 4])                            = 0
close(4)                                = 0
brk(0x2d000)                            = 0x2d000
sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL) = 0
fork()                                  = 12505
sigprocmask(SIG_SETMASK, [], NULL)      = 0
wait4(-1, making buildtools
[WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 12505
--- SIGCHLD (Child exited) ---
sigreturn()                             = ? (mask now [])
brk(0x2e000)                            = 0x2e000
sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL) = 0
fork()                                  = 12506
wait4(-1,   cd build; make 
[WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 12506
--- SIGCHLD (Child exited) ---
sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL) = 0
fork()                                  = 12507
wait4(-1, make[1]: Entering directory `/usr/local/src/openldap-1.0.3/build'
make[1]: *** [all] Error 127
make[1]: Leaving directory `/usr/local/src/openldap-1.0.3/build'
[WIFEXITED(s) && WEXITSTATUS(s) == 2], 0, NULL) = 12507
--- SIGCHLD (Child exited) ---
write(2, "make: ", 6make: )                   = 6
write(2, "*** [buildtools] Error 2", 24*** [buildtools] Error 2) = 24
write(2, "\n", 1
)                       = 1
chdir("/usr/local/src/openldap-1.0.3")  = 0
_exit(2)                                = ?