Problems installing (cvs) on FC4 (x86_64)

Hi.

Let me start by saying that I really appreciate the fact that Zimbra is FOSS. I also know that it is just the beginning, and that as such it suffers from many compatibility issues.

I am trying to build and install from the CVS version. I am using FC4, on a x86_64 machine. I have encountered some problems while building ThirdParty tools - but I resolved them (I can send the diffs if needed): they mostly invlove adding "-fPIC" to the Native compilation. Once I am done, I will post my experience.

Also, the CVS head is not very stable, and doesn't always compile. Can you please make sure that at least the CVS HEAD branch compiles? I was forced many times to mix-and-match files from vaious dates, just to make the server/client compile ;-)

I use the following guidelines:
* "http://www.zimbra.com/blog/archives/2005/08/developing_with.html"
* ZimbraServer/docs/build_cvs_howto.txt

Currently, I have reached the stage where I need to run /opt/zimbra/libexec/zmldapinit. It fails, because of an authentication?? file.
++++++
TLS: could not load verify locations (file:`/opt/zimbra/conf/ca/ca.pem',dir:`').
++++++

What is this ca.pem file? The "conf/ca" directory is empty in my case - where should have it been initialized?

Thanks.

These are the last lines of running the init script in verbose mode (+slapd in verbose):
=================================================

2 options

You can do one of two things here - create certs for ldap to use (zmcreateca, zmcreatecert, zmcertinstall mailbox)

OR

edit /opt/zimbra/bin/ldap, and remove the "ldaps://" specifier, and the last four lines of /opt/zimbra/conf/slapd.conf (start with TLS). (You may need to make that change in /opt/zimbra/openldap/etc/openldap/slapd.conf)

Hi Marc, thanks for the fast reply. It helped me make some progress, but not enough. Btw, I saw that last time I mistakenly used the GNU java, not JDK from SUN. I found out when the "zmcreatecert" gave me keytool errors - of course, this is a JDK extension, not in the GNU Java.

I tried both ways. Slapd hangs on startup, and I still get errors on the zimbra.schema:
========================
daemon_init: ldap://:389/
/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema: line 2832: bad config line (ignored)
bdb_db_init: Initializing BDB database
bdb_db_open:
slapd starting
========================
... and then it hangs forever.

Still no luck

Sorry for the delay, I am on GMT+2.

I removed the "loglevel 0" - but it did not make a difference. So I sudo'd myself to run strace, and here are the last lines of the command:
*******
sudo strace /opt/zimbra/openldap/libexec/slapd -l LOCAL0 -4 -u `whoami` -h "ldap://:389/" -f /opt/zimbra/conf/slapd.conf -d 10
*******