[LON-CAPA-cvs] cvs: modules /matthew/systemperl systemperl-build-notes.txt

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 01 Nov 2004 16:18:13 -0000


matthew		Mon Nov  1 11:18:13 2004 EDT

  Added files:                 
    /modules/matthew/systemperl	systemperl-build-notes.txt 
  Log:
  Notes on building the systemperl.
  
  

Index: modules/matthew/systemperl/systemperl-build-notes.txt
+++ modules/matthew/systemperl/systemperl-build-notes.txt

Get the kit.  The kit consists of:

gd-2.0.12.tar.gz
hparser_patch
Krb4_patch
Krb4.so.3.5
Krb5_patch 
make_systemperl.sh
make_rpm.pl
prepare_systemperl.pl
String-Similarity-0.02.tar


Configure cpan.
   If you have a previously configured cpan that isn't correct (doesn't point
   to unzip properly, for instance), you can reconfigure it:
      o conf unzip   /usr/bin/unzip
      o conf commit

You'll want to be sure freetype-devel is installed

modify make_systemperl.sh to have the new version number.

Modify prepare_systemperl.pl to point to the directory structure you have
in place.  Look for the variable $basedir.  Don't forget to include whatever
new dependencies there are.


Run prepare_systemperl.pl

Verify that modules/HTML-Parser-3.36/hparser.c was patched

Copy the Krb4.so.3.5 to 
    root/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Authen/Krb4/Krb4.so

Run make_systemperl.sh

Verify things aren't too different by looking at the files listed in the rpm.
less LON-CAPA-systemperl-3.13-rh7.i386.rpm  > files_1.13
less LON-CAPA-systemperl-3.14-rh7.i386.rpm  > files_1.14
use emacs to remove the date information and diff -u files_1.1? | less