Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 41

Thread: CVS Build Troubles

  1. #11
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    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.

  2. #12
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default snmp build

    Yeah, that should have read something like this:

    get net-snmp-5.1.2
    cd net-snmp...
    ./configure --prefix=/opt/zimbra/snmp-5.1.2
    make
    make install
    cd /opt/zimbra
    tar czf snmp-5.1.2.tar.gz snmp-5.1.2
    mv snmp-5.1.2.tar.gz CVSROOT/ThirdParty/snmp

    I've updated the doc - thanks for the catch

  3. #13
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    do we just hit enter for all the ./configure questions? this will set the state dir to /var/net-snmp and log to /var/log for instance, is this intended? default mibs? full server build?

  4. #14
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    (cd /opt/zimbra/zimbra-cvs/ZimbraBuild/i386; ln -s zcs-3.0.0_M3_239.DEBIAN3.1.tgz zcs.tgz)
    *** BUILD COMPLETED ***


    oh joy and tranquility!!!

    im looking forward to testing now )

    thanks chaps for the fast assistance

  5. #15
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default snmp build

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

  6. #16
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    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
    Attached Files Attached Files

  7. #17
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default debian

    The log didn't attach.

  8. #18
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    erm, i can see and download them!

  9. #19
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    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.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #20
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    Default

    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:

    mkdir Thirdparty/java
    grab jdk-1_5_0_05-linux-i586.bin and install somewhere.
    tar czf Thirdparty/java/jdk1.5.0_05.tgz

    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:

    mkdir Thirdparty/java
    cd Thirdparty/java
    cp -R ./jdk1.5.0_05
    tar czf Thirdparty/java/jdk1.5.0_05.tgz jdk1.5.0_05

Similar Threads

  1. CVS updates
    By simonellistonball in forum Developers
    Replies: 3
    Last Post: 06-22-2006, 08:41 AM
  2. Updated cvs build instructions?
    By dijichi2 in forum Developers
    Replies: 2
    Last Post: 06-20-2006, 11:51 AM
  3. GA build from CVS, cannot run
    By vpoorboy in forum Installation
    Replies: 5
    Last Post: 02-21-2006, 07:04 AM
  4. Latest CVS version build trouble
    By graffiti in forum Developers
    Replies: 9
    Last Post: 12-19-2005, 06:14 PM
  5. CentOS 4.2 Build
    By andreychek in forum Developers
    Replies: 2
    Last Post: 12-09-2005, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •