Install Perl 5.8.8
[msysgit.git] / mingw / html / pod / perldgux.html
blob9e5d3d57b39dc266447e51c61e68044311867532
1 <?xml version="1.0" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>perldgux - Perl under DG/UX.</title>
6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7 <link rev="made" href="mailto:" />
8 </head>
10 <body style="background-color: white">
11 <table border="0" width="100%" cellspacing="0" cellpadding="3">
12 <tr><td class="block" style="background-color: #cccccc" valign="middle">
13 <big><strong><span class="block">&nbsp;perldgux - Perl under DG/UX.</span></strong></big>
14 </td></tr>
15 </table>
17 <p><a name="__index__"></a></p>
18 <!-- INDEX BEGIN -->
20 <ul>
22 <li><a href="#name">NAME</a></li>
23 <li><a href="#synopsis">SYNOPSIS</a></li>
24 <li><a href="#description">DESCRIPTION</a></li>
25 <li><a href="#building_perl_on_dg_ux">BUILDING PERL ON DG/UX</a></li>
26 <ul>
28 <li><a href="#nonthreaded_perl_on_dg_ux">Non-threaded Perl on DG/UX</a></li>
29 <li><a href="#threaded_perl_on_dg_ux">Threaded Perl on DG/UX</a></li>
30 <li><a href="#testing_perl_on_dg_ux">Testing Perl on DG/UX</a></li>
31 <li><a href="#installing_the_built_perl_on_dg_ux">Installing the built perl on DG/UX</a></li>
32 </ul>
34 <li><a href="#author">AUTHOR</a></li>
35 <li><a href="#see_also">SEE ALSO</a></li>
36 </ul>
37 <!-- INDEX END -->
39 <hr />
40 <p>
41 </p>
42 <h1><a name="name">NAME</a></h1>
43 <p>perldgux - Perl under DG/UX.</p>
44 <p>
45 </p>
46 <hr />
47 <h1><a name="synopsis">SYNOPSIS</a></h1>
48 <p>One can read this document in the following formats:</p>
49 <pre>
50 man <a href="//C|\msysgit\mingw\html/pod/perldgux.html">perldgux</a>
51 view perl <a href="//C|\msysgit\mingw\html/pod/perldgux.html">perldgux</a>
52 explorer <a href="//C|\msysgit\mingw\html/pod/perldgux.html">perldgux</a>.html
53 info <a href="//C|\msysgit\mingw\html/pod/perldgux.html">perldgux</a></pre>
54 <p>to list some (not all may be available simultaneously), or it may
55 be read <em>as is</em>: as <em>README.dgux</em>.</p>
56 <p>
57 </p>
58 <hr />
59 <h1><a name="description">DESCRIPTION</a></h1>
60 <p>Perl 5.7/8.x for DG/UX ix86 R4.20MU0x</p>
61 <p>
62 </p>
63 <hr />
64 <h1><a name="building_perl_on_dg_ux">BUILDING PERL ON DG/UX</a></h1>
65 <p>
66 </p>
67 <h2><a name="nonthreaded_perl_on_dg_ux">Non-threaded Perl on DG/UX</a></h2>
68 <p>Just run ./Configure script from the top directory.
69 Then give ``make'' to compile.</p>
70 <p>
71 </p>
72 <h2><a name="threaded_perl_on_dg_ux">Threaded Perl on DG/UX</a></h2>
73 <p>If you are using as compiler GCC-2.95.x <code>rev(DG/UX)</code>
74 an easy solution for configuring perl in your DG/UX
75 machine is to run the command:</p>
76 <p>./Configure -Dusethreads -Duseithreads -Dusedevel -des</p>
77 <p>This will automatically accept all the defaults and
78 in particular /usr/local/ as installation directory.
79 Note that GCC-2.95.x <code>rev(DG/UX)</code> knows the switch
80 -pthread which allows it to link correctly DG/UX's
81 -lthread library.</p>
82 <p>If you want to change the installation directory or
83 have a standard DG/UX with C compiler GCC-2.7.2.x
84 then you have no choice than to do an interactive
85 build by issuing the command:</p>
86 <p>./Configure -Dusethreads -Duseithreads</p>
87 <p>In particular with GCC-2.7.2.x accept all the defaults
88 and *watch* out for the message:</p>
89 <pre>
90 Any additional ld flags (NOT including libraries)? [ -pthread]</pre>
91 <p>Instead of -pthread put here -lthread. CGCC-2.7.2.x
92 that comes with the DG/UX OS does NOT know the -pthread
93 switch. So your build will fail if you choose the defaults.
94 After configuration is done correctly give ``make'' to compile.</p>
95 <p>
96 </p>
97 <h2><a name="testing_perl_on_dg_ux">Testing Perl on DG/UX</a></h2>
98 <p>Issuing a ``make test'' will run all the tests.
99 If the test lib/ftmp-security gives you as a result
100 something like</p>
101 <pre>
102 lib/ftmp-security....File::Temp::_gettemp:
103 Parent directory (/tmp/) is not safe (sticky bit not set
104 when world writable?) at lib/ftmp-security.t line 100</pre>
105 <p>don't panic and just set the sticky bit in your /tmp
106 directory by doing the following as root:</p>
107 <p>cd /
108 chmod +t /tmp (=set the sticky bit to /tmp).</p>
109 <p>Then rerun the tests. This time all must be OK.</p>
111 </p>
112 <h2><a name="installing_the_built_perl_on_dg_ux">Installing the built perl on DG/UX</a></h2>
113 <p>Run the command ``make install''</p>
115 </p>
116 <hr />
117 <h1><a name="author">AUTHOR</a></h1>
118 <p>Takis Psarogiannakopoulos
119 Universirty of Cambridge
120 Centre for Mathematical Sciences
121 Department of Pure Mathematics
122 Wilberforce road
123 Cambridge CB3 0WB , UK
124 email &lt;<a href="mailto:takis@XFree86.Org">takis@XFree86.Org</a>&gt;</p>
126 </p>
127 <hr />
128 <h1><a name="see_also">SEE ALSO</a></h1>
129 <p>perl(1).</p>
130 <table border="0" width="100%" cellspacing="0" cellpadding="3">
131 <tr><td class="block" style="background-color: #cccccc" valign="middle">
132 <big><strong><span class="block">&nbsp;perldgux - Perl under DG/UX.</span></strong></big>
133 </td></tr>
134 </table>
136 </body>
138 </html>