[840] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Compiling on an SGI

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sun Oct 9 07:27:23 1994

From: epeisach@MIT.EDU
Date: Sun, 9 Oct 1994 07:27:15 -0400
To: krb5-bugs@MIT.EDU


This is simply a report for later usage.

a) I compiled on a machine running 5.2.
b) Changes wree required to com_err.h to declare com_err_hook as
external. (otherwise the compiler triedto put it in the BSS).
c) Problem area: libsocket is broken on the sgi wrt to gethostbyname.
Looking at the acspecific.m4 there is also a comment to this effect
regarding the X11 configuration.

I suspect that the libsocket was put in there for suns or some other
platform. 

To make things even more fun, libsocket is provided for svr4net
compatibility. Configure is picking up on this optional product.

What do I suggest be done about this?
a) At a later date, make a new macro that allows people to use something
like --without-libsocket and deny use of libraries to the system
b) optionally, use a custom brewed version of AC_HAVE_LIBRARY which
knows that on the SGI, libsocket is broken. Other machine type specifics
could be added to the macro as they show up....


I like (b) because the more naive person can then compile software....

	Ezra


home help back first fref pref prev next nref lref last post