Bug 266 - Compilation failure of sudo 1.6.9p4, p5 and p6 under Tru64 4.0f
Compilation failure of sudo 1.6.9p4, p5 and p6 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-10-23 11:58 MDT by Scott McAskill
Modified: 2007-10-24 13:29 MDT (History)
0 users

See Also:


Attachments
Output from configure and make of version 1.6.9p6 (10.92 KB, text/plain)
2007-10-23 11:58 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-10-23 11:58:55 MDT
Created attachment 214 [details]
Output from configure and make of version 1.6.9p6

All versions of sudo since 1.6.9p4 have failed to build under Tru64 4.0f. All fail with the same error. See attachment which contains output from configure and make of version 1.6.9p6. Version 1.6.9p3 and before all compiled OK.
Comment 1 Todd C. Miller 2007-10-23 12:14:01 MDT
It appears Tru64 4.0F defines AF_INET6 but actually provides no real IPv6 support.  I'll have to add a configure check for some of the IPv6 structures.

You should be able to work around this for now by placing:

#undef AF_INET6

in interfaces.h after the line:

#define _SUDO_INTERFACES_H
Comment 2 Todd C. Miller 2007-10-24 09:34:43 MDT
Please give ftp://ftp.sudo.ws/pub/millert/sudo/sudo-1.6.9p7.tar.gz a try.  It should correctly detect whether or not IPv6 is really supported.
Comment 3 Scott McAskill 2007-10-24 13:27:57 MDT
(In reply to comment #0)
> Created an attachment (id=214) [details]
> Output from configure and make of version 1.6.9p6
> All versions of sudo since 1.6.9p4 have failed to build under Tru64
> 4.0f. All fail with the same error. See attachment which contains
> output from configure and make of version 1.6.9p6. Version 1.6.9p3 and
> before all compiled OK.

Hi Todd,

I didn't get a chance to try the patch, but I just built and installed version 1.6.9p7 which worked. Many thanks.