Hi,
I'm installed qmail + qmail-ldap patch. All work fine. Now I'm triyng to 
add the qmail-ldap-control patch to store the qmail configuration in a 
ldap tree.

I'm using this files:

http://cr.yp.to/software/qmail-1.03.tar.gz
http://www.nrg4u.com/qmail/qmail-ldap-1.03-20020901.patch.gz
http://qmail.bayour.com/patches_ldap/qmail-ldap-control_latest.patch.gz

I can't compile qmail, i get the error below,
�I'am using a correct method? �The version files are compatibles?

I do:

        tar -xvzf qmail-1.03.tar.gz
        gunzip qmail-ldap-1.03-20020901.patch.gz
        gunzip qmail-ldap-control_latest.patch.gz
        cd qmail-1.03.tar.gz
        patch -p1 < ../qmail-ldap-1.03-20020901.patch
        cd ..
        patch -p1 < qmail-ldap-control_latest.patch

And this show me:
        patching file qmail-1.03/FILES
        Reversed (or previously applied) patch detected!  Assume -R? [n]
        Apply anyway? [n]
        Skipping patch.
        1 out of 1 hunk ignored -- saving rejects to file
        qmail-1.03/FILES.rej
        patching file qmail-1.03/Makefile
        Hunk #48 FAILED at 1841.
        1 out of 67 hunks FAILED -- saving rejects to file      
        qmail-1.03/Makefile.rej
        patching file qmail-1.03/QLDAPINSTALL
        Hunk #4 succeeded at 877 (offset 4 lines).
        Hunk #6 succeeded at 967 (offset 4 lines).
        patching file qmail-1.03/QLDAPNEWS
        Hunk #2 succeeded at 278 (offset 56 lines).
        Hunk #4 succeeded at 387 (offset 56 lines).
        patching file qmail-1.03/QLDAPTODO
        patching file qmail-1.03/TARGETS
        patching file qmail-1.03/auth_imap.c
        patching file qmail-1.03/auth_pop.c
        patching file qmail-1.03/checkpassword.c
        patching file qmail-1.03/control.c
        patching file qmail-1.03/control.h
        patching file qmail-1.03/hier.c
        Reversed (or previously applied) patch detected!  Assume -R? [n]
        Apply anyway? [n]
        Skipping patch.
        1 out of 1 hunk ignored -- saving rejects to file
        qmail-1.03/hier.c.rej
        patching file qmail-1.03/install-big.c
        Reversed (or previously applied) patch detected!  Assume -R? [n]
        Apply anyway? [n]
        Skipping patch.
        1 out of 1 hunk ignored -- saving rejects to file       
        qmail-1.03/install-big.c.rej
        patching file qmail-1.03/ldapcfg.sh
        patching file qmail-1.03/pbsadd.c
        patching file qmail-1.03/pbscheck.c
        patching file qmail-1.03/pbsdbd.c
        patching file qmail-1.03/qldap-debug.c
        patching file qmail-1.03/qldap-errno.h
        patching file qmail-1.03/qldap-ldaplib.c
        patching file qmail-1.03/qmail-inject.c
        patching file qmail-1.03/qmail-ldap.h
        patching file qmail-1.03/qmail-ldaplookup.c
        patching file qmail-1.03/qmail-local.c
        Hunk #1 succeeded at 211 (offset -4 lines).
        patching file qmail-1.03/qmail-lspawn.c
        patching file qmail-1.03/qmail-pw2u.c
        patching file qmail-1.03/qmail-qmqpc.c
        Hunk #1 FAILED at 18.
        Hunk #3 succeeded at 190 with fuzz 2.
        1 out of 3 hunks FAILED -- saving rejects to file       
        qmail-1.03/qmail-qmqpc.c.rej
        patching file qmail-1.03/qmail-qmtpd.c
        patching file qmail-1.03/qmail-queue.c
        Hunk #1 succeeded at 70 (offset -1 lines).
        patching file qmail-1.03/qmail-remote.c
        patching file qmail-1.03/qmail-send.c
        Hunk #2 succeeded at 1618 (offset 9 lines).
        Hunk #4 succeeded at 1769 (offset 9 lines).
        patching file qmail-1.03/qmail-showctl.c
        patching file qmail-1.03/qmail-smtpd.c
        patching file qmail-1.03/qmail-todo.c
        patching file qmail-1.03/qmailControl.schema

i do:
        cd qmail-1.03
        make setup check

and i get:
        ./load qmail-send qsutil.o control.o constmap.o newfield.o \
        prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
        qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
        wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
        substdio.a error.a str.a fs.a auto_qmail.o auto_split.o
        qmail-send.o: In function `main':
        qmail-send.o(.text+0x38ff): undefined reference to `log_init'
        collect2: ld returned 1 exit status
        make: *** [qmail-send] Error 1

        
        
Thanks.

P.D.
Sorry i'm not native speaker.

Reply via email to