Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-17-2008, 04:26 AM
phanthanhtuanagu phanthanhtuanagu is offline
Member
 
Join Date: Jan 2008
Posts: 10
phanthanhtuanagu is on a distinguished road
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
phanthanhtuanagu phanthanhtuanagu is offline
Member
 
Join Date: Jan 2008
Posts: 10
phanthanhtuanagu is on a distinguished road
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
phanthanhtuanagu phanthanhtuanagu is offline
Member
 
Join Date: Jan 2008
Posts: 10
phanthanhtuanagu is on a distinguished road
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
dijichi2 dijichi2 is offline
OpenSource Buildmaster
 
Join Date: Nov 2005
Posts: 994
dijichi2 is on a distinguished road
Default

Use a more recent source code.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Installation] Zimbra Desktop - Ubuntu 8.04 Hardy kaltera Installation Help 1 06-18-2008 04:43 AM
Postfix problem jimbo Administrators 46 07-23-2007 05:24 AM
3.0 to 4.5.3 Upgrade failed (mysql error) dealt Installation 35 03-19-2007 10:30 PM
M3 problem with shares titangears Users 4 01-12-2006 12:01 PM
Zimbra fails after working for 2 weeks Linsys Administrators 9 10-20-2005 01:26 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0