Build Error
Mark De Moor
madmo at ruca.ua.ac.be
Wed Feb 21 09:41:42 CET 2001
I'm having some problems in building python-ldap-1.10alpha3
on a HP-UX 10.20 with HP ansi-C compiler , openldap 1.2.11
and python 2.0 for web2ldap 0.8.x
1. configure wrongly finds that ldap_set_rebind_proc needs 3 arguments
while during the "make" you get an error (LDAPobject.c) that there
are to many args.According to the man page there are 2 arguments.
2. After fixing that (brute force) in configure, i get a loader error:
/opt/web2ldap/python-ldap-1.10alpha3>make
cd Modules && make
srcdir=/opt/web2ldap/python-ldap-1.10alpha3/Modules
VPATH=/opt/web2ldap/python-ldap-1.10alpha3/Modules
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/LDAPObject.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/common.c
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/constants.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/errors.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/functions.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/ldapmodule.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/message.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/version.c
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/linkedlist.c
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/template.c
cc: "/opt/ldap/include/ldap.h", line 519: warning 617: Redeclaration of
tag "timeval" ignored.
cc: "/opt/web2ldap/python-ldap-1.10alpha3/Modules/template.c", line
1023:
warning 604: Pointers are not assignment-compatible.
cc -Ae +z -I. -DLDAP_REFERRALS -I/opt/ldap/include -O
-I/opt/python/include/python2.0 -I/opt/python/include/python2.0
-DHAVE_CONFIG_H -c
/opt/web2ldap/python-ldap-1.10alpha3/Modules/CIDict.c
cpp: "CIDict.c", line 125: warning 2010: Extra characters on #endif.
ld -b LDAPObject.o common.o constants.o errors.o functions.o
ldapmodule.o message.o version.o linkedlist.o template.o CIDict.o
-L/opt/ldap/lib -lldap -llber -lm -o _ldapmodule.sl
ld: (Warning) At least one PA 2.0 object file (LDAPObject.o) was
detected.
The linked output may not run on a PA 1.x system.
ld: Invalid loader fixup for symbol "$00000030".
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
The config.log is in attachment.
Any help / suggestions / solution would greatly be appreciated.
I am not that experienced in compiling/loading, due too lack of time,
i just would like to get web2ldap running and concentrate on the use
and contents of our DS.
Regards
Mark De Moor
______________________________________________________________________________
Mark De Moor | Email:
madmo at ruca.ua.ac.be
|\ /| /\ ___ | / UA-Ruca ComputerCentrum | Www:
| \/ | /__\ |__| |< Groenenborgerlaan,171 | Tel: ++ 32 3
2180320
| | / \ | \ | \ B 2020 Antwerpen | Fax: ++ 32 3
2180443
==============================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/x-unknown-content-type-txtfile
Size: 18314 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20010221/d7dde472/attachment.bin>
More information about the python-ldap
mailing list