Closed Bug 216366 Opened 21 years ago Closed 21 years ago

configure doesn't wrap all ActiveState Perl calls

Categories

(SeaMonkey :: Build Config, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6beta

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(2 files, 1 obsolete file)

On win32 I am using an absolute MOZ_OBJDIR:
mk_add_options MOZ_OBJDIR=h:/moz-extension

But this recently began to fail, due to cygwin wrapper changes. We're calling
perl acoutput-fast.pl using cygwin paths. Patch forthcoming.
Attached patch configure wraps AS perl (obsolete) — Splinter Review
Comment on attachment 129912 [details] [diff] [review]
configure wraps AS perl

tested with win32 AS perl and linux...
Attachment #129912 - Flags: review?(cls)
Actually, bryner & I were discussing just dropping support for AS perl
altogether. The only thing that required it was the installer scripts (as
mentioned on the distribution page) and I believe that bug has been fixed.
Comment on attachment 129912 [details] [diff] [review]
configure wraps AS perl

I'd rather not expand the CYGWIN_WRAPPER definition in the variables that use
it unless they are being used by configure.  

Since you're removing that entire block that sets my_perl, you should just get
rid of $my_srcdir as well since it's hardcoded to $srcdir now.
Attachment #129912 - Flags: review?(cls) → review-
This patch only evaluates $PERL immediately.

Please don't decide to stop support AS perl... I know that cygwin perl may be
better for mozilla, but for other projects AS Perl avoids the overhead of
cygwin processes, and so I need it ahead of cygwin perl in my path.
Attachment #129912 - Attachment is obsolete: true
Attachment #130177 - Flags: review?(cls)
Comment on attachment 130177 [details] [diff] [review]
configure sraps AS perl, take 2

Path order is a non-issue as you can always set PERL in your mozconfig file to
point to the proper binary.
Attachment #130177 - Flags: review?(cls) → review+
Comment on attachment 130177 [details] [diff] [review]
configure sraps AS perl, take 2

Configure changes, should not affect the build at all.
Attachment #130177 - Flags: approval1.5b?
Comment on attachment 130177 [details] [diff] [review]
configure sraps AS perl, take 2

a=asa (on behalf of drivers) for checkin to 1.5beta. Land quickly if it's gonna
make beta. Thanks.
Attachment #130177 - Flags: approval1.5b? → approval1.5b+
fixed-on-trunk, and ctlbld did its thing successfully.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Ok, this caused regressions using make 3.80... the cygwin-wrapper is causing
substitution of the DOS-style path at acoutput-fast. I think I have a solution
in hand... it involves adding a "-first" flag to cygwin-wrapper such that the
wrapper will only wrap the first argument, and leave all the rest unmolested.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I have tested this patch with the following configurations:
make 3.79/AS Perl
make 3.80/cygwin perl
some ordinary linux configuration
Attachment #133352 - Flags: review?(bryner)
Attachment #133352 - Flags: review?(bryner) → review+
Fixed on trunk.
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.5beta
Target Milestone: mozilla1.5beta → mozilla1.6beta
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: