Syntax error running sudo, visudo

Aaron Spangler as at insight.rr.com
Tue May 18 21:12:39 EDT 2004


Is there a reason the ppc cannot build it's own sudo?

Can a similar ppc build the binary and then copy the binary over?

 -Aaron

----- Original Message -----
From: <cnelson at nycap.rr.com>
To: <sudo-users at sudo.ws>
Sent: Tuesday, May 18, 2004 1:04 PM
Subject: Syntax error running sudo, visudo


> I've cross-compiled sudo from 1.6.7p5 source on Linux 2.6.4 on x86 for
Linux 2.4.18 on ppc.  I invoked configure like:
>
> ./configure  --prefix=/target/usr \
>             --target=powerpc-linux \
>             --host=powerpc-linux \
>             --build=i386-pc-linux \
>             --with-endianness=big \
>             --with-cc=powerpc-linux-gcc \
>             --with-ar=powerpc-linux-ar \
>             --with-install-prefix=/target \
>             --with-pam
>
> After building and installing, I see this:
>
>    # sudo
>    sudo: 1: Syntax error: "(" unexpected
>
> on the target system.  visudo does the same thing.
>
> I made sure that there was a sudo file in the pam.d directory.  I searched
TROUBLESHOOTING and the source for this message to no avail. Any pointers
would be appreciated...
>
>                               Chris
>
> ____________________________________________________________
> 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