Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577456 - mail-client/roundcube-1.1.4 with LDAP address book does not work - PHP Fatal error: Class 'Net_LDAP3' not found
Summary: mail-client/roundcube-1.1.4 with LDAP address book does not work - PHP Fatal ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL: https://bugs.debian.org/cgi-bin/bugre...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 08:57 UTC by Tomáš Mózes
Modified: 2016-07-28 13:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2016-03-15 08:57:27 UTC
Version 1.1.4 with LDAP address book fails to lookup addresses, because the library is not installed - it needs to be pulled from composer or we need to download the "Complete" version of roundcube (now we use the Dependent version).

From INSTALLATION in the Dependant version:
2. Install dependencies using composer:
   - get composer from https://getcomposer.org/download/
   - rename the composer.json-dist file into composer.json
   - if you want to use LDAP address books, enable the LDAP libraries in your
     composer.json file by moving the items from "suggest" to the "require"
     section (remove the explanation texts after the version!).
   - run `php composer.phar install --no-dev`
   
If we do not bundle the complete version, we should at least warn the users.
Comment 1 Sergey Popov gentoo-dev 2016-07-28 13:54:09 UTC
commit dfe1b910ab6da80424c6ee8d4babcc17c1d947f4
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Thu Jul 28 16:51:10 2016 +0300

    mail-client/roundcube: fix dependency on LDAP plugin

    Current in-tree versions of mail-client/roundcube use
    dev-php/PEAR-Net_LDAP3 for LDAP addressbook

    Reported-by: Tomáš Mózes <hydrapolic@gmail.com>
    Gentoo-Bug: 577456

    Package-Manager: portage-2.2.28