This is my patch patch.1n for perl5.001.
[p5sagit/p5-mst-13.2.git] / Changes.Conf
1 -------------
2 Version 5.002
3 -------------
4
5 Summary of user-visible Configure and build changes since 5.001:
6
7 Yet more enhancements and fixes have been made to the Configure and
8 build process for perl.  Most of these will not be visible to the
9 ordinary user--they just make the process more robust and likely to
10 work on a wider range of platforms.
11
12 This is a brief summary of the most important changes:
13
14     Include 5.000 - 5.001 upgrage notes :-) (see below).  You might
15     want to read through them as well as these notes.
16
17     Install documentation for perl modules and pod2* translators.  You can
18     now view perl module documentation with either your system's man(1)
19     program or with the supplied perldoc script.
20
21     Support Linux ELF dynamic loading.
22    
23     Many hint file updates.
24
25     Improve and simplify detection of local libraries and header files.
26
27     Expand documentation of installation process in new INSTALL file.
28
29 Upgrade Traps and Pitfalls:
30
31 Since a lot has changed in the build process, you are probably best off
32 starting with a fresh copy of the perl5.002 sources.  In particular,
33 your 5.000 or 5.001 config.sh will contain several variables that are no
34 longer needed.  Further, improvements in the Configure tests may mean
35 that some of the answers will be different than they were in previous
36 versions, and which answer to keep can be difficult to sort out. 
37 Therefore, you are probably better off ignoring your old config.sh, as
38 in the following:
39
40         make distclean          # (if you've built perl before)
41         rm -f config.sh         # (in case distclean mysteriously fails)
42         sh Configure [whatever options you like]
43         make depend
44         make
45         make test
46
47 -------------
48 Version 5.001
49 -------------
50
51 Summary of user-visible Configure and build changes since 5.000:
52
53 A large number of enhancements and fixes have been made to the
54 Configure and build process for perl.  Most of these will not be
55 visible to the ordinary user--they just make the process more robust
56 and likely to work on a wider range of platforms.
57
58 This is a brief summary of the most important changes.
59
60 Configure changes:
61     New and improved Configure command line options.  -O now overrides
62     config.sh settings.  -D options can now include spaces, if
63     protected in quotes (e.g. -Dcc='gcc -posix').  Type Configure -h
64     for a full listing of options.
65
66     Users can now turn on the defaults for the rest of Configure by
67     typing &-d at any Configure prompt.  This is useful if you just
68     want to change one or two answers.
69
70     Support on (non-Sun) SVR4 systems for dynamic loading and shared 
71     libperl.so
72
73     Numerous new or updated hints files: PowerUnix, aix 3.x and 4.x,
74     bsd386, convexos, cxux, DEC OSF, Esix, FreeBSD, HP-UX (especially if
75     you're using the bundled compiler), irix 4.x, 5.x, and 6.x,  Linux,
76     MPE/IX, NeXT 3.0 and 3.2, Solaris, SVR4, Ultrix (especially 4.3),
77     and Unicos.
78
79     Improved generation of a suitable name for architecture-dependent
80     library files.  NOTE:  This may differ from the name you had from
81     your 5.000 installation.
82
83     Many many portability enhancements and fixes.
84
85 Build process:
86
87     The process for building extensions has been extensively revised.  See
88     lib/ExtUtils/MakeMaker.pm for complete documentation.  Basically, with
89     just a simple Makefile.PL (such as the one generated by h2xs), you can
90     now build an extension from anywhere on your system, even if you've
91     deleted the perl source.
92
93     Improved build/install documentation in README.  A little.
94
95     Improved dynamic loading on HP-UX.  Support dynamic loading on SVR4.
96
97     Installperl now gets the version correct :-)
98
99     Installperl now saves the perl *.h files and the libperl.a library
100     in your architecture-dependent library directory so that you can
101     later build extensions without having to re-install the perl
102     source.
103
104     Include x2p/a2p.c generated by byacc from x2p/a2p.y.
105
106     Many many portability fixes.
107
108 Upgrade Traps and Pitfalls:
109
110 Since a lot has changed in the build process, you are probably best
111 off starting with a fresh copy of the perl5.000 sources.  In particular,
112 your 5.000 config.sh will contain several variables that are no longer
113 needed.  Further, improvements in the Configure tests may mean that some
114 of the answers will be different than they were in 5.000, and which answer
115 to keep can be difficult to sort out.   Therefore, you are probably
116 better off ignoring your old config.sh.
117
118 One big change is that architecture-dependent library files may well
119 be stored in a different location in 5.001.  This is because the default
120 name used in the 5.000 release was not sufficiently specific to
121 distinguish incompatible architectures.  The relevant variable is $archlib
122 in config.sh.  Before you run ``make install'' you should rename your old
123 $archlib.  Thus if your $archlib for version 5.000 was
124 /usr/local/lib/perl5/foo, and your new value for 5.001 is
125 /usr/local/lib/perl5/foo-bar, then you should
126         mv /usr/local/lib/perl5/foo /usr/local/lib/perl5/foo-bar
127 before running  ``make install''.
128
129 Alternatively, you could override Configure's default guess for $archlib
130 either by  sh Configure -Darchname='foo', or by answering 'foo' when 
131 prompted by Configure for the architecture name.
132
133 The following is the sequence of steps to upgrade to 5.001:
134         cd perl5.000
135         make realclean
136         rm config.sh
137         <apply 5.001 patch>
138         sh Configure
139         make depend
140         make
141         make test
142         <mv old architecture-dependent library to new location, if needed>
143         make install
144