> I'm trying to install qmail on a Redhat 7.2 system, using the qmail-ldap > patch. I've set up qmail without ldap a few times already, and I've > already set up the ldap server and added a user to it, so I'm figuring this > shouldn't take too much pain to make happen. =) > > Following the instructions on Life With qmail-ldap, I've set up all of my > users and downloaded the source for qmail-1.03 and qmail-ldap-1.03- > 20011001a.patch . However, after patching qmail, the compile fails. The > last few lines are: > > ./load auto-gid substdio.a error.a str.a fs.a > ( ./auto-uid auto_uida `head -1 conf-users` \ > &&./auto-uid auto_uidd `head -2 conf-users | tail -1` \ > &&./auto-uid auto_uidl `head -3 conf-users | tail -1` \ > &&./auto-uid auto_uido `head -4 conf-users | tail -1` \ > &&./auto-uid auto_uidp `head -5 conf-users | tail -1` \ > &&./auto-uid auto_uidq `head -6 conf-users | tail -1` \ > &&./auto-uid auto_uidr `head -7 conf-users | tail -1` \ > &&./auto-uid auto_uids `head -8 conf-users | tail -1` \ > &&./auto-gid auto_gidq `head -1 conf-groups` \ > &&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \ > ) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c > ./compile auto_uids.c > ./auto-str auto_usera `head -1 conf-users` > auto_usera.c > ./compile auto_usera.c > ./compile -I/usr/local/include qldap-ldaplib.c > qldap-ldaplib.c:4:18: lber.h: No such file or directory > qldap-ldaplib.c:5:18: ldap.h: No such file or directory > make: *** [qldap-ldaplib.o] Error 1
you need to specify where the ldap includes are located. edit the makefile to spceify the proper location, and compile. dan > Neither of those files exist anywhere in my build tree. > > A Google reveals that another person had this problem, but it was due to > another patch that he had applied. > > I'm not much of a C coder, so it's a bit difficult for me to tell what is > wrong with the patch (if anything). > > Am I missing something here? > > Thanks in advance, > > - Darren - > > >
