1PERLDGUX(1)            Perl Programmers Reference Guide            PERLDGUX(1)
2
3
4

NAME

6       perldgux - Perl under DG/UX.
7

SYNOPSIS

9       One can read this document in the following formats:
10
11               man perldgux
12               view perl perldgux
13               explorer perldgux.html
14               info perldgux
15
16       to list some (not all may be available simultaneously), or it may be
17       read as is: as README.dgux.
18

DESCRIPTION

20       Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
21

BUILDING PERL ON DG/UX

23   Non-threaded Perl on DG/UX
24       Just run ./Configure script from the top directory.  Then give "make"
25       to compile.
26
27   Threaded Perl on DG/UX
28       If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for
29       configuring perl in your DG/UX machine is to run the command:
30
31       ./Configure -Dusethreads -Duseithreads -Dusedevel -des
32
33       This will automatically accept all the defaults and in particular
34       /usr/local/ as installation directory.  Note that GCC-2.95.x rev(DG/UX)
35       knows the switch -pthread which allows it to link correctly DG/UX's
36       -lthread library.
37
38       If you want to change the installation directory or have a standard
39       DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
40       interactive build by issuing the command:
41
42       ./Configure -Dusethreads -Duseithreads
43
44       In particular with GCC-2.7.2.x accept all the defaults and *watch* out
45       for the message:
46
47           Any additional ld flags (NOT including libraries)? [ -pthread]
48
49       Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the
50       DG/UX OS does NOT know the -pthread switch. So your build will fail if
51       you choose the defaults.  After configuration is done correctly give
52       "make" to compile.
53
54   Testing Perl on DG/UX
55       Issuing a "make test" will run all the tests.  If the test
56       lib/ftmp-security gives you as a result something like
57
58           lib/ftmp-security....File::Temp::_gettemp:
59           Parent directory (/tmp/) is not safe (sticky bit not set
60           when world writable?) at lib/ftmp-security.t line 100
61
62       don't panic and just set the sticky bit in your /tmp directory by doing
63       the following as root:
64
65       cd / chmod +t /tmp (=set the sticky bit to /tmp).
66
67       Then rerun the tests. This time all must be OK.
68
69   Installing the built perl on DG/UX
70       Run the command "make install"
71

AUTHOR

73       Takis Psarogiannakopoulos University of Cambridge Centre for
74       Mathematical Sciences Department of Pure Mathematics Wilberforce road
75       Cambridge CB3 0WB , UK email <takis@XFree86.Org>
76

SEE ALSO

78       perl(1).
79
80
81
82perl v5.16.3                      2013-03-04                       PERLDGUX(1)
Impressum