Bug 256

Summary: Compilation of sudo 1.6.9 fails under Tru64 4.0f
Product: Sudo Reporter: Scott McAskill <mcaskill.scott>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: high    
Version: 1.6.9   
Hardware: Alpha   
OS: Tru64 UNIX   
Attachments: Output from ./configure and make

Description Scott McAskill 2007-08-10 11:42:35 MDT
Created attachment 210 [details]
Output from ./configure and make

After running ./configure, make fails under Tru64 4.0f with:
./libtool: print: not found
./libtool: print: not found
./libtool: : Pemission denied
./libtool: print: not found
/bin/ksh: /: cannot execute
*** Exit 1
Stop

See attachment.
Comment 1 Todd C. Miller 2007-08-10 12:00:21 MDT
This appears to be an incompatibility with libtool on Tru64, probably due to a shell bug of some kind.  Try editing the generated libtool script and find the line that is something like:

# An echo program that does not interpret backslashes.
ECHO='print -r'

And change it to:

# An echo program that does not interpret backslashes.
ECHO='printf %s\n'

and see if make succeeds after that.
Comment 2 Scott McAskill 2007-08-14 08:24:32 MDT
(In reply to comment #1)
> This appears to be an incompatibility with libtool on Tru64, probably
> due to a shell bug of some kind.  Try editing the generated libtool
> script and find the line that is something like:
> # An echo program that does not interpret backslashes.
> ECHO='print -r'
> And change it to:
> # An echo program that does not interpret backslashes.
> ECHO='printf %s\n'
> and see if make succeeds after that.

That appears to have done the trick. Thanks!