1PERLDGUX(1) Perl Programmers Reference Guide PERLDGUX(1)
2
3
4
6 perldgux - Perl under DG/UX.
7
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
20 Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
21
23 Non-threaded Perl on DG/UX
24
25 Just run ./Configure script from the top directory. Then give "make"
26 to compile.
27
28 Threaded Perl on DG/UX
29
30 If you are using as compiler GCC-2.95.x rev(DG/UX) an easy solution for
31 configuring perl in your DG/UX machine is to run the command:
32
33 ./Configure -Dusethreads -Duseithreads -Dusedevel -des
34
35 This will automatically accept all the defaults and in particular
36 /usr/local/ as installation directory. Note that GCC-2.95.x rev(DG/UX)
37 knows the switch -pthread which allows it to link correctly DG/UX's
38 -lthread library.
39
40 If you want to change the installation directory or have a standard
41 DG/UX with C compiler GCC-2.7.2.x then you have no choice than to do an
42 interactive build by issuing the command:
43
44 ./Configure -Dusethreads -Duseithreads
45
46 In particular with GCC-2.7.2.x accept all the defaults and *watch* out
47 for the message:
48
49 Any additional ld flags (NOT including libraries)? [ -pthread]
50
51 Instead of -pthread put here -lthread. CGCC-2.7.2.x that comes with the
52 DG/UX OS does NOT know the -pthread switch. So your build will fail if
53 you choose the defaults. After configuration is done correctly give
54 "make" to compile.
55
56 Testing Perl on DG/UX
57
58 Issuing a "make test" will run all the tests. If the test
59 lib/ftmp-security gives you as a result something like
60
61 lib/ftmp-security....File::Temp::_gettemp:
62 Parent directory (/tmp/) is not safe (sticky bit not set
63 when world writable?) at lib/ftmp-security.t line 100
64
65 don't panic and just set the sticky bit in your /tmp directory by doing
66 the following as root:
67
68 cd / chmod +t /tmp (=set the sticky bit to /tmp).
69
70 Then rerun the tests. This time all must be OK.
71
72 Installing the built perl on DG/UX
73
74 Run the command "make install"
75
77 Takis Psarogiannakopoulos Universirty of Cambridge Centre for Mathematā
78 ical Sciences Department of Pure Mathematics Wilberforce road Cambridge
79 CB3 0WB , UK email <takis@XFree86.Org>
80
82 perl(1).
83
84
85
86perl v5.8.8 2006-01-07 PERLDGUX(1)