Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-26-2007, 05:57 PM
Member
 
Posts: 12
Default Xen Debian Etch libgmp3...MISSING libxml2...MISSING

I tried to do the Debian Etch install on a Xen DomU and have found that the prerequisite check fails on:

libgmp3...MISSING
libxml2...MISSING

but apt-get install libgmp3 gives:

Package libgmp3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libgmpxx4 libgmp3c2 libgmp3-doc

so I installed libgmp3c2, but Zimbra doesn't like that. I didn't find an installation candidate for libxml2 through apt-get. Is there a file I can edit so it will build with the updated tool(s)? I don't really want to uninstall the latest lib to install the older one and then screw up some other package.

This is a clean system freshly built with a minimum install.

Thanks,
Cameron
San Diego
Reply With Quote
  #2 (permalink)  
Old 07-26-2007, 06:22 PM
OpenSource Builder & Moderator
 
Posts: 1,158
Default

read the debian etch sticky thread at top of forum
Reply With Quote
  #3 (permalink)  
Old 07-26-2007, 07:20 PM
Member
 
Posts: 12
Default

I cut/pasted the apt-get install command from that sticky, but that thread doesn't address my problem. I'm trying to install zcs-4.5.6_GA_1044.DEBIAN3.1.tgz and it fails prerequisites of libgmp3 and libxml2.
Reply With Quote
  #4 (permalink)  
Old 07-26-2007, 09:02 PM
Advanced Member
 
Posts: 184
Default

Quote:
Originally Posted by unclecameron View Post
I cut/pasted the apt-get install command from that sticky, but that thread doesn't address my problem. I'm trying to install zcs-4.5.6_GA_1044.DEBIAN3.1.tgz and it fails prerequisites of libgmp3 and libxml2.
afaik, you have to install those libraries since Zimbra installation is dependent on those libraries.

as a root, apt-get install libgmp3 libxml2.

that should do it.
Reply With Quote
  #5 (permalink)  
Old 07-27-2007, 07:09 AM
OpenSource Builder & Moderator
 
Posts: 1,158
Default

the libraries aren't the problem, it's the install script. you have to change your OS identifier or the install script, read that thread!
Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 02:42 AM
Loyal Member
 
Posts: 91
Default

Quote:
Originally Posted by dijichi2 View Post
the libraries aren't the problem, it's the install script. you have to change your OS identifier or the install script, read that thread!
I using Ubuntu 8.04.1 Desktop 386 to install Zimbra
I change the script in the /util/utilfunc.sh

Code:
getPlatformVars() {
  PLATFORM=`bin/get_plat_tag.sh`
  echo $PLATFORM
  if [ $PLATFORM = "DEBIAN3.1" -o $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" -o $PLATFORM = "UBUNTU6_64" -o $PLATFORM = "UBUNTU7_64" -o $PLATFORM = "DEBIAN4.0" -o $PLATFORM = "DEBIAN4.0_64" -o $PLATFORM = "UBUNTUUNKNOWN" -o $PLATFORM = "DEBIANUNKNOWN" ]; then
    checkUbuntuRelease
    PACKAGEINST='dpkg -i'
    PACKAGERM='dpkg --purge'
    PACKAGEQUERY='dpkg -s'
    PACKAGEEXT='deb'
    PACKAGEVERSION="dpkg-query -W -f \${Version}"
    PREREQ_PACKAGES="sudo libidn11 fetchmail libgmp3c2 libxml2 libstdc++6 openssl libltdl3"
    if [ $PLATFORM = "UBUNTU6" -o $PLATFORM = "UBUNTU7" ]; then
      PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 libstdc++5 openssl libltdl3"
      PRESUG_PACKAGES="perl-5.8.7"
    fi
    if [ $PLATFORM = "UBUNTU6_64" -o $PLATFORM = "UBUNTU7_64" ]; then
      PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 libstdc++5 openssl libltdl3 libperl5.8"
      PRESUG_PACKAGES="perl-5.8.7"
    fi
    if [ $PLATFORM = "DEBIAN4.0" -o $PLATFORM = "DEBIAN4.0_64" ]; then
      PREREQ_PACKAGES="sudo libidn11 fetchmail libpcre3 libgmp3c2 libexpat1 libxml2 libstdc++6 openssl libltdl3"
      PRESUG_PACKAGES="perl-5.8.8"
    fi
  elif echo $PLATFORM | grep RPL > /dev/null 2>&1; then
.....
But the install by pass the missing package warning but not the installation.....

The warning message as below:
Code:
Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.9p10-1ubuntu3.2
    libidn11...FOUND libidn11-1.1-1
    fetchmail...FOUND fetchmail-6.3.8-10ubuntu1
    libgmp3c2...FOUND libgmp3c2-2:4.2.2+dfsg-1ubuntu2
    libxml2...FOUND libxml2-2.6.31.dfsg-2ubuntu1
    libstdc++6...FOUND libstdc++6-4.2.3-2ubuntu7
    openssl...FOUND openssl-0.9.8g-4ubuntu3.3
    libltdl3...FOUND libltdl3-1.5.26-1ubuntu1
Prerequisite check complete.
Checking for standard system perl...

Checking for installable packages

Found zimbra-core
Error: attempting to install i386 packages on a unknown OS.
Exiting...
In my investigation when I run
henry@henry-desktop:~/Zimbra/zcs-5.0.8_GA_2462.UBUNTU6.20080709173036/bin$ ./get_plat_tag.sh
UBUNTUUNKNOWN

What happen? Why UNKNOWN?

Thank you
Reply With Quote
  #7 (permalink)  
Old 07-29-2008, 01:37 PM
Active Member
 
Posts: 49
Default

You need to find: (in get_plat_tag)

Quote:
grep "DISTRIB_RELEASE=6" /etc/lsb-release > /dev/null 2>&1
if [ $? = 0 ]; then
echo "6${i}"
exit 0
else
You can then change it to:

Quote:
grep "DISTRIB_RELEASE=8" /etc/lsb-release > /dev/null 2>&1
if [ $? = 0 ]; then
echo "6${i}"
exit 0
else
And hopefully that should work.


If you get a message like this:

Quote:
You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is UBUNTU6
Packages found: UBUNTU7
You would need to change:
"DISTRIB_RELEASE=7" to "DISTRIB_RELEASE=8"
I'm not sure if you'd ever need that, I don't know much about different installs.

Last edited by Mccreations : 07-29-2008 at 02:15 PM.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0