perldgux.html

来自「perl教程」· HTML 代码 · 共 138 行

HTML
138
字号
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../../displayToc.js"></script>
<script language="JavaScript" src="../../tocParas.js"></script>
<script language="JavaScript" src="../../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../../scineplex.css">
<title>perldgux - Perl under DG/UX.</title>
<link rel="stylesheet" href="../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

<script>writelinks('__top__',2);</script>
<h1><a>perldgux - Perl under DG/UX.</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#building_perl_on_dg_ux">BUILDING PERL ON DG/UX</a></li>
	<ul>

		<li><a href="#nonthreaded_perl_on_dg_ux">Non-threaded Perl on DG/UX</a></li>
		<li><a href="#threaded_perl_on_dg_ux">Threaded Perl on DG/UX</a></li>
		<li><a href="#testing_perl_on_dg_ux">Testing Perl on DG/UX</a></li>
		<li><a href="#installing_the_built_perl_on_dg_ux">Installing the built perl on DG/UX</a></li>
	</ul>

	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>perldgux - Perl under DG/UX.</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<p>One can read this document in the following formats:</p>
<pre>
        man <a href="../../lib/Pod/perldgux.html">perldgux</a>
        view perl <a href="../../lib/Pod/perldgux.html">perldgux</a>
        explorer <a href="../../lib/Pod/perldgux.html">perldgux</a>.html
        info <a href="../../lib/Pod/perldgux.html">perldgux</a></pre>
<p>to list some (not all may be available simultaneously), or it may
be read <em>as is</em>: as <em>README.dgux</em>.</p>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>Perl 5.7/8.x for DG/UX ix86 R4.20MU0x</p>
<p>
</p>
<hr />
<h1><a name="building_perl_on_dg_ux">BUILDING PERL ON DG/UX</a></h1>
<p>
</p>
<h2><a name="nonthreaded_perl_on_dg_ux">Non-threaded Perl on DG/UX</a></h2>
<p>Just run ./Configure script from the top directory.
Then give &quot;make&quot; to compile.</p>
<p>
</p>
<h2><a name="threaded_perl_on_dg_ux">Threaded Perl on DG/UX</a></h2>
<p>If you are using as compiler GCC-2.95.x <code>rev(DG/UX)</code>
an easy solution for configuring perl in your DG/UX
machine is to run the command:</p>
<p>./Configure -Dusethreads -Duseithreads -Dusedevel -des</p>
<p>This will automatically accept all the defaults and
in particular /usr/local/ as installation directory.
Note that GCC-2.95.x <code>rev(DG/UX)</code> knows the switch
-pthread which allows it to link correctly DG/UX's
-lthread library.</p>
<p>If you want to change the installation directory or
have a standard DG/UX with C compiler GCC-2.7.2.x
then you have no choice than to do an interactive
build by issuing the command:</p>
<p>./Configure -Dusethreads -Duseithreads</p>
<p>In particular with GCC-2.7.2.x accept all the defaults
and *watch* out for the message:</p>
<pre>
    Any additional ld flags (NOT including libraries)? [ -pthread]</pre>
<p>Instead of -pthread put here -lthread. CGCC-2.7.2.x
that comes with the DG/UX OS does NOT know the -pthread
switch. So your build will fail if you choose the defaults.
After configuration is done correctly give &quot;make&quot; to compile.</p>
<p>
</p>
<h2><a name="testing_perl_on_dg_ux">Testing Perl on DG/UX</a></h2>
<p>Issuing a &quot;make test&quot; will run all the tests. 
If the test lib/ftmp-security gives you as a result
something like</p>
<pre>
    lib/ftmp-security....File::Temp::_gettemp:
    Parent directory (/tmp/) is not safe (sticky bit not set
    when world writable?) at lib/ftmp-security.t line 100</pre>
<p>don't panic and just set the sticky bit in your /tmp
directory by doing the following as root:</p>
<p>cd /
chmod +t /tmp (=set the sticky bit to /tmp).</p>
<p>Then rerun the tests. This time all must be OK.</p>
<p>
</p>
<h2><a name="installing_the_built_perl_on_dg_ux">Installing the built perl on DG/UX</a></h2>
<p>Run the command &quot;make install&quot;</p>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Takis Psarogiannakopoulos
Universirty of Cambridge
Centre for Mathematical Sciences
Department of Pure Mathematics
Wilberforce road
Cambridge CB3 0WB , UK
email &lt;<a href="mailto:takis@XFree86.Org">takis@XFree86.Org</a>&gt;</p>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<p>perl(1).</p>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?