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