[sudo-users] Trouble installing SUDO 1.6.8p9
Bob Proulx
bob at proulx.com
Sat May 6 19:07:59 EDT 2006
Hello John,
While looking through the sudo-users mailing list archives I see your
question to the sudo-users list from way long ago last summer. But no
responses. Probably no one had any information at that time. Did you
resolve your problem? I use HP-UX and sudo compiles fine for me there
so I decided to wake up this sleeping issue. But hopefully this has
long ago been solved.
Looking at the output it all looks perfectly normal to me. I have
compiled 1.6.8p9 on HP-UX with no problems at all. I have not needed
to set --with-noexec and so that seems strange to me. I simply
configure and make normally.
The PA architecture warnings are innocuous and should be ignored. You
can actually prevent them by creating hppa1.0 code with +DAportable or
by turning off the warning with +vnocompatwarnings.
If you can't find sudo and can't find the man page it seems to me that
it did not actually install the binary. Running 'make install' at
that point should install both in /usr/local. This can be changed at
either compile time or make install time. Personally I package it up
and put it in /usr/bin/sudo.
Bob
John Stonecipher wrote:
> I'm trying to install 1.6.8p9 on an HP-UX 11 system. I'm not a UNIX
> sysadmin so I don't know what is supposed to happen during installation.
> I have followed the installation instructions and have found out I
> needed to run 'configure' with the --with-noexec option. After that I
> ran 'make'. I'll include the output from the below. After
> installation, I can't run sudo and I can't find a man page. What am I
> missing?
>
>
>
> ------------------------------------------------------------
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (check.o) was
> detected. The linked output may not run on a PA 1.x system.
> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (visudo.o)
> was detected. The linked output may not run on a PA 1.x system.
> S_GID=0 -DSUDOERS_MODE=0440 env.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 getspwuid.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 gettime.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 goodpath.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 fileops.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 find_path.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 interfaces.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 logging.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 parse.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 set_perms.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 sudo.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 sudo_edit.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 tgetpass.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 zero_bytes.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 ./auth/sudo_auth.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 ./auth/passwd.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 sudo.tab.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 lex.yy.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 alloc.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 defaults.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 err.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 fnmatch.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 strlcpy.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 strlcat.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 closefrom.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 snprintf.c
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 getprogname.c
> cc -o sudo check.o env.o getspwuid.o gettime.o goodpath.o
> fileops.o find_path.o interfaces.o logging.o parse.o set_perms.o sudo.o
> sudo_edit.o tgetpass.o zero_bytes.o sudo_auth.o passwd.o sudo.tab.o
> lex.yy.o alloc.o defaults.o err.o fnmatch.o strlcpy.o strlcat.o
> closefrom.o snprintf.o getprogname.o -lsec
> cc -c -I. -I. -D_PATH_SUDOERS=\"/etc/sudoers\"
> -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0
> -DSUDOERS_MODE=0440 visudo.c
> cc -o visudo visudo.o fileops.o gettime.o goodpath.o find_path.o
> sudo.tab.o lex.yy.o alloc.o defaults.o err.o fnmatch.o strlcpy.o
> strlcat.o closefrom.o snprintf.o getprogname.o
> ------------------------------------------------------------
>
>
> Any and all help is appreciated. You can either email the list or email
> directly at my address listed below.
>
> Thanks,
> John
>
> ----
> John Stonecipher
> Indiana Packers Corporation
> 765-564-7293
> jstonecipher at inpac.com
>
>
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>
More information about the sudo-users
mailing list