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
Building perl with makepp #12690
Comments
From occitan@esperanto.orgHi, I've picked up my attempts to compile perl (5.16.2) with http://makepp.sf.net, The 1st stumbling block is perly.[ch]. Since there are rules, makepp will run ifndef MAKEPP_VERSION perly.h: perly.y The same is true in x2p/Makefile.SH:143: for a2p.c. Last year makepp was aligned with gmake, in that statements have a higher This comes from cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm:1445: which What completely baffles me is FALSE. You repeatedly use it in 2 places, in an coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @iabynOn Sun, Jan 06, 2013 at 08:47:31AM -0800, Daniel Pfeiffer wrote:
I think it would be easier to just remove those two rules; they are no [ second issue ]
Any issues with MakeMaker should be reported at the CPAN bug tracker, -- |
The RT System itself - Status changed from 'new' to 'open' |
From occitan@esperanto.orgla 2013-01-07 16:22 Dave Mitchell via RT skribis:
I opened https://rt.cpan.org/Ticket/Display.html?id=82548 coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @craigberryOn Sun, Jan 6, 2013 at 10:47 AM, Daniel Pfeiffer
To me this looks unambiguously like a target with no dependencies.
Statements perhaps not, but targets can. At least on Windows and VMS |
From occitan@esperanto.orgla 2013-01-08 02:00 Craig A. Berry skribis:
In gmake this is a target with no dependencies: include: while this is a statement with an argument of ':': include : Makepp follows the same logic, only that it has many more statements than
Leaving out the space is valid rule syntax. What would break by removing it, Try to make your makefiles as general as you can! That way Perl can be built coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @craigberryOn Tue, Jan 8, 2013 at 3:11 PM, Daniel Pfeiffer <occitan@t-online.de> wrote:
Hmm. So in foo : foo is a statement with a colon as an argument if and only if foo
With most make and make-like utilities, yes, but not all. Here is one $ cat Makefile Add the space and everything is peachy: $ mmk
All building of Perl extensions on VMS, which is something I maintain,
The top-level Makefile is not used on all platforms. The
That is exactly what MakeMaker is trying to do already, but we've now |
From Eirik-Berg.Hanssen@allverden.noOn Tue, Jan 8, 2013 at 11:13 PM, Craig A. Berry <craig.a.berry@gmail.com>wrote:
Yeah, that sounds bad. Hmm ... make syntax really is annoying in the Would something like <<THIS prevent interpretation as statement nul= ${nul} signature : THIS A quick test seems to indicate it does. Yay! :) But is it portable? :-\ Eirik |
From occitan@esperanto.orgla 2013-01-08 23:13 Craig A. Berry skribis:
Another example that came to mind, in gmake "export:" and "export a:=1" also
Not compatibly with original make, but hey, now there's two of us, going in
ifdef MAKEPP_VERSION signature : But as we learnt in this discussion, ifdef isn't portable either, so that's no coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From occitan@esperanto.orgla 2013-01-09 00:03 Eirik Berg Hanssen skribis:
As I answered to [rt.cpan.org #82548] MM_Any breaks makepp, trivial to fix: An alternative, up to you to decide which youprefer, would be signature=signature ${signature} : coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From occitan@esperanto.orgla 2013-01-07 16:22 Dave Mitchell via RT skribis:
I just checked and saw that 5.17.8 is out. But nothing happened about this. coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @doughera88On Tue, 29 Jan 2013, Daniel Pfeiffer wrote:
Here's the problem: Without those "rules", traditional make will To demonstrate the problem: 1. Unpack perl-5.17.8.tar.gz from cpan. Inline Patch--- Makefile.SH.orig 2013-01-29 16:56:48.213936545 -0500
+++ Makefile.SH 2013-01-29 16:57:28.534092377 -0500
@@ -1145,15 +1145,6 @@
regen_perly regen-perly:
perl regen_perly.pl
-# We don't want to regenerate perly.c and perly.h, but they might
-# appear out-of-date after a patch is applied or a new distribution is
-# made.
-perly.c: perly.y
- -@sh -c true
-
-perly.h: perly.y
- -@sh -c true
-
SYM = globvar.sym perlio.sym
SYMH = perlvars.h intrpvar.h
$ make (Of course if you have yacc installed you get a different error, but you I don't know the best way around the problem. It's probably to hide -- |
Migrated from rt.perl.org#116312 (status was 'open')
Searchable as RT116312$
The text was updated successfully, but these errors were encountered: