Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Perl for CygwinPerl under DOS, W31, W95. (Berikutnya)
Platform Specific

Perl under DG/UX.

Daftar Isi

NAME

perldgux - Perl under DG/UX.

SYNOPSIS

One can read this document in the following formats:

  1. man perldgux
  2. view perl perldgux
  3. explorer perldgux.html
  4. info perldgux

to list some (not all may be available simultaneously), or it maybe read as is: as README.dgux.

DESCRIPTION

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

BUILDING PERL ON DG/UX

Non-threaded Perl on DG/UX

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

Threaded Perl on DG/UX

If you are using as compiler GCC-2.95.x rev(DG/UX)an easy solution for configuring perl in your DG/UXmachine is to run the command:

./Configure -Dusethreads -Duseithreads -Dusedevel -des

This will automatically accept all the defaults andin particular /usr/local/ as installation directory.Note that GCC-2.95.x rev(DG/UX) knows the switch-pthread which allows it to link correctly DG/UX's-lthread library.

If you want to change the installation directory orhave a standard DG/UX with C compiler GCC-2.7.2.xthen you have no choice than to do an interactivebuild by issuing the command:

./Configure -Dusethreads -Duseithreads

In particular with GCC-2.7.2.x accept all the defaultsand *watch* out for the message:

  1. Any additional ld flags (NOT including libraries)? [ -pthread]

Instead of -pthread put here -lthread. CGCC-2.7.2.xthat comes with the DG/UX OS does NOT know the -pthreadswitch. So your build will fail if you choose the defaults.After configuration is done correctly give "make" to compile.

Testing Perl on DG/UX

Issuing a "make test" will run all the tests. If the test lib/ftmp-security gives you as a resultsomething like

  1. lib/ftmp-security....File::Temp::_gettemp:
  2. Parent directory (/tmp/) is not safe (sticky bit not set
  3. when world writable?) at lib/ftmp-security.t line 100

don't panic and just set the sticky bit in your /tmpdirectory 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 OK.

Installing the built perl on DG/UX

Run the command "make install"

AUTHOR

Takis PsarogiannakopoulosUniversity of CambridgeCentre for Mathematical SciencesDepartment of Pure MathematicsWilberforce roadCambridge CB3 0WB , UKemail <[email protected]>

SEE ALSO

perl(1).

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Perl for CygwinPerl under DOS, W31, W95. (Berikutnya)