develooper Front page | perl.perl5.porters | Postings from July 2001

[ID 20010723.010] Building perl from CPAN

Chris Pepper
July 23, 2001 18:29
[ID 20010723.010] Building perl from CPAN
Message ID:
	Thanks for the perl CPAN module! I have a few typos and comments.

> Going to build G/GS/GSAR/perl-5.6.1.tar.gz

>In some special cases, particularly when building perl5 for distribution,
>it is convenient to distinguish between the directory in which files should
>be installed from the directory (/usr/local) in which they
>will eventually reside.  For most users, these two directories are the same.

	'installed from the directory' should be
	'installed and the directory'.

>Many scripts expect perl to be installed as /usr/bin/perl.
>I can install the perl you are about to compile also as /usr/bin/perl
>(in addition to /usr/local/bin/perl).
>Do you want to install perl as /usr/bin/perl? [y]

	If there's already a /usr/bin/perl, don't default to replacing it.

	Also, if the user doesn't actually have write permissions to 
the destination directory, there should probably be a warning, so 
they can rerun the installation as root, change permissions on that 
dir, install to a temporary directory, or at least understand what's 
going on.

>The perl executable is normally obtained by linking perlmain.c with
>libperl.a, any static extensions (usually just DynaLoader), and
>any other libraries needed on this system (such as -lm, etc.).  Since
>your system supports dynamic loading, it is probably possible to build
>a shared  If you will have more than one executable linked
>to, this will significantly reduce the size of each
>executable, but it may have a noticeable affect on performance.  The
>default is probably sensible for your system.

	'noticeable affect on performance.' should be
	'noticeable effect on performance.'


						Chris Pepper Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About