Annotation of doc/otherfiles/perl_modules.txt, revision 1.13

1.1       harris41    1: LON-CAPA perl modules
                      2: Scott Harrison
                      3: May 28, 2001
1.4       harris41    4: October 4, 2001
1.7       harris41    5: October 20, 2001
1.1       harris41    6: 
                      7: Beginning to
                      8: index the perl modules
                      9: used in constructing
                     10: LON-CAPA-systemperl
                     11: 
1.4       harris41   12: You can run CVS:loncom/build/system_dependencies/make perltest
                     13: to see if you have all the perl modules you need.
                     14: 
                     15: Not ordinarily on a 6.2 or 7.1 system
                     16: 
1.8       harris41   17: ----------------------------------------------- Digest
                     18: ***NEED TO HAVE DIGEST::MD5, etc IN HERE***
                     19: 
1.7       harris41   20: ----------------------------------------------- Math-FFT
                     21: http://www.linuxjar.com/CPAN/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz
                     22: Randy Kobes [randy@theoryx5.uwinnipeg.ca]
                     23: 
                     24: The Math::FFT module provides an interface to various
                     25: Fast Fourier Transform (FFT) routines of the C routine of fft4g.c, 
                     26: available at http://momonga.t.u-tokyo.ac.jp/~ooura/fft.html.
                     27: The one-dimensional data sets, of size 2^n, are assumed
                     28: to be sampled at a constant rate.
                     29: 
                     30: 
1.6       harris41   31: ----------------------------------------------- GDTextUtil
                     32: http://www.cpan.org/authors/id/MVERB/GDTextUtil-0.80.tar.gz
                     33: This are Text utilities for use with the GD drawing package.
                     34: 
                     35: ----------------------------------------------- GDGraph3d
                     36:  http://www.cpan.org/authors/id/W/WA/WADG/GDGraph3d-0.56.tar.gz
                     37: provides 3D graphs for the GD::Graph module by Martien Verbruggen
                     38: AUTHOR
                     39:     Jeremy Wadsack for Wadsack-Allen Digital Group.
                     40:     <dgsupport@wadsack-allen.com>
                     41: 
                     42: ----------------------------------------------- GDGraph
                     43: http://www.cpan.org/authors/id/MVERB/GDGraph-1.33.tar.gz
                     44: a package to generate charts
                     45: AUTHOR
                     46: 
                     47: Martien Verbruggen
                     48: mgjv@tradingpost.com.au
                     49: 
                     50: FIRST PNG PORT as Chart::PNGgraph
                     51: 
                     52: Steve Bonds
                     53: sbonds@agora.rdrop.com
                     54: 
1.2       harris41   55: ----------------------------------------------- Math-Cephes
1.1       harris41   56: http://www.cpan.org/authors/id/R/RK/RKOBES/Math-Cephes-0.25.tar.gz
1.2       harris41   57: The Math::Cephes module provides a perl interface to over
1.4       harris41   58: 150 functions of the cephes math library of Stephen Moshier
                     59: [moshier@mediaone.net].
                     60: 
                     61: Perl interface by Randy Kobes [randy@theoryx5.uwinnipeg.ca]. 
1.2       harris41   62: 
                     63: Note, bit arithmetic makes this build architecture dependent
                     64: for only IBM-PC-like computers.
                     65: 
                     66: perl Makefile.PL
                     67: make
                     68: make test
                     69: make install
                     70: 
                     71: files
                     72: 
1.3       harris41   73: ----------------------------------------------- Math-Random
1.10      harris41   74: http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Random-0.64.tar.gz
1.1       harris41   75: 
1.4       harris41   76: Written by Geoffrey Rommel, John Venier and Barry W. Brown.
                     77: We use this for the encoded randomizing functions needed for LON-CAPA homework
                     78: handling (translation from previous CAPA functions).
                     79: 
                     80: John Venier [venier@odin.mdacc.tmc.edu]
                     81: 
                     82: perl Makefile.PL
                     83: make
                     84: make test
                     85: make install
                     86: 
                     87: ----------------------------------------------- GD-Barcode
                     88: http://www.cpan.org/modules/by-module/GD/GD-Barcode-1.13.tar.gz
