checking whether to build LDAP configuration backend... yes checking which LDAP SDK to use... OpenLDAP checking ldap.h usability... no checking ldap.h presence... no checking for ldap.h... no configure: error: ldap.h not found. install openldap libs make: *** [stamp/build] Error 1 !!! ERROR: app-office/openoffice-2.0.1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! Build failed !!! If you need support, post the topmost build error, and the call stack if rel evant.
Could you please provide some more information, for example which other use-flags you are trying to build this with, and the output of your "emerge info".
Sure, I'm sorry. Portage 2.1_pre4 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts cdr clamav curl dvd dvdr eds emboss encode foomaticdb fortran freetype gd gif gpm gstreamer gtk gtk2 hal imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg mysql ncurses nls nvidia opengl pam pdflib perl php png python qt quicktime readline ruby sdl sockets spell sqlite ssl symlink tcpd tiff truetype truetype-fonts type1-fonts usb userlocales win32codacs xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS It's now failing at another point: checking for ldap_simple_bind_s in -lldap... yes checking for ldap_set_option in -lldap... yes checking which mozilla to use... external checking whether to use Mozilla or Firefox... Mozilla checking for mozilla-xpcom ... Package mozilla-xpcom was not found in the pkg-config search path. Perhaps you should add the directory containing `mozilla-xpcom.pc' to the PKG_CONFIG_PATH environment variable No package 'mozilla-xpcom' found configure: error: Library requirements (mozilla-xpcom ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make: *** [stamp/build] Error 1 !!! ERROR: app-office/openoffice-2.0.1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Aaaaaaaaaaaaargh, there is a reason why openoffice is not keyworded for AMD64, which is: It won't work.