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

RE: AIX 4.3.3 compilation Matching solution :))



Hello,

Finally I can compile the openldap 2.1.4 under aix :))
Aix need the --disable-ipv6 option.

Here is the step by step :
export LIBPATH=/usr/lib:/usr/local/lib
export CC=xlc_r
export CPPFLAGS="-I/usr/local/BerkeleyDB.4.0/include"
export LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib"
export MKDEP"=<srcpath>/openldap-2.1.4/build/mkdep.aix"
export MAKE="/usr/local/bin/make"

mv /usr/bin/make /usr/bin/makeaix (remove interference with the make
delivered by IBM).

./configure --disable-shared --without-cyrus-sasl --without-tls --disable-ip
v6
make depend
================= ERROR ======================================
make
make[2]: *** No rule to make target `../libraries/liblunicode/ucdata.h',
needed by `passwd.o'.  Stop.
make[2]: Leaving directory
`/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.1.4/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/ef/Dev/newdev/Shared/OpenLdap/Aix/openldap-2.1.4/libraries'
make: *** [all-common] Error 1
================= CORRECTION =================================
I edit the file libraries/liblutil/Makefile and change the line 710 (in my
makefile, search for ucdata.h in other case):
	passwd.o: ../libraries/liblunicode/ucdata.h
by
	passwd.o: ../liblunicode/ucdata.h
==================END ERROR ===================================
make
==> done

Tomorrow i try the install procedure :))

Guy

>
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of De Leeuw Guy
> Sent: Wednesday, August 28, 2002 3:29 PM
> To: OpenLdap (E-mail)
> Subject: AIX 4.3.3 compilation
>
>
> Hello all,
>
> I cannot compile openldap-2.1.4 under aix.
> error : struct sockaddr_storage is undefined.
>
> What is the correct method to compile this openldap version
> under aix ?
>
> Here is the command I launch :
> ==============================
> export LIBPATH=/usr/lib:/usr/local/lib
> export CC=xlc_r
> export CPPFLAGS="-I/usr/local/BerkeleyDB.4.0/include"
> export LDFLAGS="-L/usr/local/BerkeleyDB.4.0/lib"
> export MKDEP"=<srcpath>/openldap-2.1.4/build/mkdep.aix"
>
> cd <srcpath>/openldap-2.1.4/
> ./configure --disable-shared
> /usr/local/bin/make depend
> /usr/local/bin/make
>
>
> Thanks in advance
>
> Guy
>
>