File:  [LON-CAPA] / doc / otherfiles / perl_modules.txt
Revision 1.16: download - view: text, annotated - select for diffs
Thu Oct 23 20:55:38 2003 UTC (21 years ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, HEAD, GCI_3, GCI_2, GCI_1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
- adding docs about PostScript::Simple

LON-CAPA perl modules
May 28, 2001
October 4, 2001
October 20, 2001

Beginning to
index the perl modules
used in constructing
LON-CAPA-systemperl

You can run CVS:loncom/build/system_dependencies/make perltest
to see if you have all the perl modules you need.

Not ordinarily on a 6.2 or 7.1 system

----------------------------------------------- Digest
***NEED TO HAVE DIGEST::MD5, etc IN HERE***
http://www.cpan.org/authors/id/GAAS/Digest-MD5-2.20.tar.gz

----------------------------------------------- Math-FFT
http://www.cpan.org/authors/id/R/RK/RKOBES/Math-FFT-0.25.tar.gz
Randy Kobes [randy@theoryx5.uwinnipeg.ca]

The Math::FFT module provides an interface to various
Fast Fourier Transform (FFT) routines of the C routine of fft4g.c, 
available at http://momonga.t.u-tokyo.ac.jp/~ooura/fft.html.
The one-dimensional data sets, of size 2^n, are assumed
to be sampled at a constant rate.


----------------------------------------------- GDTextUtil
http://www.cpan.org/authors/id/MVERB/GDTextUtil-0.80.tar.gz
This are Text utilities for use with the GD drawing package.

----------------------------------------------- GDGraph3d
 http://www.cpan.org/authors/id/W/WA/WADG/GDGraph3d-0.56.tar.gz
provides 3D graphs for the GD::Graph module by Martien Verbruggen
AUTHOR
    Jeremy Wadsack for Wadsack-Allen Digital Group.
    <dgsupport@wadsack-allen.com>

----------------------------------------------- GDGraph
http://www.cpan.org/authors/id/MVERB/GDGraph-1.33.tar.gz
a package to generate charts
AUTHOR

Martien Verbruggen
mgjv@tradingpost.com.au

FIRST PNG PORT as Chart::PNGgraph

Steve Bonds
sbonds@agora.rdrop.com

----------------------------------------------- Math-Cephes
http://www.cpan.org/authors/id/R/RK/RKOBES/Math-Cephes-0.25.tar.gz
The Math::Cephes module provides a perl interface to over
150 functions of the cephes math library of Stephen Moshier
[moshier@mediaone.net].

Perl interface by Randy Kobes [randy@theoryx5.uwinnipeg.ca]. 

Note, bit arithmetic makes this build architecture dependent
for only IBM-PC-like computers.

perl Makefile.PL
make
make test
make install

files

----------------------------------------------- Math-Random
http://www.cpan.org/authors/id/G/GR/GROMMEL/Math-Random-0.64.tar.gz

Written by Geoffrey Rommel, John Venier and Barry W. Brown.
We use this for the encoded randomizing functions needed for LON-CAPA homework
handling (translation from previous CAPA functions).

John Venier [venier@odin.mdacc.tmc.edu]

perl Makefile.PL
make
make test
make install

----------------------------------------------- GD-Barcode
http://www.cpan.org/modules/by-module/GD/GD-Barcode-1.13.tar.gz
Kawai Takanori [GCD00051@nifty.ne.jp]
                    GD/Barcode.pm
		    GD/Barcode/COOP2of5.pm
		    GD/Barcode/Code39.pm
		    GD/Barcode/EAN13.pm
		    GD/Barcode/EAN8.pm
		    GD/Barcode/IATA2of5.pm
		    GD/Barcode/ITF.pm
		    GD/Barcode/Industrial2of5.pm
		    GD/Barcode/Matrix2of5.pm
		    GD/Barcode/NW7.pm
		    GD/Barcode/UPCA.pm
		    GD/Barcode/UPCE.pm
perl Makefile.PL
make
make test
(as root)
make install

----------------------------------------------- GD
http://www.cpan.org/modules/by-module/GD/GD-1.33.tar.gz
                    GD.pm
Lincoln D. Stein [lstein@cshl.org]

Note: need gd-devel rpm for this
      and libpng-devel
      and freetype-devel
      and X11-devel
#no    this command: ln -s /usr/X11R6/lib/libX11.so.6 /usr/X11R6/lib/libX11.so
#no    this command: ln -s /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so

perl Makefile.PL
Please choose the features that match how libgd was built:
Build JPEG support? [y] 
Build FreeType support? [y] 
Build XPM support? [y] 

make
make test
(as root)
make install
(may also possibly need
http://www.boutell.com/gd/http/gd-1.8.4.tar.gz, see doc/barcode.html)

----------------------------------------------- Algorithm-Diff
http://www.cpan.org/authors/id/N/NE/NEDKONZ/Algorithm-Diff-1.11a.tar.gz
                    Algorithm/Diff.pm
                    Algorithm/Diffold.pm

perl Makefile.PL
make
make test
(as root)
make install

---------------------------------------------- libwww-perl
http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-5.53.tar.gz
		    HTTP/Cookies.pm
		    HTTP/Daemon.pm
		    HTTP/Date.pm
		    HTTP/Headers.pm
		    HTTP/Headers/Auth.pm
		    HTTP/Headers/ETag.pm
		    HTTP/Headers/Util.pm
		    HTTP/Message.pm
		    HTTP/Negotiate.pm
		    HTTP/Request.pm
		    HTTP/Request/Common.pm
		    HTTP/Response.pm
		    HTTP/Status.pm
                    BUNDLE/LWP.pm
                    File/Listing.pm
		    HTML/Form.pm
		    LWP.pm
		    LWP/Authen/Basic.pm
		    LWP/Authen/Digest.pm
		    LWP/Debug.pm
		    LWP/MediaTypes.pm
		    LWP/MemberMixin.pm
		    LWP/Protocol.pm
		    LWP/Protocol/data.pm
		    LWP/Protocol/file.pm
		    LWP/Protocol/ftp.pm
		    LWP/Protocol/gopher.pm
		    LWP/Protocol/http.pm
		    LWP/Protocol/https.pm
		    LWP/Protocol/mailto.pm
		    LWP/Protocol/nntp.pm
		    LWP/RobotUA.pm
		    LWP/Simple.pm
		    LWP/UserAgent.pm

(needs URI, HTML::Parser, MIME::Base64, Net::FTP)

Gisle Aas [gisle@aas.no]

perl Makefile.PL
make
make test
(as root)
make install

---------------------------------------------- HTML-Tagset
http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tagset-3.03.tar.gz
Sean M. Burke [sburke@cpan.org]
		    HTML/Tagset.pm

---------------------------------------------- HTML-Tree
http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Tree-3.11.tar.gz
Gisle Aas [gisle@aas.no]
Sean M. Burke [sburke@cpan.org]
		    HTML/Tree.pm
		    HTML/TreeBuilder.pm
		    HTML/AsSubs.pm
		    HTML/Element.pm
		    HTML/Element/traverse.pm
		    HTML/Parse.pm

---------------------------------------------- HTML-Parser
http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.26.tar.gz
Gisle Aas [gisle@aas.no]
		    HTML/Parser.pm 1
		    HTML/TokeParser.pm 1

Need this patches applied:

diff -u HTML-Parser-3.26/hparser.c HTML-Parser-3.26.simpleslashfix/hparser.c
--- HTML-Parser-3.26/hparser.c	Sun Mar 17 15:07:57 2002
+++ HTML-Parser-3.26.simpleslashfix/hparser.c	Fri Mar 22 13:23:17 2002
@@ -1101,14 +1101,21 @@
     hctype_t tag_name_first, tag_name_char;
     hctype_t attr_name_first, attr_name_char;
 
-    if (p_state->strict_names || p_state->xml_mode) {
+    if (p_state->strict_names) {
 	tag_name_first = attr_name_first = HCTYPE_NAME_FIRST;
 	tag_name_char  = attr_name_char  = HCTYPE_NAME_CHAR;
     }
     else {
-	tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT;
-	attr_name_first = HCTYPE_NOT_SPACE_GT;
-	attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
+       if (p_state->xml_mode) {
+           tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_SLASH_GT;
+           attr_name_first = HCTYPE_NOT_SPACE_SLASH_GT;
+           attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
+       }
+       else {
+           tag_name_first = tag_name_char = HCTYPE_NOT_SPACE_GT;
+           attr_name_first = HCTYPE_NOT_SPACE_GT;
+           attr_name_char  = HCTYPE_NOT_SPACE_EQ_GT;
+       }
     }
 
     s += 2;
@@ -1165,8 +1172,11 @@
 	    else {
 		char *word_start = s;
 		while (s < end && isHNOT_SPACE_GT(*s)) {
-		    if (p_state->xml_mode && *s == '/')
-			break;
+                   if (p_state->xml_mode && *s == '/') {
+                       /* look ahead to see if the tag ends */
+                       if ((s+1)==end || *(s+1)=='>')
+                           break;
+                   }
 		    s++;
 		}
 		if (s == end)

---------------------------------------------- IO-stringy
http://www.cpan.org/authors/id/E/ER/ERYQ/IO-stringy-2.108.tar.gz
(needed by MIME-tools)

---------------------------------------------- MIME-Base64
http://www.cpan.org/authors/id/G/GA/GAAS/MIME-Base64-2.12.tar.gz


---------------------------------------------- MailTools
http://www.cpan.org/authors/id/G/GB/GBARR/MailTools-1.15.tar.gz

---------------------------------------------- MIME-tools
http://www.cpan.org/authors/id/E/ER/ERYQ/MIME-tools-BETA-5.503.tar.gz
Eryq, (eryq@zeegee.com)
		    MIME/Body.pm
		    MIME/Decoder.pm
		    MIME/Decoder/Base64.pm
		    MIME/Decoder/Binary.pm
		    MIME/Decoder/Gzip64.pm
		    MIME/Decoder/NBit.pm
		    MIME/Decoder/QuotedPrint.pm
		    MIME/Decoder/UU.pm
		    MIME/Entity.pm
		    MIME/Field/ConTraEnc.pm
		    MIME/Field/ContDisp.pm
		    MIME/Field/ContType.pm
		    MIME/Field/ParamVal.pm
		    MIME/Head.pm
		    MIME/Parser.pm
		    MIME/Parser/Filer.pm
		    MIME/Parser/Reader.pm
		    MIME/Parser/Results.pm
		    MIME/Tools.pm
		    MIME/Words.pm

----------------------------------------------- libnet
http://www.cpan.org/authors/id/G/GB/GBARR/libnet-1.0704.tar.gz
http://www.cpan.org/authors/id/GBARR/Net-PH-2.21.tar.gz
http://www.cpan.org/authors/id/GBARR/Net-SNPP-1.12.tar.gz

Graham Barr [gbarr@pobox.com]
		    Net/Cmd.pm
		    Net/Config.pm
		    Net/Domain.pm
		    Net/DummyInetd.pm
		    Net/FTP.pm
		    Net/FTP/A.pm
		    Net/FTP/E.pm
		    Net/FTP/I.pm
		    Net/FTP/L.pm
		    Net/FTP/dataconn.pm
		    Net/NNTP.pm
		    Net/Netrc.pm
		    Net/PH.pm
		    Net/POP3.pm
		    Net/SMTP.pm
		    Net/SNPP.pm
		    Net/Time.pm

---------------------------------------------- Text-Query-...
http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-Advanced-0.05.tar.gz
http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-0.07.tar.gz
http://www.cpan.org/authors/id/E/EB/EBOHLMAN/Text-Query-Simple-0.03.tar.gz
Eric Bohlman [ebohlman@netcom.com]
Loic Dachary [loic@senga.org]
		    Text/Query.pm
		    Text/Query/Advanced.pm
		    Text/Query/Build.pm
		    Text/Query/BuildAdvancedString.pm
		    Text/Query/BuildSimpleString.pm
		    Text/Query/Optimize.pm
		    Text/Query/Parse.pm
		    Text/Query/ParseAdvanced.pm
		    Text/Query/ParseSimple.pm
		    Text/Query/Simple.pm
		    Text/Query/Solve.pm
		    Text/Query/SolveAdvancedString.pm
		    Text/Query/SolveSimpleString.pm

---------------------------------------------- Krb4
http://www.cpan.org/authors/id/J/JH/JHORWITZ/Krb4-1.1.tar.gz
Need kerberos 4 from http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
[root@kirk krb4-0.10.1]# diff configure.in configure.in~
27c27
< AC_PREFIX_DEFAULT(/usr/local/krb4)
---
> AC_PREFIX_DEFAULT(/usr/athena)
    /usr/local/krb4 is what you want on this line!!!!
autoconf configure.in > configure

autoconf must be 2.52 so compile this from source too
also install flex to configure krb4
and install yacc
Jeff Horwitz [jeff@smashing.org]
		    Authen/Krb4.pm

---------------------------------------------- Crypt-DES/IDEA
http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.03.tar.gz
http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-IDEA-1.01.tar.gz
Dave Paris [amused@pobox.com]
		    Crypt/DES.pm
		    Crypt/IDEA.pm

---------------------------------------------- DBI
http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.20.tar.gz
Tim Bunce [Tim.Bunce@pobox.com]
		    DBD/ADO.pm
		    DBD/ExampleP.pm
		    DBD/Multiplex.pm
		    DBD/NullP.pm
		    DBD/Proxy.pm
		    DBD/Sponge.pm
		    DBD/mysql.pm
		    DBI.pm
		    DBI/DBD.pm
		    DBI/FAQ.pm
		    DBI/Format.pm
		    DBI/ProxyServer.pm
		    DBI/Shell.pm
		    DBI/W32ODBC.pm

---------------------------------------------- Safe-Hole
http://www.cpan.org/authors/id/S/SE/SEYN/Safe-Hole-0.08.tar.gz
Sey Nakajima [sey@jkc.co.jp]

---------------------------------------------- Msql-Mysql-modules
http://www.cpan.org/authors/id/J/JW/JWIED/Msql-Mysql-modules-1.2216.tar.gz
Jochen Wiedmann [joe@ispsoft.de]

[root@fenchurch Msql-Mysql-modules-1.2215]# perl Makefile.PL 
Which drivers do you want to install?

    1)	MySQL only
    2)	mSQL only (either of mSQL 1 or mSQL 2)
    3)  MySQL and mSQL (either of mSQL 1 or mSQL 2)

    4)  mSQL 1 and mSQL 2
    5)  MySQL, mSQL 1 and mSQL 2

