SASL on AIX 5.x
Chapman, Kyle
Kyle_Chapman at G1.com
Thu Oct 20 11:28:38 EDT 2005
i just built 2.1.21 on 5.2 (shared). i have vac7, and i have done it with 6 as well. i run configure as normal, but after this is done, use a different ver of libtool to compile.
1.4.8 i used this past run. i didnt have to edit any of the config env of sasl either.
-----Original Message-----
From: Tim Alsop [mailto:Tim.Alsop at CyberSafe.Ltd.UK]
Sent: Thursday, October 20, 2005 4:35 AM
To: cyrus-sasl at lists.andrew.cmu.edu; jorma.heikkuri at pp.inet.fi; Chapman, Kyle; walter+sasl at efrei.fr
Subject: SASL on AIX 5.x
Hello,
I wondered if you could help me ?
I noticed from some posts to the Cyrus SASL mailing list that many people have had difficultly compiling SASL 2.1.x on AIX 5.x. I am also trying to do this, but using SASL 2.1.21. Do you have any clues how to make SASL compile on AIX 5 ? I am using IBM AIX VisualAge C compiler 6.0.
So, far I have edited the config/ltconfig file (to cause configure decide it can create shared libraries). The changes I made are :
-deplibs_check_method='unknown'
+deplibs_check_method='pass_all'
Then, when I run configure, I get output which looks good, then I run make, and get :
% make
make all-recursive
Making all in include
source='makemd5.c' object='makemd5.o' libtool=no depfile='.deps/makemd5.Po' tmpdepfile='.deps/makemd5.TPo' depmode=aix /bi
n/sh ../config/depcomp xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I/home/talsop/source/external/cyrussasl/../../toolkits/devpack/securi
ty-tk/include -I/krb5/include -D__aix -D__aix -I/krb5/appsec-sdk/include -g -c `test -f 'makemd5.c' || echo './'`makemd5.c
/bin/sh ../libtool --mode=link xlc_r -g -blibpath:/krb5/external/sasl/lib:/krb5/external/ldap/lib:/krb5/appsec-rt/lib:/k
rb5/lib:/usr/lib -L/home/talsop/source/external/cyrussasl/../../toolkits/devpack/security-tk/lib -L/home/talsop/source/external/cyru
ssasl/../../common/k542/lib -L/krb5/lib -o makemd5 makemd5.o
mkdir .libs
xlc_r -g -blibpath:/krb5/external/sasl/lib:/krb5/external/ldap/lib:/krb5/appsec-rt/lib:/krb5/lib:/usr/lib -L/home/talsop/source/exte
rnal/cyrussasl/../../toolkits/devpack/security-tk/lib -L/home/talsop/source/external/cyrussasl/../../common/k542/lib -L/krb5/lib -o
makemd5 makemd5.o
rm -f md5global.h
./makemd5 md5global.h
Target "all" is up to date.
Making all in sasldb
source='allockey.c' object='allockey.lo' libtool=yes depfile='.deps/allockey.Plo' tmpdepfile='.deps/allockey.TPlo' depmode
=aix /bin/sh ../config/depcomp /bin/sh ../libtool --mode=compile xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I
/home/talsop/source/external/cyrussasl/../../toolkits/devpack/security-tk/include -I/krb5/include -D__aix -D__aix -I/krb5/appsec-sdk
/include -g -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c
rm: illegal option -- W
Usage: rm [-firRe] [--] File ...
xlc_r -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/home/talsop/source/external/cyrussasl/../../toolkits/devpack/securit
y-tk/include -I/krb5/include -D__aix -D__aix -I/krb5/appsec-sdk/include -g -c allockey.c -Wc,-M
"allockey.c", line 190.28: 1506-280 (E) Function argument assignment between types "const char*" and "const unsigned char*" is not a
llowed.
mv -f -Wc,-M.o allockey.o
mv: illegal option -- W
Usage: mv [-i | -f] [-E{force|ignore|warn}] [--] src target
or: mv [-i | -f] [-E{force|ignore|warn}] [--] src1 ... srcN directory
make: 1254-004 The error code from the last command is 1.
Stop.
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.
As you can see from the above, for some reason rm and mv are failing because of invalid options, so it seems that the compiler options are being interpreted as a filename, for some strange reason ? Does anybody have any ideas what might cause this ?
Thanks, Tim
NOTICE: This E-mail may contain confidential information. If you are not
the addressee or the intended recipient please do not read this E-mail
and please immediately delete this e-mail message and any attachments
from your workstation or network mail system. If you are the addressee
or the intended recipient and you save or print a copy of this E-mail,
please place it in an appropriate file, depending on whether
confidential information is contained in the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20051020/dae22517/attachment-0001.html
More information about the Cyrus-sasl
mailing list