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
perl 5.10.1 does not relocate the vendor/lib directory on Win32 systems. #10233
Comments
From @csjewellThis is a bug report for perl from perl@csjewell.fastmail.us, I built a "Strawberry" perl 5.10.1 with debugging information, and (Yes, the bug appears when perl is built w/o debugging information, as I wonder what I'm doing wrong. (Note that 5.11.5 is fine, but I'd like to at least have a patch for In my win32\config_H.gc: (The 5.10.1 tarball has "5.11.0" as the /* ... */ /* PRIVLIB: /* ... */ /* SITEARCH: /* SITELIB: /* ... */ /* PERL_VENDORARCH: /* PERL_VENDORLIB_EXP: Walkthrough with gdb: (gdb) run Breakpoint 1, main (argc=1, argv=0x9, env=0x22fff0) at perlmain.c:22 Breakpoint 7, S_init_perllib (my_perl=0x3e5614) at ../perl.c:4910 Breakpoint 8, S_init_perllib (my_perl=0x3e5614) at ../perl.c:4926 Breakpoint 6, S_init_perllib (my_perl=0x3e5614) at ../perl.c:4947 Flags: Site configuration information for perl 5.10.1: Configured by 1 at Wed Jan 27 23:29:27 2010. Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Locally applied patches: @INC for perl 5.10.1: Environment for perl 5.10.1: Complete configuration data for perl 5.10.1: Author='' "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ |
From @rurban2010/3/14 Curtis Jewell <perlbug-followup@perl.org>:
Wrong expansion.
Use the attached patch or do |
From @rurbanbug73562-lib_exp_5110.patchdifforig win32
diff -u win32/config_H.bc.orig
--- win32/config_H.bc.orig 2009-02-14 23:28:00.000000000 +0100
+++ win32/config_H.bc 2010-03-15 06:29:08.750000000 +0100
@@ -2618,7 +2618,7 @@
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
#define PRIVLIB "c:\\perl\\lib" /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.10.1")) /**/
/* CAN_PROTOTYPE:
* If defined, this macro indicates that the C compiler can handle
@@ -2734,7 +2734,7 @@
* be tacked onto this variable to generate a list of directories to search.
*/
#define SITELIB "c:\\perl\\site\\lib" /**/
-#define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
+#define SITELIB_EXP (win32_get_sitelib("5.10.1")) /**/
#define SITELIB_STEM "" /**/
/* Size_t_size:
diff -u win32/config_H.gc.orig
--- win32/config_H.gc.orig 2009-02-14 23:28:00.000000000 +0100
+++ win32/config_H.gc 2010-03-15 06:27:40.140625000 +0100
@@ -2638,7 +2638,7 @@
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
#define PRIVLIB "c:\\perl\\lib" /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.10.1")) /**/
/* CAN_PROTOTYPE:
* If defined, this macro indicates that the C compiler can handle
@@ -2754,7 +2754,7 @@
* be tacked onto this variable to generate a list of directories to search.
*/
#define SITELIB "c:\\perl\\site\\lib" /**/
-#define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
+#define SITELIB_EXP (win32_get_sitelib("5.10.1")) /**/
#define SITELIB_STEM "" /**/
/* Size_t_size:
diff -u win32/config_H.vc.orig
--- win32/config_H.vc.orig 2009-02-14 23:28:00.000000000 +0100
+++ win32/config_H.vc 2010-03-15 06:29:08.765625000 +0100
@@ -2634,7 +2634,7 @@
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
#define PRIVLIB "c:\\perl\\lib" /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.10.1")) /**/
/* CAN_PROTOTYPE:
* If defined, this macro indicates that the C compiler can handle
@@ -2750,7 +2750,7 @@
* be tacked onto this variable to generate a list of directories to search.
*/
#define SITELIB "c:\\perl\\site\\lib" /**/
-#define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
+#define SITELIB_EXP (win32_get_sitelib("5.10.1")) /**/
#define SITELIB_STEM "" /**/
/* Size_t_size:
diff -u win32/config_H.vc64.orig
--- win32/config_H.vc64.orig 2009-02-14 23:28:00.000000000 +0100
+++ win32/config_H.vc64 2010-03-15 06:29:08.765625000 +0100
@@ -2618,7 +2618,7 @@
* in programs that are not prepared to deal with ~ expansion at run-time.
*/
#define PRIVLIB "c:\\perl\\lib" /**/
-#define PRIVLIB_EXP (win32_get_privlib("5.11.0")) /**/
+#define PRIVLIB_EXP (win32_get_privlib("5.10.1")) /**/
/* CAN_PROTOTYPE:
* If defined, this macro indicates that the C compiler can handle
@@ -2734,7 +2734,7 @@
* be tacked onto this variable to generate a list of directories to search.
*/
#define SITELIB "c:\\perl\\site\\lib" /**/
-#define SITELIB_EXP (win32_get_sitelib("5.11.0")) /**/
+#define SITELIB_EXP (win32_get_sitelib("5.10.1")) /**/
#define SITELIB_STEM "" /**/
/* Size_t_size:
|
The RT System itself - Status changed from 'new' to 'open' |
From @csjewellOn Mon, 15 Mar 2010 06:33 +0100, "Reini Urban" <rurban@x-ray.at> wrote:
With that patch, it still doesn't work, as shown below: ... C:\vanilla-copy\perl\bin>perl -V Platform: Characteristics of this binary (from libperl): (which is the result of @INC in perl -V that I was getting.) "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/ |
From @chornyOn Sat Mar 13 22:56:45 2010, csjewell wrote:
perl 5.12.0 works correctly and both p5p and Strawberry no longer -- |
@chorny - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#73562 (status was 'resolved')
Searchable as RT73562$
The text was updated successfully, but these errors were encountered: