Hmm. Seems debian's version of ant (well, debians version of anything to do with java) is terminally broken. downloaded vanilla version 1.6.5 from apache and all hunky dory there.

next problem: snmp

the build_cvs_howto.txt merely says:

mkdir ../snmp
get snmp-5.1.2.tar.gz

i presume this is net-snmp-5.1.2.tar.gz which i got and renamed, but the (zimbra) make process then fails later on building ldap package complaining about missing snmp-5.1.2.tar.gz and associated subdirs. is there a missing build procedure for this?

also current cvs make process refers to postfix-2.2.5 but Thirdparty still only has 2.2.3 - a symlink fixes this.

That's how I built it, IIRC. The only thing we use it for is the snmptrap binary, to send out traps.

12-04-2005, 01:31 PM

dijichi2

2 Attachment(s)

hi
running ./install.sh in zcs/ and the associated setup script doesnt work for me on debian. logs attached.

i think two main problems are lack of openldap symlink in /opt/zimbra and blank /etc/sudoers

12-04-2005, 03:44 PM

marcmac

debian

The log didn't attach.

12-04-2005, 06:22 PM

dijichi2

erm, i can see and download them!

12-04-2005, 06:29 PM

KevinH

Seem to me the problem starts earlier... FYI install happens first so until you get past that cleanly setup is bound to fail.

/var/lib/dpkg/info/zimbra-core.postinst: line 69: chkconfig: command not found
/var/lib/dpkg/info/zimbra-core.postinst: line 70: chkconfig: command not found
mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
/var/lib/dpkg/info/zimbra-core.postinst: line 79: /opt/zimbra/java/bin/java: No such file or directory

chkconfig not found and Java is not in it's right place.

12-04-2005, 06:45 PM

dijichi2

hmm, good point.

chkconfig is a redhat-ism, it doesnt exist on most other platforms so this is not a good thing to use in a portable source build.

the prebuild instructions for java are wrong in build_cvs_howto.txt. they currently read:

but this builds the tarballs wrong. even the install dir is unpredictable depending on the install method (in debian for instance, its /usr/lib/j2sdk1.5-sun), so not reliable to change to the parent directory of the install dir before tarring. how about something like this: