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 (23 years, 6 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

    1: "Kerberos and LON-CAPA, The Way it Should Be Done"
    2: ==================================================
    3: 
    4: produced by Penguin Dementia Publications (aka Scott)
    5: 
    6: Ok, this is originally saved as doc/krb_note.txt in the
    7: CVS repository.
    8: 
    9: Here is the build process, carved into stone
   10: (we've done this multiple ways in the past, including
   11: a crazily customized perl-kerberos-module Makefile_krb
   12: that is different than what is generated by
   13: "perl Makefile.PL").
   14: 
   15: I'm trying to do this "the right way".  So here are the steps:
   16: 
   17: * Get the perl kerberos module from CPAN (http://www.cpan.org/)
   18:   The module version I got was
   19:   Krb4-1.1
   20: 
   21: * Get athena-kerberos-version-4
   22:   The tarball looks like this:
   23:   krb4-0.10.1.tar
   24:   
   25: On the world-wide web, an example URL to get this is
   26:   http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
   27:   Suffice it to say the tarball will likely be maintained/retained
   28:   for sometime in the sunsite-->metalab-->ibiblio repository system
   29:   There are several more recent releases since Sept 1999, but
   30:   I'm not trying to change-everything-at-once right now.
   31: 
   32: * Install athena-kerberos-version-4 by
   33:   altering configure.in to read
   34: [root@kirk krb4-0.10.1]# diff configure.in configure.in~
   35: 27c27
   36: < AC_PREFIX_DEFAULT(/usr/local/krb4)
   37: ---
   38: > AC_PREFIX_DEFAULT(/usr/athena)
   39:      
   40:     /usr/local/krb4 is what you want on this line!!!!
   41: 
   42: * generate new configure file by typing this command
   43:  
   44:    autoconf configure.in > configure
   45: 
   46: * then of course 
   47:    ./configure
   48: * then
   49:   make
   50: * then
   51:   make install
   52: 
   53: The file listing of this will be in doc/otherfiles on the
   54: CVS repository (installed binaries).
   55: 
   56: * the perl module will now install correctly
   57:   (before it hiccupped, coughed, was severely upset
   58:    due to kerberos being in /usr/athena as opposed to /usr/local/krb4)
   59: 
   60: * perl module installation is as usual
   61:   perl Makefile.PL; make; make test; make install
   62: 
   63: * go get a cup of coffee so you don't see all the weird warning
   64:   messages that flash at you
   65: 
   66: * it really works
   67: 
   68: 

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