Enter the appropriate number:  [3] 1

Do you want to install the MysqlPerl emulation? You might keep your old
Mysql module (to be distinguished from DBD::mysql!) if you are concerned
about compatibility to existing applications! [y] n
Where is your MySQL installed? Please tell me the directory that
contains the subdir 'include'. [/usr/local/mysql] 
Which database should I use for testing the MySQL drivers? [test] 
On which host is database test running (hostname, ip address
or host:port) [localhost] 
User name for connecting to database test? [undef]
Password for connecting to database test? [undef]
[root@fenchurch Msql-Mysql-modules-1.2215]# make
[root@fenchurch Msql-Mysql-modules-1.2215]# make test
make[1]: Entering directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
make[1]: Leaving directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
make[1]: Entering directory `/home/user/Msql-Mysql-modules-1.2215/mysql'
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

To test, make sure that root does not have a password
in the mysql::user table. (You should reset the password
after this with mysqladmin -u root password 'new-password').

---------------------------------------------- mod_perl
http://www.cpan.org/authors/id/DOUGM/mod_perl-1.26.tar.gz

Just 6.2 needs these extras

---------------------------------------------- IO
http://www.cpan.org/authors/id/G/GB/GBARR/IO-1.20.tar.gz
Graham Barr [gbarr@pobox.com]
		    IO/Dir.pm
		    IO/Poll.pm
		    IO/Socket/INET.pm
		    IO/Socket/UNIX.pm


**** IMPORTANT NOTE ****
For things to work well for perl 5.005 (redhat 6.2)
older versions of
 /usr/lib/perl5/5.00503/i386-linux/IO.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/File.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/Handle.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/Pipe.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/Seekable.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/Select.pm
 /usr/lib/perl5/5.00503/i386-linux/IO/Socket.pm
 /usr/lib/perl5/5.00503/i386-linux/auto/IO/IO.so
are needed (can rewrite with rpm -Uvh perl after
installing LON-CAPA-systemperl).

perl Makefile.PL
make
make test
(as root)
make install

---------------------------------------------- PostScript-Simple
http://www.cpan.org/authors/id/M/MC/MCNEWTON/PostScript-Simple-0.05.tar.gz
Matthew C. Newton perl03@newtoncomputing.co.uk
                    PostScript/Simple.pm

perl Makefile.pl
make
make test
(as root)
make install

and others...
(document incomplete)

cat systemperl_files.txt | perl make_rpm.pl systemperl 3.1 '' '' SYSTEMPERL

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