Syntax error running sudo, visudo

cnelson at cnelson at
Tue May 18 13:04:51 EDT 2004

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 \

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...


More information about the sudo-users mailing list