Re: build firefox 1.0.6 on WinXP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: build firefox 1.0.6 on WinXP

Dan Nicholson
Trueblacker wrote:

> "Dan Nicholson" <[hidden email]> wrote in message
> news:di0ji3$[hidden email]...
>
>
>>>make[5]: Entering directory
>>>`/cygdrive/f/src/_open_sources/mozilla/obj/intl/unicharutil/util'
>>>make[5]: *** No rule to make target `Makefile.in', needed by `Makefile'.
>>>Stop.
>>
>>Could you post your mozconfig?  That's a pretty strange looking error.
>
> . $topsrcdir/browser/config/mozconfig
>
> GLIB_PREFIX=f:/progs/vc71
> LIBIDL_PREFIX=f:/progs/vc71
> PATH=/cygdrive/f/progs/vc71/bin:$PATH
> export PATH

This is a few weeks old now, and I don't have a fix for this, but some
thing rub me the wrong way here.  First, have you had success building
this way before with the initialization of variables in MOZCONFIG?  It
seems dubious to me.  In my understanding of shell files, these will
only be set in whatever sub-shell that the script mozconfig2clientmk is
running on.  If you can set variable here, you should export them for
sure.  Also, I don't think you should have GLIB_PREFIX/bin at the front
of PATH.

I'm speculating, but the way I do it on Windows, is first I run a batch
file that sets up the variables.  First, here's the batch file:
##############
@echo off
set MOZ_TOOLS=c:\tools\moztools
set GLIB_PREFIX=c:\tools\vc71
set LIBIDL_PREFIX=c:\tools\vc71
set PATH=%PATH%;%GLIB_PREFIX%\bin;%MOZ_TOOLS%\bin
set HOME=c:\tools\cygwin\home\Dan

set MOZCONFIG=c:\src\firefox\mozconfig-firefox
set MOZ_CO_PROJECT=browser
set CVSROOT=:pserver:[hidden email]:/cvsroot
set MOZILLA_OFFICIAL=1
set BUILD_OFFICIAL=1

set CFLAGS=/arch:SSE /G6
set CXXFLAGS=/arch:SSE /G6

c:\tools\vs.net\Vc7\bin\vcvars32.bat
##############

The VC7 stuff definitely comes last because I want that at the front of
my PATH.  For reference, my mozconfig looks like this:
##############
. $topsrcdir/browser/config/mozconfig

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build

ac_add_options --disable-shared
ac_add_options --enable-static
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-official-branding
###############

Sorry, that's all I've got.

--
Dan
_______________________________________________
mozilla-builds mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-builds