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

[ID 20010723.010] Building perl from CPAN

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

>CPAN.pm: 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 libperl.so.  If you will have more than one executable linked
>to libperl.so, 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.'


						Thanks,


						Chris Pepper




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About