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

Fw: AIX v5.2 ML02 and OL v2.2.6



cvs head checkout (as of 9th March) compiles cleanly on AIX v5.2 ML02 (see
ITSs #2996, 2997 & 2998) but make test fails:

root@cae [/usr/local/src/openldap-HEAD] > make test
        cd tests; make test
Initiating LDAP tests for BDB...
Running ./scripts/all...
>>>>> Executing all LDAP tests for bdb
>>>>> Starting 00test000-rootdse00 ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
kill: 20416: 0403-003 The specified process does not exist.
exec(): 0509-036 Cannot load program lt-ldapsearch because of the following
errors:
        0509-150   Dependent module
/usr/local/src/openldap-HEAD/libraries/liblber/.libs/liblber.a(liblber.so.19
9) could not be loaded.
        0509-152   Member liblber.so.199 is not found in archive
>>>>> Test failed
>>>>> ./scripts/test000-rootdse 00failed00 (exit 255)
make: 1254-004 The error code from the last command is 255.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

root@cae [/usr/local/src/openldap-HEAD] > ls -al libraries/liblber/.libs
total 1168
drwxr-sr-x   2 root     5001            512 Mar 10 11:12 .
drwxrwsr-x   4 5001     5001           1024 Mar 10 10:55 ..
-rwxr-xr-x   1 root     5001          14541 Mar 10 10:55 dtest
-rwxr-xr-x   1 root     5001          16972 Mar 10 10:55 etest
-rwxr-xr-x   1 root     5001           8220 Mar 10 10:55 idtest
-rw-r--r--   1 root     5001         356754 Mar 10 10:55 liblber.a
-rw-r--r--   1 root     5001           1926 Mar 10 10:55 liblber.exp
lrwxrwxrwx   1 root     5001             13 Mar 10 10:55 liblber.la ->
../liblber.la
-rw-r--r--   1 root     5001            718 Mar 10 10:55 liblber.lai
-rwxr-xr-x   1 root     5001         169164 Mar 10 10:55 liblber.so.0

I've never compiled cvs head before - is this error expected? Any hints?

Thanks,

Colin

----- Original Message ----- 
From: "CAE" <openldap@9ewartc.com>
To: <openldap-software@OpenLDAP.org>
Sent: Tuesday, March 02, 2004 11:25 PM
Subject: AIX v5.2 ML02 and OL v2.2.6


> Hi All,
>
> I'm hitting the following problem making OL v2.2.6 on AIX v5.2 ML02:
>
>
xlc_r -g -I../../include -I./slapi -I../../include   -I/usr/local/include -I
>
/usr/local/include/openssl -I/usr/local/include/sasl -I/usr/include -L/usr/l
> ocal/lib -L/usr/local/lib/sasl2 -L/usr/lib/ -L/lib -L/usr/ccs/lib   -c
> repl.c
> "slap.h", line 1532.26: 1506-334 (S) Identifier pcl has already been
defined
> on line 115 of "/usr/include/sys/pcl.h".
>
> Line 115 of /usr/include/sys/pcl.h says:
>
> /*
>  * Privilege Control List definition
>  */
> struct  pcl
> {
>         unsigned int    pcl_len;
>         unsigned int    pcl_mode;
>         priv_t  pcl_default;
>         struct  pcl_entry       pcl_ext[1];
> };
>
> Any ideas on the list?
>
> ----------------------------------------------------------------------
>
> My environment and build steps are:
>
> AIX v5.2 ML02
> C for AIX v6.0.0.0
> Berkeley db v4.2.52 (with 2 current patches):
> ../dist/configure --prefix=/usr/local --with-mutex=AIX/_check_lock
> OpenSSL v9.7c: ./config --openssldir=/usr/local
> Cyrus SASL v2.1.17:
>
./configure --with-dbpath=/usr/local/etc/sasldb2 --with-dblib=berkeley --wit
>
h-bdb-libdir=/usr/local/lib --with-bdb-incdir=/usr/local/include --with-open
> ssl=/usr/local --with-plugindir=/usr/local/lib/sasl2
>
> All the above compiled/installed without issue. OpenLDAP v2.2.6
compilation
> goes...
>
> export
>
CPPFLAGS="-I/usr/local/include -I/usr/local/include/openssl -I/usr/local/inc
>
lude/sasl -I/usr/include -L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/lib/
>  -L/lib -L/usr/ccs/lib"
> export
>
INCLUDES="-I/usr/local/include -I/usr/local/include/openssl -I/usr/local/inc
>
lude/sasl -I/usr/include -L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/lib/
>  -L/lib -L/usr/ccs/lib"
> export LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/lib -L/lib"
> export LIBPATH="-L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/lib -L/lib"
> export CC=xlc_r
> vi libraries/libldap/dnssrv.c
>
>     (Fixed T_SRV problem with dnssrv.c by adding the following code ripped
> from dnssrv.c in v2.1.27:)
>
>     /* Sometimes this is not defined. */
>     #ifndef T_SRV
>     #define T_SRV            33
>     #endif                          /* T_SRV */
>
> vi libraries/libldap_r/tpool.c
>
>     (Fix MAXTHREADS problem in tpool.c (MAXTHREADS already defined in
> /usr/include/sys/thread.h) by removing code, problem not present in
v2.1.27
> as MAXTHREADS is not defined by OL v2.1.27 code)
>
>     /* #define      MAXTHREADS      1024 */    /* must be a power of 2 */
>
>
./configure  --prefix=/usr/local --libexecdir=/usr/local/sbin --enable-slapd
>   --enable-slurpd --enable-dynamic --enable-ldbm=no
> make depend
> (or "make depend MKDEP=$PWD/build/mkdep.aix")
> make
> <----snip---->
>
xlc_r -g -I../../include -I./slapi -I../../include   -I/usr/local/include -I
>
/usr/local/include/openssl -I/usr/local/include/sasl -I/usr/include -L/usr/l
> ocal/lib -L/usr/local/lib/sasl2 -L/usr/lib/ -L/lib -L/usr/ccs/lib   -c
> repl.c
> "slap.h", line 1532.26: 1506-334 (S) Identifier pcl has already been
defined
> on line 115 of "/usr/include/sys/pcl.h".
> "slap.h", line 1977.18: 1506-112 (E) Duplicate type qualifier "volatile"
> ignored.
> "slap.h", line 1978.18: 1506-112 (E) Duplicate type qualifier "volatile"
> ignored.
> "proto-slap.h", line 421.24: 1506-112 (E) Duplicate type qualifier
> "volatile" ignored.
> "proto-slap.h", line 422.24: 1506-112 (E) Duplicate type qualifier
> "volatile" ignored.
> make: 1254-004 The error code from the last command is 1.
> Stop.
> make: 1254-004 The error code from the last command is 2.
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
>