Burkhard Noltensmeier wrote:
> Hallo,
>
> Thank you for your patches. I was able to apply them cleanly
> I apologise for disturbing you another one time.
> When i compile the hole stuff I get an error message.
> Unfortunately i do not really understand what the Problem is.
> I discovered that my config.h File ist empty.
> Maybe the configure Script guessed the LDAP type in a wrong way.
> I am using Redhat-7.0 with Openldap-2.07
>
Yes, I had the same problem, but I thought it was because of my slightly
screwed up Solaris autoconf/automake environment. It appears not only Solaris
thing...
The problem has been here since I started using CVS version, i.e. a month ago.
My auto* stuff ignores python-ldap/acconfig.h file for some reason and tries to
produce python-ldap/Modules/config.h file from the corresponding config.h.in
file, which is missing in CVS. Fortunately I kept the latest release version
and I got the missing file from there. I'm attaching the file just in case. You
need to do make distclean and ./configure ... again.
After that you will get a correct config.h file.
I know this is not a good way of fixing the problem, but I didn't have time to
do it properly.
Or maybe that's just my mistake.
Can anybody tell me in which order I shall apply autoconf commands before doing
./configure?
Thanks,
Konstantin.
>
> This is the Compile Error:
>
> [root@bn python-ldap]# make
> cd Modules && make srcdir=/home/burkhard/ldap/python-ldap/Modules
> VPATH=/home/bu
> rkhard/ldap/python-ldap/Modules
> make[1]: Wechsel in das Verzeichnis
> Verzeichnis ?/hda4/burkhard/ldap/python-ldap
> /Modules?
> gcc -fPIC -I. -DLDAP_REFERRALS -I/tmp/ldap-pfx/include -g -O2 -I/usr/includ
> e/py
> thon1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c
> /home/burkhard/ldap/python-l
> dap/Modules/LDAPObject.c
> /home/burkhard/ldap/python-ldap/Modules/LDAPObject.c: In function
> `l_ldap_set_re
> bind_proc':
> /home/burkhard/ldap/python-ldap/Modules/LDAPObject.c:617: warning: passing
> arg 2
> of `ldap_set_rebind_proc' from incompatible pointer type
> /home/burkhard/ldap/python-ldap/Modules/LDAPObject.c: In function
> `l_ldap_modrdn
> ':
> /home/burkhard/ldap/python-ldap/Modules/LDAPObject.c:1142: too many
> arguments to
> function `ldap_modrdn'
> ......
>
> Burkhard Noltenmsieer
--
* * Konstantin Chuguev - Application Engineer
* * Francis House, 112 Hills Road
* Cambridge CB2 1PQ, United Kingdom
D A N T E WWW: http://www.dante.net
|