summaryrefslogtreecommitdiffstats
path: root/docs/en/xml/modules.xml
blob: 5017e241b50f5641e0666e75894b925756e82b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
     License, v. 2.0. If a copy of the MPL was not distributed with this
     file, You can obtain one at http://mozilla.org/MPL/2.0/.

     This Source Code Form is "Incompatible With Secondary Licenses", as
     defined by the Mozilla Public License, v. 2.0.
-->
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
                      "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
    <!ENTITY % myents SYSTEM "bugzilla.ent">
    %myents;
]>

<appendix id="install-perlmodules-manual">
  <title>Manual Installation of Perl Modules</title>
  
  <section id="modules-manual-instructions">
    <title>Instructions</title>
    <para>
      If you need to install Perl modules manually, here's how it's done.
      Download the module using the link given in the next section, and then
      apply this magic incantation, as root:
    </para>

    <para>  
      <screen><prompt>bash#</prompt> tar -xzvf &lt;module&gt;.tar.gz
<prompt>bash#</prompt> cd &lt;module&gt;
<prompt>bash#</prompt> perl Makefile.PL
<prompt>bash#</prompt> make
<prompt>bash#</prompt> make test
<prompt>bash#</prompt> make install</screen>
    </para>
    <note>
      <para>
        In order to compile source code under Windows you will need to obtain
        a 'make' utility.  The <command>nmake</command> utility provided with
        Microsoft Visual C++ may be used.  As an alternative, there is a
        utility called <command>dmake</command> available from CPAN which is
        written entirely in Perl.
      </para>
      <para>
        As described in <xref linkend="modules-manual-download" />, however, most
        packages already exist and are available from ActiveState or theory58S.
        We highly recommend that you install them using the ppm GUI available with
        ActiveState and to add the theory58S repository to your list of repositories.
      </para>
    </note>
  </section>
    
  <section id="modules-manual-download">
    <title>Download Locations</title>
    
    <note>
      <para>
        Running Bugzilla on Windows requires the use of ActiveState
        Perl 5.8.1 or higher. Many modules already exist in the core
        distribution of ActiveState Perl. Additional modules can be downloaded
        from <ulink url="http://theoryx5.uwinnipeg.ca/ppms/" /> if you use
        Perl 5.8.x or from <ulink url="http://cpan.uwinnipeg.ca/PPMPackages/10xx/" />
        if you use Perl 5.10.x.
      </para>
    </note>

    <para>
      CGI:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/CGI.pm/"/>
        Documentation: <ulink url="http://perldoc.perl.org/CGI.html"/>
      </literallayout>
    </para>

    <para>
      Data-Dumper:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/Data-Dumper/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/Data-Dumper/Dumper.pm"/>
      </literallayout>
    </para>
    
    <para>
      Date::Format (part of TimeDate):
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/TimeDate/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/TimeDate/lib/Date/Format.pm"/>
      </literallayout>
    </para>

    <para>
      DBI:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/DBI/"/>
        Documentation: <ulink url="http://dbi.perl.org/docs/"/>
      </literallayout>
    </para>

    <para>
      DBD::mysql:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/DBD-mysql/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm"/>
      </literallayout>
    </para>

    <para>
      DBD::Pg:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/DBD-Pg/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/DBD-Pg/Pg.pm"/>
      </literallayout>
    </para>

    <para>
      Template-Toolkit:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/Template-Toolkit/"/>
        Documentation: <ulink url="http://www.template-toolkit.org/docs.html"/>
      </literallayout>
    </para>

    <para>
      GD:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/GD/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/GD/GD.pm"/>
      </literallayout>
    </para>

    <para>
      Template::Plugin::GD:
      <literallayout>
       CPAN Download Page: <ulink url="http://search.cpan.org/dist/Template-GD/" />
       Documentation: <ulink url="http://www.template-toolkit.org/docs/aqua/Modules/index.html" />
      </literallayout>
    </para>

    <para>
      MIME::Parser (part of MIME-tools):
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/MIME-tools/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/MIME-tools/lib/MIME/Parser.pm"/>
      </literallayout>
    </para>

  </section>

  <section id="modules-manual-optional">
    <title>Optional Modules</title>

    <para>
      Chart::Lines:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/Chart/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/Chart/Chart.pod"/>
      </literallayout>
    </para>

     <para>
      GD::Graph:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/GDGraph/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/GDGraph/Graph.pm"/>
      </literallayout>
    </para>

    <para>
      GD::Text::Align (part of GD::Text::Util):
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/GDTextUtil/"/>
        Documentation: <ulink url="http://search.cpan.org/dist/GDTextUtil/Text/Align.pm"/>
      </literallayout>
    </para>

   <para>
      XML::Twig:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/dist/XML-Twig/"/>
        Documentation: <ulink url="http://standards.ieee.org/resources/spasystem/twig/twig_stable.html"/>
      </literallayout>
    </para>

    <para>
      PatchReader:
      <literallayout>
        CPAN Download Page: <ulink url="http://search.cpan.org/author/JKEISER/PatchReader/"/>
        Documentation: <ulink url="http://www.johnkeiser.com/mozilla/Patch_Viewer.html"/>
      </literallayout>
    </para>
   </section>
</appendix>