error when building firefox on windows 2000

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

error when building firefox on windows 2000

B.C.
When I try to build firefox on windows 2000 with MS VC++ .net 2003 I get the
following error:

make[4]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js/src'
make[3]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js'
make[3]: Entering directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom'
make[4]: Entering directory
`/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom/MoreFiles'
make[4]: *** No rule to make target `Makefile.in', needed by `Makefile'.
Stop.
make[4]: Leaving directory
`/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom/MoreFiles'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt'
make: *** [build] Error 2

whree ff-opt is my output directory. Here is the .mozconfig file that I use

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
ac_add_options --enable-optimize

What am I missing here? I would also like to build xpcshell. Are these
settings enough to do it?

Thx


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

Re: error when building firefox on windows 2000

Chris Seawood
B.C. wrote:
> When I try to build firefox on windows 2000 with MS VC++ .net 2003 I get the
> following error:
>
> make[4]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js/src'
> make[3]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js'
> make[3]: Entering directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom'
> make[4]: Entering directory
> `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom/MoreFiles'
> make[4]: *** No rule to make target `Makefile.in', needed by `Makefile'.

Can you attach your generated ff-opt/xpcom/MoreFiles/Makefile ?  It
sounds like the wrong paths are being set for VPATH so the makefile
doesn't know how to find Makefile.in from the srcdir.

> whree ff-opt is my output directory. Here is the .mozconfig file that I use
>
> . $topsrcdir/browser/config/mozconfig
> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
> ac_add_options --enable-optimize
>
> What am I missing here? I would also like to build xpcshell. Are these
> settings enough to do it?

Those are fine.

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

Re: error when building firefox on windows 2000

B.C.
Hi:

Here is the content of this file:
I want to add that the mozilla directory containing all the source code is
in x:\dev\cpp\mozilla

Thx

#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla.
#
# The Initial Developer of the Original Code is Netscape
# Communications.  Portions created by Netscape Communications are
# Copyright (C) 2001 by Netscape Communications.  All
# Rights Reserved.
#
# Contributor(s):
#

DEPTH  = ../..
topsrcdir = x:/dev/cpp/mozilla
srcdir  = x:/dev/cpp/mozilla/xpcom/MoreFiles
VPATH  = x:/dev/cpp/mozilla/xpcom/MoreFiles

include $(DEPTH)/config/autoconf.mk

MODULE  = macmorefiles
REQUIRES =

# ifeq for standalone builds
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))

LIBRARY_NAME = macmorefiles_s

CSRCS  =    \
  MoreFilesX.c  \
  FSCopyObject.c  \
  $(NULL)

EXPORTS  +=  \
  MoreFilesX.h  \
  FSCopyObject.h  \
  $(NULL)

# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB=1
FORCE_USE_PIC=1

endif

include $(topsrcdir)/config/rules.mk



"Christopher Seawood" <[hidden email]> wrote in message
news:dktcsq$[hidden email]...
> B.C. wrote:
> > When I try to build firefox on windows 2000 with MS VC++ .net 2003 I get
the

> > following error:
> >
> > make[4]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js/src'
> > make[3]: Leaving directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/js'
> > make[3]: Entering directory `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom'
> > make[4]: Entering directory
> > `/cygdrive/x/dev/cpp/mozilla/ff-opt/xpcom/MoreFiles'
> > make[4]: *** No rule to make target `Makefile.in', needed by `Makefile'.
>
> Can you attach your generated ff-opt/xpcom/MoreFiles/Makefile ?  It
> sounds like the wrong paths are being set for VPATH so the makefile
> doesn't know how to find Makefile.in from the srcdir.
>
> > whree ff-opt is my output directory. Here is the .mozconfig file that I
use

> >
> > . $topsrcdir/browser/config/mozconfig
> > mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt
> > ac_add_options --enable-optimize
> >
> > What am I missing here? I would also like to build xpcshell. Are these
> > settings enough to do it?
>
> Those are fine.
>
> - cls


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

Re: error when building firefox on windows 2000

Chris Seawood
B.C. wrote:

> DEPTH  = ../..
> topsrcdir = x:/dev/cpp/mozilla
> srcdir  = x:/dev/cpp/mozilla/xpcom/MoreFiles
> VPATH  = x:/dev/cpp/mozilla/xpcom/MoreFiles

There's the problem.  Those paths should be using the /cygdrive syntax
per bug 232003.  I assume that you're using ActiveState perl?  Which
source tree is this?

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

Re: error when building firefox on windows 2000

B.C.
That is correct, I am using active perl 5.8.4. This is the 1.0.7 source code
which I downloaded from
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.7/source/ . When
I run the main script I do it from a windows command window. Do you think it
would help if I do it from cygwin?

Thx

"Christopher Seawood" <[hidden email]> wrote in message
news:dl1ac0$[hidden email]...

> B.C. wrote:
>
> > DEPTH  = ../..
> > topsrcdir = x:/dev/cpp/mozilla
> > srcdir  = x:/dev/cpp/mozilla/xpcom/MoreFiles
> > VPATH  = x:/dev/cpp/mozilla/xpcom/MoreFiles
>
> There's the problem.  Those paths should be using the /cygdrive syntax
> per bug 232003.  I assume that you're using ActiveState perl?  Which
> source tree is this?
>
> - cls


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

Re: error when building firefox on windows 2000

B.C.
In reply to this post by Chris Seawood
Hi, Christopher:
 
For the record, finally I've been able to successfully compile firefox. I used the script below to set up the environment variables (the script was taken from the http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites page - scroll down to configure the environment). Please note I had to place %GLIB_PREFIX%\bin before %MOZ_TOOLS%\bin otherwise xpidl returned an access violation (the error is in the FAQ: http://developer.mozilla.org/en/docs/Mozilla_Build_FAQ#Win32-specific_questions).
 
But now when I try to run firefox it blows up at:
Assertion failure: &dummy2 < dummy1addr, at x:/dev/cpp/mozilla/js/src/jsapi.c:1794. I am not too sure why. I will have to look into this.
 
@echo off
rem --- Basic config, with VC7 libIDL files
SET MOZ_TOOLS=X:\dev\cpp\moztools
SET GLIB_PREFIX=%MOZ_TOOLS%\vc71
SET LIBIDL_PREFIX=%MOZ_TOOLS%\vc71
SET CYGWINBASE=X:\dev\cygwin
 
rem --- Clean slate start
SET INCLUDE=
SET LIB=
SET PATH=G:\WINNT\system32;G:\WINNT;G:\WINNT\system32\wbem
 
rem --- Set VC7 compiler environment vars
 
CALL "H:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
 
rem --- Add moztools to build environment
SET PATH=%PATH%;%GLIB_PREFIX%;%GLIB_PREFIX%\bin;%MOZ_TOOLS%\bin;%CYGWINBASE%\bin
SET INCLUDE=%GLIB_PREFIX%\include;%INCLUDE%
SET LIB=%GLIB_PREFIX%\lib;%LIB%
 
 
 
 
"Christopher Seawood" <[hidden email]> wrote in message <A href="news:dl1ac0$oo05@ripley.aoltw.net">news:dl1ac0$oo05@......
> B.C. wrote:

>
> > DEPTH  = ../..
> > topsrcdir = x:/dev/cpp/mozilla
> > srcdir  = x:/dev/cpp/mozilla/xpcom/MoreFiles
> > VPATH  = x:/dev/cpp/mozilla/xpcom/MoreFiles
>
> There's the problem.  Those paths should be using the /cygdrive syntax
> per bug 232003.  I assume that you're using ActiveState perl?  Which
> source tree is this?
>
> - cls