From 71c4561bb67d510ed5e6be1121c6bee36cb5c3c9 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Sun, 9 Sep 2007 09:18:12 +0000 Subject: [PATCH] More INSTALL nits. Move Tru64 specific info in the related README file. (is it outdated?) p4raw-id: //depot/perl@31828 --- INSTALL | 36 ++++++++++-------------------------- README.tru64 | 13 +++++++++++++ 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/INSTALL b/INSTALL index a743b25..57ac881 100644 --- a/INSTALL +++ b/INSTALL @@ -190,7 +190,7 @@ In any case, system administrators are strongly encouraged to put into a directory typically found along a user's PATH, or in another obvious and convenient place. -=item Building a development release. +=item Building a development release For development releases (odd subreleases, like 5.9.x) if you want to use Configure -d, you will also need to supply -Dusedevel to Configure, @@ -205,10 +205,6 @@ output, you can run sh Configure -des -For example for my Solaris/x86 system, I usually use - - sh Configure -Dprefix=/opt/perl -Doptimize='-xpentium -xO4' -des - =head2 Altering Configure variables for C compiler switches etc. For most users, most of the Configure defaults are fine, or can easily @@ -243,9 +239,6 @@ enable this, run sh Configure -Dusethreads -Currently, you need to specify -Dusethreads on the Configure command -line so that the hint files can make appropriate adjustments. - The default is to compile without thread support. Perl used to have two different internal threads implementations. The current @@ -284,6 +277,10 @@ implementation: unless you also have 64-bit integers (see the next section), you cannot use the printf/sprintf non-decimal integer formats like C<%x> to print filesizes. You can use C<%d>, though. +If you want to compile perl without large file support, use + + sh Configure -Uuselargefiles + =head3 64 bit support If your platform does not run natively at 64 bits, but can simulate @@ -373,12 +370,14 @@ recommended. Perl can be configured to be 'socksified', that is, to use the SOCKS TCP/IP proxy protocol library. SOCKS is used to give applications access to transport layer network proxies. Perl supports only SOCKS -Version 5. You can find more about SOCKS from http://www.socks.nec.com/ +Version 5. The corresponding Configure option is -Dusesocks. +You can find more about SOCKS from wikipedia at +L. =head3 Dynamic Loading -By default, Configure will compile perl to use dynamic loading if -your system supports it. If you want to force perl to be compiled +By default, Configure will compile perl to use dynamic loading. +If you want to force perl to be compiled completely statically, you can either choose this when Configure prompts you or you can use the Configure command line option -Uusedl. @@ -1286,21 +1285,6 @@ system's peculiarities. See Porting/pumpkin.pod for more information. You'll probably also have to extensively modify the extension building mechanism. -=item Digital UNIX/Tru64 UNIX and BIN_SH - -In Digital UNIX/Tru64 UNIX, Configure might abort with - -Build a threading Perl? [n] -Configure[2437]: Syntax error at line 1 : `config.sh' is not expected. - -This indicates that Configure is being run with a broken Korn shell -(even though you think you are using a Bourne shell by using -"sh Configure" or "./Configure"). The Korn shell bug has been reported -to Compaq as of February 1999 but in the meanwhile, the reason ksh is -being used is that you have the environment variable BIN_SH set to -'xpg4'. This causes /bin/sh to delegate its duties to /bin/posix/sh -(a ksh). Unset the environment variable and rerun Configure. - =item HP-UX 11, pthreads, and libgdbm If you are running Configure with -Dusethreads in HP-UX 11, be warned diff --git a/README.tru64 b/README.tru64 index b1305ba..6961a0e 100644 --- a/README.tru64 +++ b/README.tru64 @@ -34,6 +34,19 @@ lowered that. The configuration process of Perl checks for too low process limits, and lowers the optimization for the toke.c if necessary, and also gives advice on how to raise the process limits. +Also, Configure might abort with + + Build a threading Perl? [n] + Configure[2437]: Syntax error at line 1 : `config.sh' is not expected. + +This indicates that Configure is being run with a broken Korn shell +(even though you think you are using a Bourne shell by using +"sh Configure" or "./Configure"). The Korn shell bug has been reported +to Compaq as of February 1999 but in the meanwhile, the reason ksh is +being used is that you have the environment variable BIN_SH set to +'xpg4'. This causes /bin/sh to delegate its duties to /bin/posix/sh +(a ksh). Unset the environment variable and rerun Configure. + =head2 Using Large Files with Perl on Tru64 In Tru64 Perl is automatically able to use large files, that is, -- 2.7.4