Results 1 to 4 of 4

Thread: Build source code zcs 4.5.7 in Ubuntu error

  1. #1
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Unhappy Build source code zcs 4.5.7 in Ubuntu error

    Ha,
    when i press "$ make dev-install" and i see error:

    *** Installing mysql
    (cd /opt/zimbra; tar xzf /thanhtuan/source_code/source_4.5.7/ZimbraBuild/../ThirdParty/mysql/UBUNTU6/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23.tar.gz
    tar: /thanhtuan/source_code/source_4.5.7/ZimbraBuild/../ThirdParty/mysql/UBUNTU6/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    make: *** [/opt/zimbra/mysql-standard-5.0.45-pc-linux-gnu-i686-glibc23] Error 2
    ---------------------

    can anybody help me,
    Thanks.

  2. #2
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default and Building binary release from source code error too

    when i press :
    $make allclean
    $make

    and i see error:
    mkdir -p /thanhtuan/source_code/source_4.5.7/ZimbraBuild/i386
    mkdir -p /thanhtuan/source_code/source_4.5.7/ZimbraBuild/corebuild/opt/zimbra
    cp /thanhtuan/source_code/source_4.5.7/ZimbraBuild/rpmconf/Env/zimbra.bashrc /thanhtuan/source_code/source_4.5.7/ZimbraBuild/corebuild/opt/zimbra/.bashrc
    cp /thanhtuan/source_code/source_4.5.7/ZimbraBuild/rpmconf/Env/zimbra.bash_profile /thanhtuan/source_code/source_4.5.7/ZimbraBuild/corebuild/opt/zimbra/.bash_profile
    cp /thanhtuan/source_code/source_4.5.7/ZimbraBuild/rpmconf/Env/zimbra.exrc /thanhtuan/source_code/source_4.5.7/ZimbraBuild/corebuild/opt/zimbra/.exrc
    mkdir -p /thanhtuan/source_code/source_4.5.7/ZimbraBuild/storebuild/opt/zimbra/apache-tomcat-5.5.15/webapps
    (cd /thanhtuan/source_code/source_4.5.7/ZimbraBuild/../ZimbraServer; /usr/local/ant/bin/ant \
    -Dplat.tag=UBUNTU6 \
    -Dis-production=1 \
    -Dzimbra.buildinfo.version=4.5.7_GA_1319.UBUNTU6 \
    -Dzimbra.buildinfo.release=20080517073235 -Dzimbra.buildinfo.date=20080517073235 \
    -Dzimbra.buildinfo.host=mail.example.com dev-dist ; )
    Buildfile: build.xml

    build-init:
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/classes
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/generated/src/java
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/wiki
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/data
    Trying to override old definition of task deploy

    make-dirs:
    [echo] Creating dirs under /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/conf
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/openldap/etc/openldap/schema
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/bin
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/conf/msgs
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/db
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/lib/ext
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/lib/jars
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/libexec
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/tomcat/common/endorsed
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/tomcat/common/lib
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/tomcat/conf
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/tomcat/webapps
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraServer/build/dist/wiki

    compile:

    build-init:
    [mkdir] Created dir: /thanhtuan/source_code/source_4.5.7/ZimbraCommon/build/classes

    compile:
    [javac] Compiling 58 source files to /thanhtuan/source_code/source_4.5.7/ZimbraCommon/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

    jar:
    [jar] Building jar: /thanhtuan/source_code/source_4.5.7/ZimbraCommon/build/zimbracommon.jar

    build-init:

    compile:
    [javac] Compiling 369 source files to /thanhtuan/source_code/source_4.5.7/ZimbraIM/build/classes
    [javac] /thanhtuan/source_code/source_4.5.7/ZimbraIM/src/java/org/jivesoftware/database/AbstractConnection.java:36: org.jivesoftware.database.AbstractConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
    [javac] public class AbstractConnection implements Connection {
    [javac] ^
    [javac] /thanhtuan/source_code/source_4.5.7/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:644: org.jivesoftware.database.ProfiledConnection.Timed Statement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
    [javac] class TimedStatement extends StatementWrapper {
    [javac] ^
    [javac] /thanhtuan/source_code/source_4.5.7/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:732: org.jivesoftware.database.ProfiledConnection.Timed PreparedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
    [javac] class TimedPreparedStatement extends PreparedStatementWrapper {
    [javac] ^
    [javac] /thanhtuan/source_code/source_4.5.7/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:937: org.jivesoftware.database.ProfiledConnection.Timed CallableStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
    [javac] class TimedCallableStatement extends CallableStatementWrapper {
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 errors

    BUILD FAILED
    /thanhtuan/source_code/source_4.5.7/ZimbraServer/build.xml:271: The following error occurred while executing this line:
    /thanhtuan/source_code/source_4.5.7/ZimbraIM/build.xml:54: Compile failed; see the compiler error output for details.

    Total time: 10 seconds
    make: *** [/thanhtuan/source_code/source_4.5.7/ZimbraBuild/../ZimbraServer/build/dist/tomcat/webapps/service.war] Error 1

  3. #3
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default i don't see directory ThirdParty in zcs 4.5.7

    hi,
    i don't see directory ThirdParty in zcs 4.5.7, so i don't build source code zcs 4.5.7. where i can find it? Can you help me?
    thanks

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

    Default

    Use a more recent source code.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. [Installation] Zimbra Desktop - Ubuntu 8.04 Hardy
    By kaltera in forum Installation Help
    Replies: 1
    Last Post: 06-18-2008, 05:43 AM
  3. Postfix problem
    By jimbo in forum Administrators
    Replies: 46
    Last Post: 07-23-2007, 06:24 AM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 11:30 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

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