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
Need place for "how to build old versions of perl on new platform versions" #9352
Comments
From david@kineticode.comperlbug, This is a bug report for perl from david@kineticode.com, I tried to build 5.6.2 on Mac OS X 10.5.2 with this configuration: sh Configure -des -Duseshrplib -Dprefix=/usr/local/perl-5.6.2 It failed during `make` with these errors: YLD_LIBRARY_PATH=/usr/local/src/perl-5.6.2 cc -L/usr/local/lib -o miniperl \ Making DynaLoader (static) When I tried again without -Duseshrplib, the build succeeded (hence the Flags: Site configuration information for perl v5.6.2: Configured by david at Thu May 1 17:46:47 PDT 2008. Summary of my perl5 (revision 5.0 version 6 subversion 2) configuration: Locally applied patches: @INC for perl v5.6.2: Environment for perl v5.6.2: |
From p5p@spam.wizbit.beOn Tue May 27 23:07:18 2008, david@kineticode.com wrote:
Can you send all the output of the make command? Kind regards, Bram |
The RT System itself - Status changed from 'new' to 'open' |
From david@kineticode.comOn Jun 2, 2008, at 14:18, Bram via RT wrote:
Here is the output for Configure, make, and ./myconfig: HTH, David benedict# sh Configure -des -Duseshrplib -Dprefix=/usr/local/perl-5.6.2 WARNING: Some systems limit the #! command to 32 characters. Where do you keep publicly executable scripts? (~name ok)
If you compile perl5 on a different machine or from a different object benedict# make Making DynaLoader (static) benedict# |
From p5p@perl.wizbit.beQuoting "David E. Wheeler" <david@kineticode.com>:
What output do you get if you run: ? Kind regards, Bram |
From @doughera88On Tue, 27 May 2008, David Wheeler wrote:
First, do you really want 5.6.2? It's almost 5 years old. The current
This is odd. miniperl should never be loading File/Glob. Your build log clearly [ . . . ]
Is there a pre-existing libperl already installed? If so, then perhaps If there is no pre-existing libperl, then I speculate the problem may be a -- |
From shouldbedomo@mac.comOn 2008–05–28, at 08:07, David Wheeler (via RT) wrote:
Just reporting a negative data point: as hints/darwin.sh has been |
From @doughera88On Wed, 4 Jun 2008, Dominic Dunlop wrote:
Ah, ok. Looking at the differences between 5.6.2's Makefile.SH and
It looks like bleadperl currently tries both of those things on It looks to me as if this might work. It simply links miniperl against Inline Patch--- Makefile.SH.5.6.2 2003-11-09 18:44:12.000000000 -0500
+++ Makefile.SH 2008-06-04 09:16:30.000000000 -0400
@@ -493,9 +493,10 @@
;;
*)
$spitshell >>Makefile <<'!NO!SUBS!'
-miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
+miniperl: $& miniperlmain$(OBJ_EXT) $(obj) opmini$(OBJ_EXT)
$(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
+ `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
+ miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
$(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
-- Andy Dougherty doughera@lafayette.edu |
From @timbunceI've just run across this with perl 5.8.6 and 5.8.8 I've attached a patch which worked for me -- which is essentially Andy's with the addition of |
From @timbuncert54952.patch--- Makefile.SH.orig 2009-11-23 21:04:57.000000000 +0000
+++ Makefile.SH 2009-11-23 21:19:15.000000000 +0000
@@ -616,10 +616,11 @@
;;
esac
$spitshell >>Makefile <<'!NO!SUBS!'
-miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
+miniperl$(EXE_EXT): $& miniperlmain$(OBJ_EXT) $(obj) perl$(OBJ_EXT) opmini$(OBJ_EXT)
-@rm -f miniperl.xok
$(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
- miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
+ `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
+ miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
$(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
|
From david@kineticode.comCool. Should this be applied toy blead? David On Nov 24, 2009, at 6:23 AM, Tim Bunce via RT wrote:
|
From @timbunce"To blead" I presume. There's no need, perl >= 5.8.9 works fine. We probably ought to have a well defined place to record details of Tim. On Tue, Nov 24, 2009 at 08:07:21AM +0900, David E. Wheeler wrote:
|
From @rgarcia2009/11/25 Tim Bunce <Tim.Bunce@pobox.com>:
Could that go on the refreshed dev.perl.org ? with some other docs, |
From @khwilliamsonI changed the subject line to reflect where this ticket ended up. |
From @dcollinsnIsn't this the concept behind Devel::PatchPerl? -- |
From @wolfsageOn Mon, Jul 18, 2016 at 10:55 AM, Dan Collins via RT
Yeah, but we don't mention it anywhere in the p5 source. Perhaps adding a section to perlhacktips or INSTALL mentioning it -- Matthew Horsfall (alh) |
+1 to Matthew Horsfall's suggestion to point to Devel::PatchPerl in the INSTALL file. Maybe also mention plenv or Perlbrew? |
Migrated from rt.perl.org#54952 (status was 'open')
Searchable as RT54952$
The text was updated successfully, but these errors were encountered: