Bug 256 - Compilation of sudo 1.6.9 fails under Tru64 4.0f
Compilation of sudo 1.6.9 fails under Tru64 4.0f
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.9
Alpha Tru64 UNIX
: high high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-10 11:42 MDT by Scott McAskill
Modified: 2007-08-14 08:24 MDT (History)
0 users

See Also:


Attachments
Output from ./configure and make (23.84 KB, text/plain)
2007-08-10 11:42 MDT, Scott McAskill
Details

Note You need to log in before you can comment on or make changes to this bug.
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!