Failed Win32 Build...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed Win32 Build...

Roy L Butler
I apologize if this is an FAQ, but I didn't find it through
searches on MDC or Google.  I'm trying to build firefox-1.5.03 on
Windows XP Professional, using the instructions at:

http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites_on_the_1.7_and_1.8_Branches

I'm using a recent Cygin (don't know how to check version),
Netscape's Wintools, VC++ SP5, Processor Pack (extracted
manually), Feb 2003 PSDK, and I start the build like so:

Cygwin
mozilla-set.bat (batch script from above URL, suited to match)
addition of MASM to PATH
cd to mozilla source
./configure --prefix=/cygdrive/c/firefox-1.5.0.3
--enable-application=browser
make
make install

I really didn't find these steps anywhere, so am not sure they're
right, but everything is successful, up until the "make install",
when it fails part way through trying to place tdynamic.lib.  If
I tell make to skip errors, it will finish the install, but
complains about every .lib file, from what I can tell.  Then, if
I try to lauch the newly-built application, it just hangs, unless
I have an official build running already, in which case it opens
a new window of it.

Please help.  I have no problem building this on Linux and intend
to do most of my work there, but would really like to understand
what I'm doing wrong...


Thanks,
Roy


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Failed Win32 Build...

Roy L Butler
Everyone,

>I apologize if this is an FAQ, but I didn't find it through
>searches on MDC or Google.  I'm trying to build firefox-1.5.03 on
>Windows XP Professional, using the instructions at:
>
>http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites_on_the_1.7_and_1.8_Branches
>
>I'm using a recent Cygin (don't know how to check version),
>Netscape's Wintools, VC++ SP5, Processor Pack (extracted
>manually), Feb 2003 PSDK, and I start the build like so:
>
>Cygwin
>mozilla-set.bat (batch script from above URL, suited to match)
>addition of MASM to PATH
>cd to mozilla source
>../configure --prefix=/cygdrive/c/firefox-1.5.0.3
>--enable-application=browser
>make
>make install
>
>I really didn't find these steps anywhere, so am not sure they're
>right, but everything is successful, up until the "make install",
>when it fails part way through trying to place tdynamic.lib.  If
>I tell make to skip errors, it will finish the install, but
>complains about every .lib file, from what I can tell.  Then, if
>I try to lauch the newly-built application, it just hangs, unless
>I have an official build running already, in which case it opens
>a new window of it.
>
>Please help.  I have no problem building this on Linux and intend
>to do most of my work there, but would really like to understand
>what I'm doing wrong...

I discovered how to build Firefox for Win32 by integrating my
instructions with what I found worked for a newer MS compiler at

http://cs.senecac.on.ca/~david.humphrey/writing/firefox-win32-build.html

Basically, you don't run the configure script, but hand-make your
own .mozconfig file, run make with arguments ("make -f client.mk
build"), and when done, you find the results in the dist/bin
subdir of where you set your MOZ_OBJDIR to.  The lib files I had
previously been erroring out on were not needed and the way this
proper build goes, it doesn't look for them and fail on start-up.

I hope this helps others - I hate finding questions w/o answers
when I'm trying to solve something; though I usually end up
learning more that way. :)  If anyone wants more info on the
exact directories and environment variables I set, let me know.


Roy


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds