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
Why is $Config{installsitescript} not populated? #15068
Comments
From nanis@cpan.orgCreated by nanis@cpan.orgI have been thinking this issue is something I am missing in the build Upon install, I have installsitescript='' in lib/Config_heavy.pl When trying to install App::cpanoutdated which uses Module::Build::Tiny, C:\...\cpan-outdated-0.29> build install Editing lib/Config_heavy.pl fixes that. For example: installsitescript='c:\opt\perl\site\5.22.1\bin' gives me: C:\...\cpan-outdated-0.29> build install Interestingly, other values such as installsitearch='c:\opt\perl\site\5.22.1\lib' were already correctly populated by the build process. On the other hand, I am not sure why installsitebin='c:\opt\perl\5.22.1\bin' is not installsitebin='c:\opt\perl\site\5.22.1\bin' I do not exactly how/where these values are generated, so I thought FYI, this is not specific to the Perl distribution version. Perl Info
|
From @jkeenanOn Thu Dec 03 10:06:12 2015, nanis@cpan.org wrote:
You're on Windows, to which I have no access, but I wouldn't be surprised if this were some Windows-specific bug in Configure. In any event, here's what I find with perl-5.22.0 installed via perlbrew on Linux x86_64. Config_heavy.pl starts with these 2 lines of comment: ##### Looking at configpm, I see its purpose is described as: ##### Does this provide you with any diagnostic clues? Thank you very much. -- |
The RT System itself - Status changed from 'new' to 'open' |
From nanis@cpan.orgOn Thu, Dec 3, 2015 at 6:32 PM, James E Keenan via RT
...
I am not running Configure. I am using the stock win32/Makefile.
Thank you. So, my question becomes essentially the same with an extra level of indirection. config.sh is generated from config.w32 by a rule in the Makefile. In http://perl5.git.perl.org/perl.git/blob/572cd85091706ffa2e19db60c41c6bb106297e3a:/win32/config.vc#l802 installsitebin=' So, I do not know exactly how config.vc was generated, but the - Why is installsitescript blank? - And, why isn't installsitebin set to These two commits are relevant: http://perl5.git.perl.org/perl.git/commit/392c4dfd79b131439b1f9f514b4adb6eeab4e4fa?f=win32/config.vc http://perl5.git.perl.org/perl.git/commit/93342173b757d10fa4133d719efc52a68025860f?f=win32/config.vc That is, the values have been this way for a long time. I am assuming Thank you, -- Sinan |
From @bulk88On Fri Dec 04 05:12:42 2015, nanis@cpan.org wrote:
Since it has been always blank or non-existant since day 1 of win32 perl, it was turned from non-existant to blank some years ago 392c4df
http://perl5.git.perl.org/perl.git/commitdiff/08aa1457cd52a368c210ab76a3da91cfadabea1a says "+## This file was hand coded and a lot of information is invalid" installsitescript was created in 2002 in 6e1038e in 5.9.0 while the canned-Win32-config files were created in 1997, the %Config var simply didnt exist when the canned configs were born. Since IDK what the pros or cons of it being blank or filled are, I have no comment on whether it is a bug and whether to fix it. I am inclined to say it is a bug in cpan-outdated as it claims 5.8.0 compat https://metacpan.org/source/TOKUHIROM/cpan-outdated-0.29/Build.PL#L6 or in Module::Build::Tiny. Fixing this bug in core is pointless since there is a decade of old Win32 perls that still need to be support by CPAN. Full Module::Build has this curious line https://metacpan.org/source/LEONT/Module-Build-0.4214/Changes#L3391 from 2003 perhaps Module::Build::Tiny needs the same patch. -- |
From @LeontOn Fri, Dec 4, 2015 at 9:28 PM, bulk88 via RT <perlbug-followup@perl.org>
This was probably an oversight.
Logically speaking it should have a value, probably the same as
In MBT (or actually ExtUtils::InstallPaths) already takes into account Leon |
From nanis@cpan.orgOn Fri, Dec 4, 2015 at 6:49 PM, Leon Timmermans via RT
Presumably because they run Configure instead of using the canned -- Sinan |
From @bulk88On Fri Dec 04 17:02:17 2015, nanis@cpan.org wrote:
When I ran Configure (metaconfig) on Windows it died very early in an attempt to use it to compile non-Cyg Perl http://www.nntp.perl.org/group/perl.perl5.porters/2015/05/msg228235.html The same enviroment I used in that ML post works successfully for autoconf with MSVC. I dont think (but not 100% sure) Strawberry uses unix Configure, Strawberry uses win32/GNUMakefile or win32/makefile.mk. -- |
From nanis@cpan.orgOn Fri, Dec 4, 2015 at 8:16 PM, bulk88 via RT <perlbug-followup@perl.org> wrote:
Thank you for the information. -- Sinan |
I don't see anything that needs to be done here. I suggest closing. |
Agreed. Closing. |
Migrated from rt.perl.org#126794 (status was 'open')
Searchable as RT126794$
The text was updated successfully, but these errors were encountered: