Results 1 to 6 of 6

Thread: Gentoo and Third Party Software

  1. #1
    mathew is offline Intermediate Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    6

    Default Gentoo and Third Party Software

    I'd like to be able to run Zimbra on Gentoo, but one thing I don't understand is why Zimbra requires it's own build of many Third Party software packages.

    Is there a way to build Zimbra with the third-party packages that I have already installed?

    I've put some research into the availability of third party packages and they all appear to exist.
    Code:
    #############################################################################
    #
    # Build 3rd Party Products
    # http://varlogmessages.vroomvroom.org/documentation/ubuntu-port/ubuntu-build-instructions/ubuntu-build-thirdparty
    #
    # assumptioin: sleepycat = berkley db = sys-libs/db
    # masked: app-text/xml2 ~x86
    # it is possible that net-mail/mailgraph is required
    # www-servers/nginx triggered a file collision on
    #   /usr/lib/perl5/5.8.8/i686-linux/perllocal.pod
    # packages in portage
    emerge --pretend dev-libs/openssl sys-libs/db dev-db/mysql app-text/xml2 app-crypt/heimdal net-misc/curl dev-libs/cyrus-sasl net-nds/openldap app-text/aspell app-antivirus/clamav www-servers/apache dev-lang/php mail-mta/postfix mail-filter/dspam net-analyzer/rrdtool net-analyzer/net-snmp net-misc/memcached www-servers/nginx
    
    # packages in swegener overlay
    emerge --pretend --verbose app-portage/layman
    layman -a swegener
    emerge --pretend --verbose dev-util/google-perftools
    The output of emerge --pretend is:
    Code:
    [ebuild     U ] dev-libs/openssl-0.9.8g-r2 [0.9.8g]
    [ebuild   R   ] sys-libs/db-4.5.20_p2
    [ebuild     U ] app-antivirus/clamav-0.94 [0.93.3] USE="-test%"
    [ebuild   R   ] app-text/xml2-0.4
    [ebuild   R   ] app-text/aspell-0.60.5
    [ebuild   R   ] net-analyzer/rrdtool-1.2.27
    [ebuild   R   ] net-misc/memcached-1.2.5
    [ebuild     U ] net-nds/openldap-2.3.43 [2.3.39-r1]
    [ebuild   R   ] dev-db/mysql-5.0.60-r1
    [ebuild   R   ] net-analyzer/net-snmp-5.4.1.1
    [ebuild   R   ] www-servers/nginx-0.6.29
    [ebuild     U ] net-misc/curl-7.18.2 [7.15.1-r1] USE="-libssh2% -nss%"
    [ebuild   R   ] dev-libs/cyrus-sasl-2.1.22-r2
    [ebuild     U ] www-servers/apache-2.2.9-r1 [2.2.9]
    [ebuild     U ] mail-mta/postfix-2.5.5 [2.2.10] USE="-dovecot-sasl%"
    [ebuild   R   ] app-crypt/heimdal-0.7.2-r3
    [ebuild  N    ] mail-filter/dspam-3.8.0-r13  USE="clamav daemon ldap mysql syslog user-homedirs -debug -large-domain -postgres -sqlite -virtual-users"
    [ebuild   R   ] dev-lang/php-5.2.6-r6

  2. #2
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    1) it just does

    2) no

    3) irrelevent, I'm afraid.

    you MUST build the ThirdParty components. There are a few components you can get away with, mostly sytem libraries, but the vast majority of the software needs to be built.

  3. #3
    mathew is offline Intermediate Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    6

    Default

    But why do I need to have two copies of programs like apache, php & mysql installed?

  4. #4
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    because.

    zimbra needs its own components in /opt/zimbra - it has full control over them and they can only be used for zimbra.

  5. #5
    mathew is offline Intermediate Member
    Join Date
    Sep 2008
    Posts
    16
    Rep Power
    6

    Default

    So it appears that Zimbra is best installed on it's own server?

    For those interested this is a thread on gentoo forums that is also discussing the issue.

  6. #6
    Dirk's Avatar
    Dirk is offline Moderator
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    9

    Default

    The great thing about open source applications such as php, mysql, sendmail etc is that there is a great range of those apps. Many versions and variations of those apps to allow for a wide and wonderful range of configurations.

    The problem comes when you want to make application A talk to application B. Especially if application B comes in 57 flavours.

    So zimbra ships with it's own copies of those sub-apps. This is annoying to some, but it's done for a very simple reason: To Make It Work.

    Without this, Zimbra would work perfectly for the small population of people for whom dependancy resolution is a great way to spend a saturday night; but the the rest of the system admins, for whom a great day is one where he's not being lynched by the users because the email is offline for the tenth time that day, packaged versions = teh winzor.

    Bundling the dependancies ensures everything works on a virgin server, but causes problems on a server with lots installed. The solution then, is install Zimbra on it's own server (virtualised is fine) using a supported distribution and then enjoy the benefits of a maintained source tree and a reliable email solution.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •