This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make SvIsCOW honest about globs
[perl5.git] / README.dgux
CommitLineData
8e9464f1
JH
1If you read this file _as_is_, just ignore the funny characters you
2see. It is written in the POD format (see perlpod manpage) which is
3specially designed to be readable as is.
4
5=head1 NAME
6
7perldgux - Perl under DG/UX.
8
9=head1 SYNOPSIS
10
11One can read this document in the following formats:
12
13 man perldgux
14 view perl perldgux
15 explorer perldgux.html
16 info perldgux
17
18to list some (not all may be available simultaneously), or it may
19be read I<as is>: as F<README.dgux>.
20
21=cut
22
23Contents
24
25 perldgux - Perl under DG/UX.
26
27 NAME
28 SYNOPSIS
29 DESCRIPTION
30 BUILD
31 - Non-threaded Case
32 - Threaded Case
33 - Testing
34 - Installing the built perl
35 AUTHOR
36 SEE ALSO
37
38=head1 DESCRIPTION
39
40Perl 5.7/8.x for DG/UX ix86 R4.20MU0x
41
a83b6f46 42=head1 BUILDING PERL ON DG/UX
8e9464f1 43
a83b6f46 44=head2 Non-threaded Perl on DG/UX
8e9464f1
JH
45
46Just run ./Configure script from the top directory.
47Then give "make" to compile.
48
a83b6f46 49=head2 Threaded Perl on DG/UX
8e9464f1
JH
50
51If you are using as compiler GCC-2.95.x rev(DG/UX)
52an easy solution for configuring perl in your DG/UX
53machine is to run the command:
54
95036ac7 55./Configure -Dusethreads -Duseithreads -Dusedevel -des
8e9464f1
JH
56
57This will automatically accept all the defaults and
58in particular /usr/local/ as installation directory.
59Note that GCC-2.95.x rev(DG/UX) knows the switch
210b36aa 60-pthread which allows it to link correctly DG/UX's
8e9464f1 61-lthread library.
d8139a88 62
210b36aa 63If you want to change the installation directory or
8e9464f1
JH
64have a standard DG/UX with C compiler GCC-2.7.2.x
65then you have no choice than to do an interactive
66build by issuing the command:
67
95036ac7 68./Configure -Dusethreads -Duseithreads
8e9464f1
JH
69
70In particular with GCC-2.7.2.x accept all the defaults
71and *watch* out for the message:
72
d8139a88 73 Any additional ld flags (NOT including libraries)? [ -pthread]
8e9464f1
JH
74
75Instead of -pthread put here -lthread. CGCC-2.7.2.x
76that comes with the DG/UX OS does NOT know the -pthread
77switch. So your build will fail if you choose the defaults.
78After configuration is done correctly give "make" to compile.
79
a83b6f46 80=head2 Testing Perl on DG/UX
8e9464f1 81
3a1825b5 82Issuing a "make test" will run all the tests.
8e9464f1
JH
83If the test lib/ftmp-security gives you as a result
84something like
85
d8139a88
JH
86 lib/ftmp-security....File::Temp::_gettemp:
87 Parent directory (/tmp/) is not safe (sticky bit not set
88 when world writable?) at lib/ftmp-security.t line 100
8e9464f1
JH
89
90don't panic and just set the sticky bit in your /tmp
91directory by doing the following as root:
92
93cd /
94chmod +t /tmp (=set the sticky bit to /tmp).
95
96Then rerun the tests. This time all must be OK.
97
a83b6f46 98=head2 Installing the built perl on DG/UX
8e9464f1
JH
99
100Run the command "make install"
101
102=head1 AUTHOR
103
104Takis Psarogiannakopoulos
f858446f 105University of Cambridge
8e9464f1
JH
106Centre for Mathematical Sciences
107Department of Pure Mathematics
108Wilberforce road
109Cambridge CB3 0WB , UK
95036ac7 110email <takis@XFree86.Org>
8e9464f1
JH
111
112=head1 SEE ALSO
113
114perl(1).
115
116=cut
117