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]>
Sean Su wrote:
> Patch v1.0 is 
> http://bugzilla.mozilla.org/attachment.cgi?id=119385&action=view.  It's 
> the last patch attached to the bug.  I would be very surprised if it did 
> anything with unix\deliver.pl as it's a win32 fix.  Once you apply this 
> patch, you can run the following from 
> ...\mozilla\xpinstall\wizard\windows\builder
> 
>    perl build.pl -h
Yikes, my bad ... sorry, downloaded the wrong patch by mistake, should 
have double-checked before asking. Just off to patch my system (doesn't 
apply cleanly to 1.3.1)
> 
> This will shoow you the cmdline help.  Basically, if you have a 
> MOZ_OBJDIR environment var set, you can do the following:
>    perl build.pl -objdir "%MOZ_OBJDIR%"
> 
> or just pass in the full path to your moz obj dir in quotes, like so:
>    perl build.pl -objdir "e:\mozilla\objdir"
> 
> build.pl will not look in your .mozconfig file as it's not part of the 
> normal mozilla build system.
Thanks for the extra info
> 
> David Fraser wrote:
> 
>> 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
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.