File:  [LON-CAPA] / doc / krb_note.txt
Revision 1.2: download - view: text, annotated - select for diffs
Tue Oct 9 19:27:54 2001 UTC (20 years, 10 months ago) by harris41
Branches: MAIN
CVS tags: version_0_4, stable_2002_spring, stable_2002_july, stable_2002_april, stable_2001_fall, STABLE, HEAD
adding in rh7.1 note on needing devel rpms

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

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