File:  [LON-CAPA] / doc / build / Attic / barcode.html
Revision 1.1: download - view: text, annotated - select for diffs
Mon Apr 23 13:09:12 2001 UTC (23 years, 2 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
describes build and usage of barcoding in LON-CAPA

LON-CAPA-barcode-3.1-1.i386.rpm
gd, GD.pm, and GD-Barcode.pm

-Scott

    1: <pre>
    2: * determing source build procedure for
    3:   LON-CAPA-barcode-3.1-1.i386.rpm
    4:   Components:
    5:   + gd library
    6:   + GD perl module
    7:   + GD Barcode perl module
    8: 
    9: Looking
   10: at things for a bit, I've decided to go with the newer,
   11: more powerful GD-Barcode perl module as opposed to 
   12: the Barcode-Code128 perl module.
   13: 
   14: These are the installation instructions and sample
   15: png images in case you are interested. These instructions
   16: work for the RedHat-6.2/LON-CAPA development distribution.
   17: 
   18: wget http://www.boutell.com/gd/http/gd-1.8.4.tar.gz
   19: tar xzvf gd-1.8.4.tar.gz
   20: wget http://www.cpan.org/modules/by-module/GD/GD-1.33.tar.gz
   21: tar xzvf GD-1.33.tar.gz
   22: cd GD-1.33
   23: cp patch_gd.pl ../gd-1.8.4
   24: cd ../gd-1.8.4
   25: perl patch_gd.pl
   26: ./configure
   27: make
   28: make check
   29: (as root)
   30: make install
   31: cd ../GD-1.33
   32: perl Makefile.PL
   33: Build JPEG support? [y] n
   34: Build FreeType support? [y] n
   35: Build XPM support? [y] n
   36: make
   37: make test
   38: (as root)
   39: make install
   40: wget http://www.cpan.org/modules/by-module/GD/GD-Barcode-1.13.tar.gz
   41: tar xzvf GD-Barcode-1.13.tar.gz
   42: cd GD-Barcode-1.13
   43: perl Makefile.PL
   44: make
   45: make test
   46: (as root)
   47: make install
   48: 
   49: I am going to now calculate the installed files, ownerships, and
   50: permissions, and make part of the LON-CAPA installation
   51: (LON-CAPA-barcode-3.1-1.i386.rpm).
   52: 
   53: -Scott
   54: </pre>

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