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

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 Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-17-2008, 04:26 AM
Member
 
Posts: 10
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.
Reply With Quote
  #2 (permalink)  
Old 05-17-2008, 04:33 AM
Member
 
Posts: 10
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
Reply With Quote
  #3 (permalink)  
Old 05-18-2008, 08:52 PM
Member
 
Posts: 10
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
Reply With Quote
  #4 (permalink)  
Old 05-19-2008, 08:46 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

Use a more recent source code.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.