[kde-solaris] kdm (what else is new)
clayne at anodized.com
Tue Dec 14 14:28:34 CET 2004
It should be noted that the intent of what he is trying to do
is retrieve the domain name - and on Solaris, getdomainname
is an NIS/YP func that coincidentally sometimes works.
It's just not portable when it comes down to it - and it's one
of the reasons I find myself commenting out kdm from builds
more than any other.
On Tue, Dec 07, 2004 at 07:35:14AM -0500, Stefan Teleman wrote:
> getdomanname(3NSL) on Solaris is in this weird limbo state -- it
> doesn't have a prototype declared in a header, but it exists in
> /usr/lib/libnsl.so -- if you do nm -Cp /usr/lib/libnsl.so | egrep
> getdomainname you should get
> 0000304076 T getdomainname
> now the ./configure script checks for getdomainname the symbol and the
> prototype, respectively -- on Solaris, ./configure misses both. :-)
> so, if you look in config.h, there should be two entries: one for
> HAVE_GETDOMAINNAME and one for HAVE_GETDOMAINNAME_PROTO -- usually
> both end up commented out -- and then further down in config.h there
> should be a prototype declaration for getdomainname (3NSL). so the
> only thing you have to change is to uncomment HAVE_GETDOMAINNAME in
> config.h and set it to #define HAVE_GETDOMAINNAME 1, but leave the
> HAVE_GETDOMAINNAME_PROTO commented out. :-)
> On Tuesday 07 December 2004 04:52, Christopher Layne wrote:
> > Thanks. I'll file that under the "it's your problem dude" category.
> > Anyways - anything helpful?
> > This isn't some obscure nis/yp sun package that needs to be
> > installed to support the call to this, is it?
> > -cl
> Stefan Teleman 'Nobody Expects the Spanish Inquisition'
> steleman at nyc.rr.com -Monty Python
More information about the kde-solaris