File:  [LON-CAPA] / doc / krb_note.txt
Revision 1.1: download - view: text, annotated - select for diffs
Fri Sep 29 22:42:28 2000 UTC (21 years, 9 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
stuff about the whole "get the kerberos system to build right so that it
will work with the perl api module" -Scott

"Kerberos and LON-CAPA, The Way it Should Be Done"
==================================================

produced by Penguin Dementia Publications (aka Scott)

Ok, this is originally saved as doc/krb_note.txt in the
CVS repository.

Here is the build process, carved into stone
(we've done this multiple ways in the past, including
a crazily customized perl-kerberos-module Makefile_krb
that is different than what is generated by
"perl Makefile.PL").

I'm trying to do this "the right way".  So here are the steps:

* Get the perl kerberos module from CPAN (http://www.cpan.org/)
  The module version I got was
  Krb4-1.1

* Get athena-kerberos-version-4
  The tarball looks like this:
  krb4-0.10.1.tar
  
On the world-wide web, an example URL to get this is
  http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
  Suffice it to say the tarball will likely be maintained/retained
  for sometime in the sunsite-->metalab-->ibiblio repository system
  There are several more recent releases since Sept 1999, but
  I'm not trying to change-everything-at-once right now.

* Install athena-kerberos-version-4 by
  altering configure.in to read
[root@kirk krb4-0.10.1]# diff configure.in configure.in~
27c27
< AC_PREFIX_DEFAULT(/usr/local/krb4)
---
> AC_PREFIX_DEFAULT(/usr/athena)
     
    /usr/local/krb4 is what you want on this line!!!!

* generate new configure file by typing this command
 
   autoconf configure.in > configure

* then of course 
   ./configure
* then
  make
* then
  make install

The file listing of this will be in doc/otherfiles on the
CVS repository (installed binaries).

* the perl module will now install correctly
  (before it hiccupped, coughed, was severely upset
   due to kerberos being in /usr/athena as opposed to /usr/local/krb4)

* perl module installation is as usual
  perl Makefile.PL; make; make test; make install

* go get a cup of coffee so you don't see all the weird warning
  messages that flash at you

* it really works



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>