New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misleading message in 5.7.2 Configure script #4389
Comments
From epa98@doc.ic.ac.ukDownloaded devel.tar.gz for perl 5.7.2 and ran Configure. Among the Do you want to install only the version-specific parts of the perl *** WHOA THERE!!! *** In other words, I followed Configure's advice ('usually you do *not* Perhaps the bug is that Configure's default value was 'yes' when it epa98@voxel30 ~/vol/tmp/perl-5.7.2 $ ./Configure Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... First let's make sure your kit is complete. Checking... *** WHOA THERE!!! *** This is an UNSTABLE DEVELOPMENT release. Do ***NOT*** install this into production use. It is most seriously suggested that you do not continue any further If you *still* want to build perl, you can answer 'y' now, Do you really want to continue? [n] y This installation shell script will examine your system and ask you questions On some of the questions which ask for file or directory names you are allowed [Type carriage return to continue] The prompter used in this script allows you to use shell variables and Everytime there is a substitution, you will have to confirm. If there is an If you are in a hurry, you may run 'Configure -d'. This will bypass nearly all [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included If you make a mistake on a question, there is no easy way to back up to it [Type carriage return to continue] Locating common programs... Don't worry if any of the following aren't found... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... Good, your tr supports [:lower:] and [:upper:] to convert case. First time through, eh? I have some defaults handy for some systems 3b1 dynix isc_2 opus svr4 You may give one or more space-separated answers, or "none" if appropriate. Which of these apply, if any? [linux] You appear to have ELF support. I'll try to use it for dynamic loading. You appear to have a working bash. Good. Configure uses the operating system name and version to set some defaults. Operating system name? [linux] Operating system version? [2.2.18] Perl can be built to take advantage of threads on some systems. Note that threading is a highly experimental feature, and If this doesn't make any sense to you, just accept the default 'n'. Perl can be built so that multiple Perl interpreters can coexist If this doesn't make any sense to you, just accept the default 'n'. Hmm... Looks kind of like a Version 7 system, but we'll see... Congratulations. You aren't running Eunice. It's not Xenix... Nor is it Venix... Checking for GNU cc in disguise and/or its version number... Hmm... Doesn't look like a MIPS system. Now, how can we feed standard input to your C preprocessor... Some systems have incompatible or broken versions of libraries. Among Directories to use for library searches? [/usr/local/lib /lib /usr/lib] On some systems, shared libraries may be available. Answer 'none' if What is the file extension used for shared libraries? [so] Perl can be built to use the SOCKS proxy protocol library. To do so, If this doesn't make any sense to you, just accept the default 'n'. Checking for optional libraries... In order to compile perl5 on your machine, a number of libraries What libraries to use? By default, perl5 compiles with the -O flag to use the optimizer. What optimizer/debugger flag should be used? [-O2] none Checking if your compiler accepts -fno-strict-aliasing Your C compiler may want other flags. For this question you should include To use no flags, specify the word "none". Any additional cc flags? [-Wall -fno-strict-aliasing -I/usr/local/include] Let me guess what the preprocessor flags are... Your C linker may need flags. For this question you should Make sure you include the appropriate -L/path flags if your C linker Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... Checking to see how big your integers are... Checking to see how well your C compiler groks the void type... Checking to see how big your pointers are... Checking to see if you have long long... Checking to see how big your long longs are... Computing filename position in cpp output for #include directives... <inttypes.h> found. Checking to see if you have int64_t... Checking which 64-bit integer type we could use... Perl can be built to take advantage of 64-bit integer types If this doesn't make any sense to you, just accept the default 'n'. You may also choose to try maximal 64-bitness. It means using as much If this doesn't make any sense to you, just accept the default 'n'. Checking for GNU C Library... nm probably won't work on the GNU C Library. I can use /usr/bin/nm to extract the symbols from your C libraries. This You probably shouldn't let me use 'nm' if you are using the GNU C Library. Shall I use /usr/bin/nm to extract C symbols from the libraries? [n] sqrtl() found. Perl can be built to take advantage of long doubles which If this doesn't make any sense to you, just accept the default 'n'. Checking to see how big your double precision numbers are... Checking to see if you have long double... Checking to see how big your long doubles are... Previous version of perl5 used the standard IO mechanisms as If this doesn't make any sense to you, just accept the default 'y'. What is your architecture name [i686-linux] By default, perl5 will be installed in /usr/local/bin, manual pages Installation prefix to use? (~name ok) [/usr/local] AFS does not seem to be running... In some special cases, particularly when building perl5 for distribution, What installation prefix should I use for installing files? (~name ok) Getting the current patchlevel... There are some auxiliary files for perl5 that need to be put into a Pathname where the private library files will reside? (~name ok) Perl5 contains architecture-dependent library files. If you are Where do you want to put the public architecture-dependent libraries? (~name ok) This version of Perl can be compiled for binary compatibility with 5.005. Binary compatibility with Perl 5.005? [y] Some kernels have a bug that prevents setuid #! scripts from being First let's decide if your kernel supports secure setuid #! scripts. If you are not sure if they are secure, I can check but I'll need a Other username to test security of setuid scripts with? [none] Some systems have disabled setuid scripts, especially systems where Do you want to do setuid/setgid emulation? [n] <malloc.h> found. <stdlib.h> found. Do you wish to attempt to use the malloc that comes with perl5? [n] Your system wants malloc to return 'void *', it would seem. After perl5 is installed, you may wish to install various If you do not wish to put everything under a single prefix, that's The default should be fine for most people. Installation prefix to use for add-on modules and utilities? (~name ok) The installation process will create a directory for Pathname for the site-specific library files? (~name ok) The installation process will also create a directory for Pathname for the site-specific architecture-dependent library files? (~name ok) The installation process will also create a directory for Of course you may also use these directories in whatever way you see The default answer should be fine for most people. Do you want to configure vendor-specific add-on directories? [n] Lastly, you can have perl look in other directories for extensions and Enter a colon-separated set of extra paths to include in perl's @INC Colon-separated list of additional directories for perl to search? [none] Checking out function prototypes... Pathname where the public executables will reside? (~name ok) In order to ease the process of upgrading, this version of perl The default should almost always be sensible, so if you're not sure, Many scripts expect perl to be installed as /usr/bin/perl. <dld.h> NOT found. dlopen() found. Do you wish to use dynamic loading? [y] Some systems may require passing special flags to gcc -c to Any special flags to pass to gcc -c to compile shared library modules? Some systems use ld to create libraries that can be dynamically loaded, You appear to have ELF support. I'll use gcc to build dynamic libraries. Some systems may require passing special flags to gcc to create a Any special flags to pass to gcc to create a dynamically loaded library? Some systems may require passing special flags to gcc to indicate that Any special flags to pass to gcc to use dynamic linking? [-rdynamic] The perl executable is normally obtained by linking perlmain.c with Build a shared libperl.so (y/n) [n] System manual is in /usr/man/man1. Perl5 has manual pages available in source form. Where do the main Perl5 manual pages (source) go? (~name ok) You can have filenames longer than 14 characters. Perl5 has manual pages for many of the library modules. Where do the perl5 library man pages (source) go? (~name ok) Figuring out host name... What is your domain name? [.doc.ic.ac.uk] I need to get your e-mail address in Internet format if possible, i.e. What is your e-mail address? [epa98@voxel30.doc.ic.ac.uk] epa98@doc.ic.ac.uk If you or somebody else will be maintaining perl at your site, please Perl administrator e-mail address [epa98@doc.ic.ac.uk] Do you want to install only the version-specific parts of the perl *** WHOA THERE!!! *** I don't see why the configuration for the old version of perl should Perl Info
|
From @tamiasThis question is discussed at: For development versions, the default value is 'y', but for stable versions The description is quite misleading. If you say yes, it actually installs Ronald |
From [Unknown Contact. See original ticket][message from 5.7.2 Configure]
Funny, I went to
Yes, I noticed that. I get the feeling it would be better to leave the Do you want to install executables with a version number in the Or better still, vary the message according to what default is chosen. - -- iD8DBQE7m3XYIMp73jhGogoRAneIAJ9cQR2SjiNLeGIam5vPqNhjI/N4jQCfZH1D |
From @HugmeirOn Sun Sep 09 00:00:06 2001, RT_System wrote:
The same message is still present in recent versions of Perl. Does |
From @dcollinsnThis patch clarifies the "version-specific" question in Configure and INSTALL. |
From @dcollinsn0001-perl-7655-Configure-clarify-version-specific.patchFrom 52fb75b5d4be5a3a6b33e4c70da750d003e6ce5f Mon Sep 17 00:00:00 2001
From: Dan Collins <dcollinsn@gmail.com>
Date: Mon, 4 Jul 2016 15:21:05 -0400
Subject: [PATCH] [perl #7655] Configure: clarify "version-specific"
This has long been a confusing configure question. It sounds like
it saves time by installing /less/, but really it just installs
binaries with a version number suffix.
---
Configure | 11 +++++++----
INSTALL | 9 ++++-----
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/Configure b/Configure
index 89585f1..42c67f3 100755
--- a/Configure
+++ b/Configure
@@ -9381,17 +9381,20 @@ rp='Perl administrator e-mail address'
. ./myread
perladmin="$ans"
-: determine whether to only install version-specific parts.
+: determine whether to use a version number suffix for installed binaries
echo " "
$cat <<EOM
-Do you want to install only the version-specific parts of the perl
-distribution? Usually you do *not* want to do this.
+Do you want to use a version number suffix for installed binaries? This
+will install 'perl$version' instead of 'perl', and likewise for other
+binaries like 'perldoc' and 'cpan'. This allows many versions of perl
+to be installed side-by-side. Unless you are a developer, you probably
+do *not* want to do this.
EOM
case "$versiononly" in
"$define"|[Yy]*|true) dflt='y' ;;
*) dflt='n';
esac
-rp="Do you want to install only the version-specific parts of perl?"
+rp="Do you want to use a version number suffix for installed binaries?"
. ./myread
case "$ans" in
[yY]*) val="$define";;
diff --git a/INSTALL b/INSTALL
index 8c7374e..c80017b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2285,12 +2285,11 @@ under $archlib so that any user may later build new modules, run the
optional Perl compiler, or embed the perl interpreter into another
program even if the Perl source is no longer available.
-=head2 Installing only version-specific parts
+=head2 Installing with a version-specific suffix
-Sometimes you only want to install the version-specific parts of the perl
-installation. For example, you may wish to install a newer version of
-perl alongside an already installed production version without
-disabling installation of new modules for the production version.
+Sometimes you only want to install the perl distribution with a
+version-specific suffix. For example, you may wish to install a newer
+version of perl alongside an already installed production version.
To only install the version-specific parts of the perl installation, run
Configure -Dversiononly
--
2.8.1
|
From @dcollinsnOn Mon Jul 04 12:57:24 2016, dcollinsn@gmail.com wrote:
Is anyone able to review this language and apply? -- |
From @cpansproutOn Thu Jul 14 17:39:07 2016, dcollinsn@gmail.com wrote:
Yes, thank you. That is a big improvement. I have applied it as 6baaafe. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#7655 (status was 'resolved')
Searchable as RT7655$
The text was updated successfully, but these errors were encountered: