[881] in Kerberos-V5-bugs
Re: Build problem with krb5-B4-PL3 on Solaris (with fix)
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Wed Oct 19 16:52:08 1994
Date: Wed, 19 Oct 1994 16:52:03 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: Danny.Nessett@Eng.Sun.COM (Dan Nessett)
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [880]
Date: Wed, 19 Oct 1994 09:40:40 -0700
From: Danny.Nessett@Eng.Sun.COM (Dan Nessett)
I just ftp'd the current patch level for krb5-B4 (patch level 3) and
followed the instructions. I am running on an alpha version of
Solaris 2.5 (however, I don't think its a 2.5 versus 2.4 or 2.3 issue
that's causing my problem). When the make got to the link step for
telnet, it blew up. It couldn't resolve the symbols "index" and
"rindex".
Telnet shouldn't have been using index or rindex. I'm bit at a loss to
figure out why it was trying to use them. If you could do a
"nm -o *.o | grep index"
in the telnet/telnet and telnet/libtelnet directories, and send me back
the results, I'd be much obliged.
The problem with using the libucb library is that it redefines other
libc routines that can have very bad or surprising side effects for
programs that try to use the straight Solaris interfaces. The
assumption is that you either write programs which are fully BSD
compliant, and link in libucb, or you write programs that are straight
Solaris compliant, and you don't. So in general, I wouldn't recommend
that people link in libucb under Solaris.
The cleaner way of fixing the problem is to simply replace all
occurances of "index" with "strchr" and "rindex" with "strrchr". While
calls to index() and rindex() can be found in the libtelnet directories,
though, that code should not have been used, which is why I'm a bit
puzzled.
P.S. BTW, where is the documentation for installing and adminstering the
KDC? There doesn't appear to be anything in the docs directory.
Yes, this is a known problem. We simply haven't had the resources yet
to put together any documentation, other than the man pages, and the
out-dated V4 installation/administration documentation. I know we need
to improve the documentation; if you or anyone else could contribute
some text, it would be greatly appreciated.
Also, when
I run make in either doc/api or doc/implement I get the error message
make: Fatal error: Don't know how to make target `library.idx'
Not being a latex guru, I don't know exactly what to do to correct this.
This is a know problem. There's a program called "index" which will
create the .idx from the .ind file, but apparrently it's not provided on
all systems. I'll look at providing either a replacement, or simply
just including a postscript version of the file for the future.
- Ted