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 Display Modes
  #1 (permalink)  
Old 12-09-2005, 11:41 AM
Loyal Member
 
Posts: 95
Default Latest CVS version build trouble

I checkouted the latest Zimbra code from CVS and tried to build them on a RHEL4 but no luck. The error is below. Please advise.

Quote:
compile:
[javac] Compiling 353 source files to /home/graffiti/zimbra/ZimbraServer/build/classes
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMLeftChatEvent.java:28: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMLeftChatEvent)
[javac] mbox.postIMNotification(this);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:167: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMPersona.SubscribedNoti fication)
[javac] mMbox.postIMNotification(new SubscribedNotification(address, name, groups, false));
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:169: cannot find symbol
[javac] symbol : method flushIMPersona(com.zimbra.cs.mailbox.Mailbox.Opera tionContext,com.zimbra.cs.mailbox.im.IMPersona)
[javac] location: class com.zimbra.cs.mailbox.Mailbox
[javac] mMbox.flushIMPersona(octxt, this);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:179: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMPersona.SubscribedNoti fication)
[javac] mMbox.postIMNotification(new SubscribedNotification(address, name, groups, true));
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:185: cannot find symbol
[javac] symbol : method flushIMPersona(com.zimbra.cs.mailbox.Mailbox.Opera tionContext,com.zimbra.cs.mailbox.im.IMPersona)
[javac] location: class com.zimbra.cs.mailbox.Mailbox
[javac] mMbox.flushIMPersona(octxt, this);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:226: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMPresenceUpdateEvent)
[javac] mMbox.postIMNotification(event);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPersona.java:293: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMSendMessageEvent.IMMes sageNotification)
[javac] mMbox.postIMNotification(event.getNotification(seq No));
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMPresenceUpdateEvent.java:29: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMPresenceUpdateEvent)
[javac] mbox.postIMNotification(this);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMProbeEvent.java:46: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMProbeEvent)
[javac] mbox.postIMNotification(this);
[javac] ^
[javac] /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/mailbox/im/IMSendMessageEvent.java:61: postIMNotification(com.zimbra.cs.im.IMNotification ) in com.zimbra.cs.mailbox.Mailbox cannot be applied to (com.zimbra.cs.mailbox.im.IMSendMessageEvent.IMMes sageNotification)
[javac] mbox.postIMNotification(getNotification(seqNo));
[javac] ^
[javac] Note: /home/graffiti/zimbra/ZimbraServer/src/java/com/zimbra/cs/service/FeedManager.java uses or overrides 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] 10 errors

BUILD FAILED
/home/graffiti/zimbra/ZimbraServer/build.xml:249: Compile failed; see the compiler error output for details.
TIA,

-g

PS: could you please do me a favor to provide CVS source the same as M1? I mean CVS source with all the thirdparties bundled already.
Reply With Quote
  #2 (permalink)  
Old 12-09-2005, 12:05 PM
Zimbra Employee
 
Posts: 4,784
Default

I just looked at my CVS and your right there seems to be some files that are out of date. I think the sync process may have died. I'll check and we will get it back online. In general we don't plan to put all the 3rd party source in our CVS. The idea of CVS is for those who want to hack the source. In almost all cases they'll also have the ability to build our 3rd party code on their own. We may in the future provide a tar ball or the 3rd party binaires but if you just want the binaries you can get those from a binary download.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 12-09-2005, 05:59 PM
Zimbra Employee
 
Posts: 2,073
Default ahh, reboot

Forgot to restart after a reboot - it's running now, sorry for the delay - I'll add some monitoring to that thing on Monday.
Reply With Quote
  #4 (permalink)  
Old 12-09-2005, 09:41 PM
Loyal Member
 
Posts: 95
Default

Quote:
Originally Posted by marcmac
Forgot to restart after a reboot - it's running now, sorry for the delay - I'll add some monitoring to that thing on Monday.
I did a cvs update (and even a fresh checkout later) but still no luck, it output the same error as the last time. Please help.

-g
Reply With Quote
  #5 (permalink)  
Old 12-10-2005, 12:18 AM
Zimbra Employee
 
Posts: 93
Default A problem with our CVS replication

It looks like there's a problem with our CVS replication scripts --- i moved a bunch of files from zimbra.cs.mailbox.im ---> zimbra.cs.im ...unfortunately when the updated tree got propogated over into CVS it looks like it added the new ones but didn't delete the old ones.

So you've got a bunch of old, out of date files that don't build because things they depend on have changed.

We'll fix our CVS distribution ASAP, in the short term you should be able to just rm -rf main/ZimbraServer/src/java/com/zimbra/cs/mailbox/im and things should build for you.
Reply With Quote
  #6 (permalink)  
Old 12-10-2005, 10:13 AM
Zimbra Employee
 
Posts: 2,073
Default bug fixed

This was an error that showed up when all files in a directory were deleted at once - I've got it fixed, so this shouldn't happen again. (Next time, it'll be a completely different problem )
Reply With Quote
  #7 (permalink)  
Old 12-19-2005, 06:35 PM
Senior Member
 
Posts: 74
Default How to check CVS version?

A lot of failure on building from source.

Could you guys give me a quick help as how to get into CVS repository of Zimbra so I can look for the missing files?

Thanks.

Jian
Reply With Quote
  #8 (permalink)  
Old 12-19-2005, 06:41 PM
Zimbra Employee
 
Posts: 2,073
Default cvs

I'm not sure what you mean - the cvs repository information is available here:
http://www.zimbra.com/forums/showthr...=4096#poststop

If you're looking for build information, read the cvs_build_howto.txt that's in the repository, and search the forums for information.
Reply With Quote
  #9 (permalink)  
Old 12-19-2005, 06:57 PM
Loyal Member
 
Posts: 95
Default

FYI, I have successfully built zimbra from CVS version...with a lot of pains. The most difficult part is to build ThirdParty packages, esp.Perl/perllib.tgz which took me days to build. I think the best choice is to grab them from Zimbra Developer Build.

-g

PS: Is Zimbra Developer Build built from public CVS?
Reply With Quote
  #10 (permalink)  
Old 12-19-2005, 07:14 PM
Zimbra Employee
 
Posts: 4,784
Default

Quote:
Originally Posted by graffiti
PS: Is Zimbra Developer Build built from public CVS?
Not directly. The external CVS is a read-only copy. We build off our internal source copy. And as you know there are some third party code we don't put in the external copy since it's too big. We don't want to host/source binaries for all our dependancies. We host the full builds so folks can get running quick. We will try to make building from CVS easier as some of you have hit problems. If you can describe the changes you needed to make then we can try to roll those in.
__________________
Bugzilla - Wiki - Downloads - Offline Client
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