Re: building unix installer outside normal tree
David Fraser <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | The South African Internet Exchange |
| Message-ID | <[email protected]> |
OK, I'm confused... which patch is which? here's the list of patches from the bug (description + date + X if it's removed) fix build_static.pl when MOZ_OBJDIR set in mozconfig 2002-08-10 09:59:19 objdir support for deliver.pl 2002-12-04 23:56:37 X add command-line option to build.pl 2003-03-08 13:55:42 X updated from Benjamin Smedberg that is merged with trunk 2003-03-18 11:28:51 fix objdir installer for nsBuildID.h 2003-03-28 22:54:51 X make deliver.pl objdir aware & fix bogus strip errors in makexpi.pl 2003-03-29 15:23:17 patch 0.1 2003-04-03 11:40:40 X patch v1.0 2003-04-03 19:02:28 fix build_static.pl (the first patch) just affects wizard/windows/builder/build_static.pl so that's presumably the one I should be using... I tried "updated from Benjamin Smedberg" but that failed to apply... it affects packager/make_stage.pl, packager/win_gre/makeall.pl, and wizard/windows/builder/build.pl "make deliver.pl objdir aware" affects packager/unix/deliver.pl and packager/unix/makexpi.pl ... in fact it's identical to patch 1.0 as far as I can see. patch v1.0 is the one I had downloaded, and only affects packager/unix/deliver.pl and packager/unix/makexpi.pl I'm trying to build version 1.3.1. Whether I apply the "fix build_static.pl" or not, I get the following: perl build.pl file not found: E:/mozilla/src/mozilla/dist/bin/mozilla.exe So it isn't looking in MOZ_OBJDIR, even though it's set in my .mozconfig I tried setting it as an environment variable, that didn't help either... I notice this patch only fixes build_static, is there a fix for build.pl or should I try make one? Regards David Sean Su wrote: > There's a seperate patch for the windows build.pl. That's patch v1.0. > the cmdline arg is '-objdir [path]'. if you pass '-h' it should show up > the options is can take. > > The patch to the linux deliver.pl looks like it was already checked in, > thus -o$objdir seems to work for you. > > David Fraser wrote: > >> Sean Su wrote: >> >>> it's a known problem. see bug >>> http://bugzilla.mozilla.org/show_bug.cgi?id=162079 >> >> >> Thanks Sean, should have checked bugzilla >> Got the latest patch (1.0) and am busy looking at it... >> It works fine on Linux if I say -o$objdir >> But the Windows build instructions say to use >> xpinstall/wizard/windows/builder/build.pl which doesn't seem affected >> by this patch. >> Am I missing something? Might make more sense in the morning... >> David >> >> >> >