perldgux

NAME

perldgux - Perl under DG/UX.

SYNOPSIS

One can read this document in the following formats:
man perldgux view perl perldgux explorer perldgux.html info perldgux
to list some (not all may be available simultaneously), or it may be read as is: as \s-1README\s0.dgux.

DESCRIPTION

Perl 5.7/8.x for \s-1DG/UX\s0 ix86 R4.20MU0x

BUILDING PERL ON DG/UX

Non-threaded Perl on \s-1DG/UX\s0

Just run ./Configure script from the top directory. Then give “make” to compile.

Threaded Perl on \s-1DG/UX\s0

If you are using as compiler \s-1GCC-2\s0.95.x rev(\s-1DG/UX\s0) an easy solution for configuring perl in your \s-1DG/UX\s0 machine is to run the command:
./Configure -Dusethreads -Duseithreads -Dusedevel -des
This will automatically accept all the defaults and in particular /usr/local/ as installation directory. Note that \s-1GCC-2\s0.95.x rev(\s-1DG/UX\s0) knows the switch -pthread which allows it to link correctly \s-1DG/UX\s0's -lthread library.
If you want to change the installation directory or have a standard \s-1DG/UX\s0 with C compiler \s-1GCC-2\s0.7.2.x then you have no choice than to do an interactive build by issuing the command:
./Configure -Dusethreads -Duseithreads
In particular with \s-1GCC-2\s0.7.2.x accept all the defaults and *watch* out for the message:
Any additional ld flags (NOT including libraries)? [ -pthread]
Instead of -pthread put here -lthread. \s-1CGCC-2\s0.7.2.x that comes with the \s-1DG/UX\s0 \s-1OS\s0 does \s-1NOT\s0 know the -pthread switch. So your build will fail if you choose the defaults. After configuration is done correctly give “make” to compile.

Testing Perl on \s-1DG/UX\s0

Issuing a “make test” will run all the tests. If the test lib/ftmp-security gives you as a result something like
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
don't panic and just set the sticky bit in your /tmp directory by doing the following as root:
cd / chmod +t /tmp (=set the sticky bit to /tmp).
Then rerun the tests. This time all must be \s-1OK\s0.

Installing the built perl on \s-1DG/UX\s0

Run the command “make install”

AUTHOR

Takis Psarogiannakopoulos Universirty of Cambridge Centre for Mathematical Sciences Department of Pure Mathematics Wilberforce road Cambridge \s-1CB3\s0 0WB , \s-1UK\s0 email <takis@XFree86.Org>

SEE ALSO

perl(1).