[sudo-users] compile sudo-1.8.9p4 on AIX7 with LDAP support
ralph.meier at merckgroup.com
ralph.meier at merckgroup.com
Fri Jan 24 05:52:47 MST 2014
Hello. I'm an AIX admin with very little experience on compiling software.
With the the move to AIX7 i need to recompile sudo with ldap support
because the IBM LDAP client changed from version V6.1 to V6.2
So i downloaded sudo-1.8.9p4 and used this configure line:
./configure --prefix=/usr/local --mandir /usr/local/man
--with-logging=syslog --with-editor=/usr/bin/vi --with-env-editor
--enable-zlib=builtin --disable-nls --with-sendmail=/usr/sbin/sendmail
--with-ldap=/opt/IBM/ldap/V6.2 --with-incpath=/opt/IBM/ldap/V6.2/include
--with-libpath=/opt/IBM/ldap/V6.2/lib
--with-ldap-conf-file=/etc/security/ldap/ldap.cfg --with-aixauth
--with-netsvc
Configure runs fine but when i start "make" it runs for a while a always
ends with this error:
/bin/sh ../../libtool --mode=compile cc -qlanglvl=extc89 -c
-I../../include -I../.. -I. -I. -I../.. -DLIBDIR=\"/usr/local/lib\"
-I../../zlib -I../../zlib -I/opt/IBM/ldap/V6.2/include
-D__STDC_WANT_LIB_EXT1__=1 -I/opt/IBM/ldap/V6.2/include -g -D_ALL_SOURCE
-D_LINUX_SOURCE_COMPAT -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0
-DSUDOERS_GID=0 -DSUDOERS_MODE=0440
-DLOCALEDIR=\"/usr/local/share/locale\" ./sudo_nss.c
libtool: compile: cc -qlanglvl=extc89 -c -I../../include -I../.. -I. -I.
-I../.. -DLIBDIR=\"/usr/local/lib\" -I../../zlib -I../../zlib
-I/opt/IBM/ldap/V6.2/include -D__STDC_WANT_LIB_EXT1__=1
-I/opt/IBM/ldap/V6.2/include -g -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT
-D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
-DSUDOERS_MODE=0440 -DLOCALEDIR=\"/usr/local/share/locale\" ./sudo_nss.c
-DPIC -o .libs/sudo_nss.o
"./sudo_nss.c", line 153.32: 1506-280 (W) Function argument assignment
between types "unsigned long*" and "long*" is not allowed.
"./sudo_nss.c", line 215.34: 1506-045 (S) Undeclared identifier
sudo_nss_files.
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.
What's wrong here ? sudo-1.8.9p3 gives the same error...
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith.
Click http://www.merckgroup.com/disclaimer to access the German, French, Spanish and Portuguese versions of this disclaimer.
More information about the sudo-users
mailing list