1.5       harris41   89: Kawai Takanori [GCD00051@nifty.ne.jp]
1.4       harris41   90:                     GD/Barcode.pm
                     91: 		    GD/Barcode/COOP2of5.pm
                     92: 		    GD/Barcode/Code39.pm
                     93: 		    GD/Barcode/EAN13.pm
                     94: 		    GD/Barcode/EAN8.pm
                     95: 		    GD/Barcode/IATA2of5.pm
                     96: 		    GD/Barcode/ITF.pm
                     97: 		    GD/Barcode/Industrial2of5.pm
                     98: 		    GD/Barcode/Matrix2of5.pm
                     99: 		    GD/Barcode/NW7.pm
                    100: 		    GD/Barcode/UPCA.pm
                    101: 		    GD/Barcode/UPCE.pm
                    102: perl Makefile.PL
                    103: make
                    104: make test
                    105: (as root)
                    106: make install
                    107: 
                    108: ----------------------------------------------- GD
                    109: http://www.cpan.org/modules/by-module/GD/GD-1.33.tar.gz
                    110:                     GD.pm
1.5       harris41  111: Lincoln D. Stein [lstein@cshl.org]
1.4       harris41  112: 
                    113: Note: need gd-devel rpm for this
                    114:       and libpng-devel
                    115:       and freetype-devel
1.7       harris41  116:       and X11-devel
                    117: #no    this command: ln -s /usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libX11.so
                    118: #no    this command: ln -s /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so
1.3       harris41  119: 
                    120: perl Makefile.PL
1.7       harris41  121: Please choose the features that match how libgd was built:
                    122: Build JPEG support? [y] 
                    123: Build FreeType support? [y] 
                    124: Build XPM support? [y] 
                    125: 
1.3       harris41  126: make
                    127: make test
1.4       harris41  128: (as root)
1.3       harris41  129: make install
1.4       harris41  130: (may also possibly need
                    131: http://www.boutell.com/gd/http/gd-1.8.4.tar.gz, see doc/barcode.html)
                    132: 
                    133: ----------------------------------------------- Algorithm-Diff
                    134: http://www.cpan.org/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.11a.tar.gz
                    135:                     Algorithm/Diff.pm
                    136:                     Algorithm/Diffold.pm
                    137: 
                    138: perl Makefile.PL
                    139: make
                    140: make test
                    141: (as root)
                    142: make install
                    143: 
                    144: ---------------------------------------------- libwww-perl
                    145: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-5.53.tar.gz
                    146: 		    HTTP/Cookies.pm
                    147: 		    HTTP/Daemon.pm
                    148: 		    HTTP/Date.pm
                    149: 		    HTTP/Headers.pm
                    150: 		    HTTP/Headers/Auth.pm
                    151: 		    HTTP/Headers/ETag.pm
                    152: 		    HTTP/Headers/Util.pm
                    153: 		    HTTP/Message.pm
                    154: 		    HTTP/Negotiate.pm
                    155: 		    HTTP/Request.pm
                    156: 		    HTTP/Request/Common.pm
                    157: 		    HTTP/Response.pm
                    158: 		    HTTP/Status.pm
                    159:                     BUNDLE/LWP.pm
                    160:                     File/Listing.pm
                    161: 		    HTML/Form.pm
                    162: 		    LWP.pm
                    163: 		    LWP/Authen/Basic.pm
                    164: 		    LWP/Authen/Digest.pm
                    165: 		    LWP/Debug.pm
                    166: 		    LWP/MediaTypes.pm
                    167: 		    LWP/MemberMixin.pm
                    168: 		    LWP/Protocol.pm
                    169: 		    LWP/Protocol/data.pm
                    170: 		    LWP/Protocol/file.pm
                    171: 		    LWP/Protocol/ftp.pm
                    172: 		    LWP/Protocol/gopher.pm
                    173: 		    LWP/Protocol/http.pm
                    174: 		    LWP/Protocol/https.pm
                    175: 		    LWP/Protocol/mailto.pm
                    176: 		    LWP/Protocol/nntp.pm
                    177: 		    LWP/RobotUA.pm
                    178: 		    LWP/Simple.pm
                    179: 		    LWP/UserAgent.pm
                    180: 
                    181: (needs URI, HTML::Parser, MIME::Base64, Net::FTP)
                    182: 
                    183: Gisle Aas [gisle@aas.no]
                    184: 
                    185: perl Makefile.PL
                    186: make
                    187: make test
                    188: (as root)
                    189: make install
                    190: 
                    191: ---------------------------------------------- HTML-Tagset
                    192: http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tagset-3.03.tar.gz
                    193: Sean M. Burke [sburke@cpan.org]
                    194: 		    HTML/Tagset.pm
                    195: 
                    196: ---------------------------------------------- HTML-Tree
                    197: http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tree-3.11.tar.gz
                    198: Gisle Aas [gisle@aas.no]
                    199: Sean M. Burke [sburke@cpan.org]
                    200: 		    HTML/Tree.pm
                    201: 		    HTML/TreeBuilder.pm
                    202: 		    HTML/AsSubs.pm
                    203: 		    HTML/Element.pm
                    204: 		    HTML/Element/traverse.pm
                    205: 		    HTML/Parse.pm
                    206: 
                    207: ---------------------------------------------- HTML-Parser
1.13    ! albertel  208: http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.26.tar.gz
1.4       harris41  209: Gisle Aas [gisle@aas.no]
                    210: 		    HTML/Parser.pm 1
                    211: 		    HTML/TokeParser.pm 1
                    212: 
1.13    ! albertel  213: Need this patches applied:
1.12      albertel  214: 
1.13    ! albertel  215: diff -u HTML-Parser-3.26/hparser.c HTML-Parser-3.26.simpleslashfix/hparser.c
        !           216: --- HTML-Parser-3.26/hparser.c	Sun Mar 17 15:07:57 2002
        !           217: +++ HTML-Parser-3.26.simpleslashfix/hparser.c	Fri Mar 22 13:23:17 2002
        !           218: @@ -1101,14 +1101,21 @@
1.12      albertel  219:      hctype_t tag_name_first, tag_name_char;
                    220:      hctype_t attr_name_first, attr_name_char;
                    221:  
                    222: -    if (p_state->strict_names || p_state->xml_mode) {
                    223: +    if (p_state->strict_names) {
                    224:  	tag_name_first = attr_name_first = HCTYPE_NAME_FIRST;
                    225:  	tag_name_char  = attr_name_char  = HCTYPE_NAME_CHAR;
                    226:      }
                    227:      else {
                    228: -	tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT;
                    229: -	attr_name_first = HCTYPE_NOT_SPACE_GT;
                    230: -	attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
1.13    ! albertel  231: +       if (p_state->xml_mode) {
        !           232: +           tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_SLASH_GT;
        !           233: +           attr_name_first = HCTYPE_NOT_SPACE_SLASH_GT;
        !           234: +           attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
        !           235: +       }
        !           236: +       else {
        !           237: +           tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT;
        !           238: +           attr_name_first = HCTYPE_NOT_SPACE_GT;
        !           239: +           attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
        !           240: +       }
1.12      albertel  241:      }
                    242:  
                    243:      s += 2;
1.13    ! albertel  244: @@ -1165,8 +1172,11 @@
1.12      albertel  245:  	    else {
                    246:  		char *word_start = s;
                    247:  		while (s < end && isHNOT_SPACE_GT(*s)) {
                    248: -		    if (p_state->xml_mode && *s == '/')
                    249: -			break;
1.13    ! albertel  250: +                   if (p_state->xml_mode && *s == '/') {
        !           251: +                       /* look ahead to see if the tag ends */
        !           252: +                       if ((s+1)==end || *(s+1)=='>')
        !           253: +                           break;
        !           254: +                   }
1.12      albertel  255:  		    s++;
                    256:  		}
                    257:  		if (s == end)
                    258: 
1.4       harris41  259: ---------------------------------------------- IO-stringy
                    260: http://www.cpan.org/authors/id/E/ER/ERYQ/IO-stringy-2.108.tar.gz
1.11      harris41  261: (needed by MIME-tools)
1.4       harris41  262: 
                    263: ---------------------------------------------- MIME-Base64
                    264: http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz
                    265: 
                    266: 
                    267: ---------------------------------------------- MailTools
                    268: http://www.cpan.org/authors/id/G/GB/GBARR/MailTools-1.15.tar.gz
                    269: 
                    270: ---------------------------------------------- MIME-tools
                    271: http://www.cpan.org/authors/id/E/ER/ERYQ/MIME-tools-BETA-5.503.tar.gz
                    272: Eryq, (eryq@zeegee.com)
                    273: 		    MIME/Body.pm
                    274: 		    MIME/Decoder.pm
                    275: 		    MIME/Decoder/Base64.pm
                    276: 		    MIME/Decoder/Binary.pm
                    277: 		    MIME/Decoder/Gzip64.pm
                    278: 		    MIME/Decoder/NBit.pm
                    279: 		    MIME/Decoder/QuotedPrint.pm
                    280: 		    MIME/Decoder/UU.pm
                    281: 		    MIME/Entity.pm
                    282: 		    MIME/Field/ConTraEnc.pm
                    283: 		    MIME/Field/ContDisp.pm
                    284: 		    MIME/Field/ContType.pm
                    285: 		    MIME/Field/ParamVal.pm
                    286: 		    MIME/Head.pm
                    287: 		    MIME/Parser.pm
                    288: 		    MIME/Parser/Filer.pm
                    289: 		    MIME/Parser/Reader.pm
                    290: 		    MIME/Parser/Results.pm
                    291: 		    MIME/Tools.pm
                    292: 		    MIME/Words.pm
                    293: 
                    294: ----------------------------------------------- libnet
                    295: http://www.cpan.org/authors/id/G/GB/GBARR/libnet-1.0704.tar.gz
                    296: http://www.cpan.org/authors/id/GBARR/Net-PH-2.21.tar.gz
                    297: http://www.cpan.org/authors/id/GBARR/Net-SNPP-1.12.tar.gz
                    298: 
                    299: Graham Barr [gbarr@pobox.com]
                    300: 		    Net/Cmd.pm
                    301: 		    Net/Config.pm
                    302: 		    Net/Domain.pm
                    303: 		    Net/DummyInetd.pm
                    304: 		    Net/FTP.pm
                    305: 		    Net/FTP/A.pm
                    306: 		    Net/FTP/E.pm
                    307: 		    Net/FTP/I.pm
                    308: 		    Net/FTP/L.pm
                    309: 		    Net/FTP/dataconn.pm
                    310: 		    Net/NNTP.pm
                    311: 		    Net/Netrc.pm
                    312: 		    Net/PH.pm
                    313: 		    Net/POP3.pm
                    314: 		    Net/SMTP.pm
                    315: 		    Net/SNPP.pm
                    316: 		    Net/Time.pm
                    317: 
                    318: ---------------------------------------------- Text-Query-...
                    319: http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-Advanced-0.05.tar.gz
                    320: http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-0.07.tar.gz
                    321: http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-Simple-0.03.tar.gz
                    322: Eric Bohlman [ebohlman@netcom.com]
                    323: Loic Dachary [loic@senga.org]
                    324: 		    Text/Query.pm
                    325: 		    Text/Query/Advanced.pm
                    326: 		    Text/Query/Build.pm
                    327: 		    Text/Query/BuildAdvancedString.pm
                    328: 		    Text/Query/BuildSimpleString.pm
                    329: 		    Text/Query/Optimize.pm
                    330: 		    Text/Query/Parse.pm
                    331: 		    Text/Query/ParseAdvanced.pm
                    332: 		    Text/Query/ParseSimple.pm
                    333: 		    Text/Query/Simple.pm
                    334: 		    Text/Query/Solve.pm
                    335: 		    Text/Query/SolveAdvancedString.pm
                    336: 		    Text/Query/SolveSimpleString.pm
                    337: 
                    338: ---------------------------------------------- Krb4
                    339: http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb4-1.1.tar.gz
                    340: Need kerberos 4 from http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
                    341: [root@kirk krb4-0.10.1]# diff configure.in configure.in~
                    342: 27c27
                    343: < AC_PREFIX_DEFAULT(/usr/local/krb4)
                    344: ---
                    345: > AC_PREFIX_DEFAULT(/usr/athena)
                    346:     /usr/local/krb4 is what you want on this line!!!!
                    347: autoconf configure.in > configure
                    348: 
                    349: autoconf must be 2.52 so compile this from source too
                    350: also install flex to configure krb4
                    351: and install yacc
                    352: Jeff Horwitz [jeff@smashing.org]
                    353: 		    Authen/Krb4.pm
                    354: 
                    355: ---------------------------------------------- Crypt-DES/IDEA
1.10      harris41  356: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.03.tar.gz
1.4       harris41  357: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-IDEA-1.01.tar.gz
                    358: Dave Paris [amused@pobox.com]
                    359: 		    Crypt/DES.pm
                    360: 		    Crypt/IDEA.pm
                    361: 
                    362: ---------------------------------------------- DBI
                    363: http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.20.tar.gz
                    364: Tim Bunce [Tim.Bunce@pobox.com]
                    365: 		    DBD/ADO.pm
                    366: 		    DBD/ExampleP.pm
                    367: 		    DBD/Multiplex.pm
                    368: 		    DBD/NullP.pm
                    369: 		    DBD/Proxy.pm
                    370: 		    DBD/Sponge.pm
                    371: 		    DBD/mysql.pm
                    372: 		    DBI.pm
                    373: 		    DBI/DBD.pm
                    374: 		    DBI/FAQ.pm
                    375: 		    DBI/Format.pm
                    376: 		    DBI/ProxyServer.pm
                    377: 		    DBI/Shell.pm
                    378: 		    DBI/W32ODBC.pm
                    379: 
                    380: ---------------------------------------------- Safe-Hole
                    381: http://www.cpan.org/authors/id/S/SE/SEYN/Safe-Hole-0.08.tar.gz
                    382: Sey Nakajima [sey@jkc.co.jp]
                    383: 
                    384: ---------------------------------------------- Msql-Mysql-modules
                    385: http://www.cpan.org/authors/id/J/JW/JWIED/Msql-Mysql-modules-1.2216.tar.gz
                    386: Jochen Wiedmann [joe@ispsoft.de]
                    387: 
                    388: [root@fenchurch Msql-Mysql-modules-1.2215]# perl Makefile.PL 
                    389: Which drivers do you want to install?
                    390: 
                    391:     1)	MySQL only
                    392:     2)	mSQL only (either of mSQL 1 or mSQL 2)
                    393:     3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)
                    394: 
                    395:     4)  mSQL 1 and mSQL 2
                    396:     5)  MySQL, mSQL 1 and mSQL 2
                    397: 
                    398: Enter the appropriate number:  [3] 1
                    399: 
                    400: Do you want to install the MysqlPerl emulation? You might keep your old
                    401: Mysql module (to be distinguished from DBD::mysql!) if you are concerned
                    402: about compatibility to existing applications! [y] n
                    403: Where is your MySQL installed? Please tell me the directory that
                    404: contains the subdir 'include'. [/usr/local/mysql] 
                    405: Which database should I use for testing the MySQL drivers? [test] 
                    406: On which host is database test running (hostname, ip address
                    407: or host:port) [localhost] 
                    408: User name for connecting to database test? [undef]
                    409: Password for connecting to database test? [undef]
                    410: [root@fenchurch Msql-Mysql-modules-1.2215]# make
                    411: [root@fenchurch Msql-Mysql-modules-1.2215]# make test
                    412: make[1]: Entering directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
                    413: make[1]: Leaving directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
                    414: make[1]: Entering directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
                    415: PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
                    416: 
1.7       harris41  417: To test, make sure that root does not have a password
                    418: in the mysql::user table. (You should reset the password
                    419: after this with mysqladmin -u root password 'new-password').
                    420: 
                    421: ---------------------------------------------- mod_perl
1.5       harris41  422: http://www.cpan.org/authors/id/DOUGM/mod_perl-1.26.tar.gz
1.4       harris41  423: 
                    424: Just 6.2 needs these extras
                    425: 
                    426: ---------------------------------------------- IO
                    427: http://www.cpan.org/authors/id/G/GB/GBARR/IO-1.20.tar.gz
                    428: Graham Barr [gbarr@pobox.com]
                    429: 		    IO/Dir.pm
                    430: 		    IO/Poll.pm
                    431: 		    IO/Socket/INET.pm
                    432: 		    IO/Socket/UNIX.pm
                    433: 
1.9       harris41  434: 
                    435: **** IMPORTANT NOTE ****
                    436: For things to work well for perl 5.005 (redhat 6.2)
                    437: older versions of
                    438:  /usr/lib/perl5/5.00503/i386-linux/IO.pm
                    439:  /usr/lib/perl5/5.00503/i386-linux/IO/File.pm
                    440:  /usr/lib/perl5/5.00503/i386-linux/IO/Handle.pm
                    441:  /usr/lib/perl5/5.00503/i386-linux/IO/Pipe.pm
                    442:  /usr/lib/perl5/5.00503/i386-linux/IO/Seekable.pm
                    443:  /usr/lib/perl5/5.00503/i386-linux/IO/Select.pm
                    444:  /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm
                    445:  /usr/lib/perl5/5.00503/i386-linux/auto/IO/IO.so
                    446: are needed (can rewrite with rpm -Uvh perl after
                    447: installing LON-CAPA-systemperl).
                    448: 
1.4       harris41  449: perl Makefile.PL
                    450: make
                    451: make test
                    452: (as root)
                    453: make install
                    454: 
1.1       harris41  455: 
                    456: and others...
                    457: (document incomplete)
                    458: 
1.3       harris41  459: cat systemperl_files.txt | perl make_rpm.pl systemperl 3.1 '' '' SYSTEMPERL

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