X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=INSTALL;h=1d27d65cfe7606ef09d45a0402e0f2cd3ecbdaf1;hb=8f9a6e7d3541caba01fe037a1cf62a37217f9d9b;hp=dbb757afc26b1dc89682106a0ebf75e6d1fc4a1d;hpb=d6b7ef8642dbff7f74dde11fd4995a37e8f38c04;p=p5sagit%2Fp5-mst-13.2.git diff --git a/INSTALL b/INSTALL index dbb757a..1d27d65 100644 --- a/INSTALL +++ b/INSTALL @@ -186,10 +186,10 @@ does not work with some C++ compilers. =head1 Space Requirements -The complete perl5 source tree takes up about 40 MB of disk space. -After completing make, it takes up roughly 60 MB, though the actual +The complete perl5 source tree takes up about 50 MB of disk space. +After completing make, it takes up roughly 100 MB, though the actual total is likely to be quite system-dependent. The installation -directories need something on the order of 35 MB, though again that +directories need something on the order of 45 MB, though again that value is system-dependent. =head1 Start with a Fresh Distribution @@ -328,7 +328,8 @@ If your prefix contains the string "perl", then the suggested directory structure is simplified. For example, if you use prefix=/opt/perl, then Configure will suggest /opt/perl/lib instead of /opt/perl/lib/perl5/. Again, see L<"Installation Directories"> below -for more details. +for more details. Do not include a trailing slash, (i.e. /opt/perl/) +or you may experience odd test failures. NOTE: You must not specify an installation directory that is the same as or below your perl source directory. If you do, installperl will @@ -403,7 +404,8 @@ appropriate questions in Configure. For convenience, all the installation questions are near the beginning of Configure. Further, there are a number of additions to the installation directories since 5.005, so reusing your old config.sh may not -be sufficient to put everything where you want it. +be sufficient to put everything where you want it. Do not include +trailing slashes on directory names. I highly recommend running Configure interactively to be sure it puts everything where you want it. At any point during the Configure @@ -1612,16 +1614,6 @@ to then propagate your changes with B and rebuild with B. -=item CRIPPLED_CC - -If you still can't compile successfully, try: - - sh Configure -Accflags=-DCRIPPLED_CC - -This flag simplifies some complicated expressions for compilers that get -indigestion easily. (Just because you get no errors doesn't mean it -compiled right!) - =item Missing functions If you have missing routines, you probably need to add some library or @@ -1735,14 +1727,12 @@ Genix may need to use libc rather than libc_s, or #undef VARARGS. NCR Tower 32 (OS 2.01.01) may need -W2,-Sl,2000 and #undef MKDIR. -UTS may need one or more of -DCRIPPLED_CC, -K or -g, and undef LSTAT. +UTS may need one or more of -K or -g, and undef LSTAT. FreeBSD can fail the lib/ipc_sysv.t test if SysV IPC has not been configured to the kernel. Perl tries to detect this, though, and you will get a message telling what to do. -If you get syntax errors on '(', try -DCRIPPLED_CC. - Machines with half-implemented dbm routines will need to #undef I_ODBM HP-UX 11 Y2K patch "Y2K-1100 B.11.00.B0125 HP-UX Core OS Year 2000 @@ -1930,10 +1920,12 @@ external program. Several tests in the test suite check timing functions, such as sleep(), and see if they return in a reasonable amount of time. -If your system is quite busy and doesn't return quickly enough, -these tests might fail. If possible, try running the tests again with -the system under a lighter load. These tests include F, -F, and F. +If your system is quite busy and doesn't respond quickly enough, +these tests might fail. If possible, try running the tests again +with the system under a lighter load. These timing-sensitive +and load-sensitive tests include F, +F, F, +F, and F. =item Out of memory @@ -2289,6 +2281,13 @@ The following section is meant for people worrying about squeezing the Perl installation into minimal systems (for example when installing operating systems, or in really small filesystems). +Leaving out as many extensions as possible is an obvious way: +especially the Encode with its big conversion tables consumes a lot of +space. On the other hand, you cannot throw away everything, especially +the Fcntl module is pretty essential. If you need to do network +programming, you'll appreciate the Socket module, and so forth: it all +depends on what do you need to do. + In the following we offer two different slimmed down installation recipes. They are informative, not normative: the choice of files depends on what you need.