Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sudo on AIX 5.3 1

Status
Not open for further replies.

cts123

Technical User
Feb 28, 2007
108
IN
Hi,

I wanted to install and configure "Sudo" on AIX 5.3. Here is the following link which is giving some light on how to install and configure.

While going with the process, I am getting following error at the bottom.

# ./configure
configure: Configuring Sudo version 1.6.9
checking whether to lecture users the first time they run sudo... yes
checking whether sudo should log via syslog or to a file by default... syslog
checking which syslog facility sudo should log with... local2
checking at which syslog priority to log commands... notice
checking at which syslog priority to log failures... alert
checking how long a line in the log file should be... 80
checking whether sudo should ignore '.' or '' in $PATH... no
checking whether to send mail when a user is not in sudoers... yes
checking whether to send mail when user listed but not for this host... no
checking whether to send mail when a user tries a disallowed command... no
checking who should get the mail that sudo sends... root
checking for bad password prompt... Password:
checking for bad password message... Sorry, try again.
checking whether to expect fully qualified hosts in sudoers... no
checking for umask programs should be run with... 0022
checking for default user to run commands as... root
checking for editor that visudo should use... vi
checking whether to obey EDITOR and VISUAL environment variables... no
checking number of tries a user gets to enter their password... 3
checking time in minutes after which sudo will ask for a password again... 5
checking time in minutes after the password prompt will time out... 5
checking whether to use per-tty ticket files... no
checking whether to include insults... no
checking whether to override the user's path... no
checking whether to get ip addresses from the network interfaces... yes
checking whether stow should be used... no
checking whether to do user authentication by default... yes
checking whether to disable running the mailer as root... no
checking whether to disable shadow password support... no
checking whether root should be allowed to use sudo... yes
checking whether to log the hostname in the log file... no
checking whether to invoke a shell if sudo is given no arguments... no
checking whether to set $HOME to target user in shell mode... no
checking whether to disable 'command not found' messages... no
checking for egrep... egrep
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

It's saying the C compiler not available.

Now while checking the same on my one old AIX 4.3.3 server, I see following :-

$ oslevel -r
4330-11

$ lslpp -l | grep -i compi
idebug.engine.compiled 8.3.0.0 COMMITTED Debugger Engine for Compiled
vac.C 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.DBCS.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.SBCS.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.common.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.en_US.C 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.en_US.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.msg.en_US.C 5.0.0.0 COMMITTED C for AIX Compiler Messages -
vacpp.cmp.rte 4.0.2.0 COMMITTED VisualAge C++ Compiler
vac.C 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.DBCS.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.SBCS.search 5.0.0.0 COMMITTED C for AIX Compiler
vac.html.en_US.search 5.0.0.0 COMMITTED C for AIX Compiler

But when I see the same on my new AIX 5.3 server, it's not available. I was searching in IBM site, and found something ..


I downloaded vac.60.aix50.apr2007.ptf.tar.Z and tried installing on my AIX 5.3 and got following error.

MISSING REQUISITES: The following filesets are required by one or more
of the selected filesets listed above. They are not currently installed
and could not be found on the installation media.

vac.C 6.0.0.0 # Base Level Fileset
vac.C.readme.ibm 6.0.0.0 # Base Level Fileset
vac.msg.EN_US.C 6.0.0.0 # Base Level Fileset

Just wanted to check am I going on right direction?
If yes is that C Complier to be purchased from the vendor or that is available with IBM free.

In case of any doubt, do let me know.

Thanks
Sam
 
hfaix,

Awesome. Thanks a lot for your support. I just installed the same and it's working like a charm.

Regards,
Sam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top