It seems like horde-turba 2.1 has a missing dependency on Net_LDAP PHP module. Here is the error I get: Aug 8 09:35:50 ftp php-cgi: PHP Warning: Turba_Driver_ldap::require_once(Net/LDAP.php) [<a href='function.Turba-Driver-ldap-require-once '>function.Turba-Driver-ldap-require-once</a>]: failed to open stream: No such file or directory in /usr/share/webapps/horde-turba/2.1/htd ocs/lib/Driver/ldap.php on line 673 Aug 8 09:35:50 ftp php-cgi: PHP Fatal error: Turba_Driver_ldap::require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Net/LDAP.php' (include_path='/usr/share/webapps/horde/3.1.1-r1/htdocs/lib:.:/usr/share/php5:/usr/share/php') in /usr/sh are/webapps/horde-turba/2.1/htdocs/lib/Driver/ldap.php on line 673 Unfortunately Net_LDAP is not in portage.. Any chance of getting this fixed ? emerge --info: Portage 2.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r10 i686) ================================================================= System uname: 2.6.16-hardened-r10 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="accessibility acpi adns apm bash-completion berkdb bidi bindist bzip2 clamav crypt cscope ctype cups curl curlwrappers dio dlloader exif fastcgi flatfile foomaticdb ftp gd gdbm gif gnutls gpm graphviz hardened hardenedphp iconv idn imagemagick imap javascript jbig jpeg jpeg2k lcms libcaca libwww maildir mbox memlimit mime mmap mmx mng mpi multilib ncurses nls nocd nptl pam pcntl pcre pdf perl php pic png posix ppds readline session sharedmem slang sockets spell sqlite3 sse ssl sysvipc szip tcpd test threads tidy tiff truetype unicode usb userlocales x86 xml xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_dummy" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Looks like disabling all check_required* and check_syntax in sources.php works around the problem. If those checks are enabled Net_LDAP module is required to perform sanity checks on attributes..
Created attachment 94224 [details] Net_LDAP sample ebuild Proposed ebuild for PEAR-Net_LDAP (might require some changes)
I have emerged PEAR-Net_LDAP using provided ebuild on x86 platform and looks like it works (required fields were automatically provided by Horde if they were missing). I think adding 'ldap' use flag to horde-turba would be nice..
no, this is not my problem until PEAR-Net_LDAP is in portage
not ours either
Sorry, missing dependencies in existing ebuilds not maintained by PHP are not a PHP issue. Either add the ebuild and the needed dependency or fix horde-turba to not require it.
First PEAR-Net_LDAP needs to find its way into portage (Comment #4). Working ebuild is provided. If you, for whatever reason, do not want to do that please close this bug (actually request) - I already lost any hope sometime during those 9 moths of waiting..
Jakub: seriously, stop trying to "help"
(In reply to comment #8) > Jakub: seriously, stop trying to "help" As said above; this is none of PHP herd business; kindly fix horde stuff. We won't do it.
which part of "go away" dont you understand ? was it the "go" or the "away" or the part where you're not wanted ? since you obviously dont have a clue as to what's going on here, why not try all three
vapier - in the tree, all yours now ;)
ive added the optional depend: http://sources.gentoo.org/www-apps/horde-turba/horde-turba-2.1.5.ebuild?r1=1.1&r2=1.2