[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unable to build OpenLDAP on AIX (ITS#2284)



--1844490-2295726080-3253965990=:9001
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit

Update: 

I forgot to copy the end of the 'configure' line for the OpenLDAP build command,
sorry. The correct command is 

CPPFLAGS='-I/usr/local/BerkeleyDB.4.1/include' \
LDFLAGS='-L/usr/local/BerkeleyDB.4.1/lib -lpthreads' \
.../configure --disable-shared

The slapd and the command line utilities are running fine, so far. 

Regards, 

  Peter Eckel.





Hello, 

> It's my understanding that our build environment does not support
> the version of AIX you are using.  Patches to support it are welcomed.

I sat down on Sunday to work on this, starting with an upgrade of my gcc to
3.2.2. 

Good news: No patches are necessary, OpenLDAP 2.1.12 builds just fine with the
current version of gcc. This was the only change to my build environment, so the
switch to gcc 3.2.2 was the solution. gcc 3.2 reproducibly does not build a
functional OpenLDAP.

Software versions:

AIX          4.3.3.0.10
gcc          3.2.2
BerkeleyDB   4.1.25 (with patch)
OpenLDAP     2.1.12

The working configuration was built without any configuration options for
BerkeleyDB and 

CPPFLAGS='-I/usr/local/BerkeleyDB.4.1/include' \
LDFLAGS='-L/usr/local/BerkeleyDB.4.1/lib -lpthreads' \
../configure

for OpenLDAP.
  
'make test' ran successfully with the above environment and configuration,
except for test016, which failed. The failure does not seem critical: I checked
the ldif.flt and ldapsearch.flt files the test creates, and the only difference
is the order of three ref: lines. I'll attach the files for further
investigation. 

I do not really believe that this is an AIX/gcc issue, though. If you need any
further tests, files etc. I'll be glad to help. 

Thanks and Regards, 

  Peter.
--1844490-2295726080-3253965990=:9001
Content-Type: application/octet-stream; Name="ldapsearch.flt"; X-Mac-Type="54455854"; X-Mac-Creator="522A6368"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; Filename="ldapsearch.flt"

CmRuOiBvPUFCQyxjPVVTCm86IEFCQwpyZWY6IGxkYXA6Ly9ob3N0QS9vPWFiYyxj
PXVzIEhvc3RBCnJlZjogbGRhcDovL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6IGxkYXA6Ly9ob3N0
Qi91aWQ9eHh4LG89YWJjLGM9VVM/P29uZQoKCnNlYXJjaDogMgpyZXN1bHQ6IDEw
IFJlZmVycmFsCm1hdGNoZWRETjogbz1BQkMsYz1VUwpyZWY6IGxkYXA6Ly9ob3N0
QS91aWQ9eHh4LG89YWJjLGM9dXM/P3N1YgpyZWY6IGxkYXA6Ly9ob3N0Qi91aWQ9
eHh4LG89YWJjLGM9VVM/P3N1YgoK
--1844490-2295726080-3253965990=:9001
Content-Type: application/octet-stream; Name="ldif.flt"; X-Mac-Type="54455854"; X-Mac-Creator="522A6368"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; Filename="ldif.flt"

CmRuOiBvPUFCQyxjPVVTCm86IEFCQwpyZWY6IGxkYXA6Ly9ob3N0QS9vPWFiYyxj
PXVzIEhvc3RBCnJlZjogbGRhcDovL2hvc3RCIEhvc3RCCm9iamVjdENsYXNzOiBy
ZWZlcnJhbApvYmplY3RDbGFzczogZXh0ZW5zaWJsZU9iamVjdAoKZG46IG89WFla
LGM9VVMKbzogWFlaCnJlZjogbGRhcDovL2hvc3RDL289eHl6LGM9dXMgSG9zdEMK
b2JqZWN0Q2xhc3M6IHJlZmVycmFsCm9iamVjdENsYXNzOiBleHRlbnNpYmxlT2Jq
ZWN0CgpzZWFyY2g6IDIKcmVzdWx0OiAwIFN1Y2Nlc3MKCgpkbjogbz1BQkMsYz1V
UwpvOiBBQkMKcmVmOiBsZGFwOi8vaG9zdEEvbz1hYmMsYz11cyBIb3N0QQpyZWY6
IGxkYXA6Ly9ob3N0QiBIb3N0QgpvYmplY3RDbGFzczogcmVmZXJyYWwKb2JqZWN0
Q2xhc3M6IGV4dGVuc2libGVPYmplY3QKCnNlYXJjaDogMgpyZXN1bHQ6IDAgU3Vj
Y2VzcwoKCnNlYXJjaDogMgpyZXN1bHQ6IDEwIFJlZmVycmFsCm1hdGNoZWRETjog
bz1BQkMsYz1VUwpyZWY6IGxkYXA6Ly9ob3N0QS91a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