Build problems

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

Build problems

Paul Smedley-2
Hi All,
It's been some time since I tried to build Firefox as I've been busy
messing around with other stuff :)

I tried to built it earlier today and it died at the following:

creating gfx/src/shared/Makefile
Creating .deps
make.exe[6]: Entering directory
`U:/mozilla/obj-browser335/gfx/src/shared'
Creating .deps
U:/PERL/bin/5.8.0/perl.exe -IU:/mozilla/config
U:/mozilla/config/build-list.pl ../../../config/final-link-libs
gfxshared_s
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "en_AU"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
make.exe[6]: Leaving directory
`U:/mozilla/obj-browser335/gfx/src/shared'
make.exe[6]: Entering directory
`U:/mozilla/obj-browser335/gfx/src/os2'
Makefile:86: *** commands commence before first target.  Stop.

Full build log is at http://smedley.info/firefoxbuild.log

Any ideas?

--
Cheers,

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

Re: Build problems

Henry Sobotka
Paul Smedley wrote:
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LANG = "en_AU"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").

Not a Mozilla but a Perl problem. See:

http://www.perl.com/doc/manual/html/pod/perllocale.html#LOCALE_PROBLEMS

h~

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

Re: Build problems

Paul Smedley-2
In reply to this post by Paul Smedley-2
Hi Henry,
On Tue, 21 Feb 2006 13:43:59 UTC, Henry Sobotka <[hidden email]>
wrote:

> Paul Smedley wrote:
> >
> > perl: warning: Setting locale failed.
> > perl: warning: Please check that your locale settings:
> > LC_ALL = (unset),
> > LANG = "en_AU"
> >     are supported and installed on your system.
> > perl: warning: Falling back to the standard locale ("C").
>
> Not a Mozilla but a Perl problem. See:
>
> http://www.perl.com/doc/manual/html/pod/perllocale.html#LOCALE_PROBLEMS

I already added a 'set locale=en_US' to my build script - but that
doesn't  prevent the key error, ie:
Makefile:86: *** commands commence before first target.  Stop.
make.exe[6]: Leaving directory `U:/mozilla/obj-browser335/gfx/src/os2'

--
Cheers,

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

Re: Build problems

Paul Smedley-2
In reply to this post by Paul Smedley-2
Hi Again :)
On Tue, 21 Feb 2006 13:43:59 UTC, Henry Sobotka <[hidden email]>
wrote:

> Paul Smedley wrote:
> >
> > perl: warning: Setting locale failed.
> > perl: warning: Please check that your locale settings:
> > LC_ALL = (unset),
> > LANG = "en_AU"
> >     are supported and installed on your system.
> > perl: warning: Falling back to the standard locale ("C").
>
> Not a Mozilla but a Perl problem. See:
>
> http://www.perl.com/doc/manual/html/pod/perllocale.html#LOCALE_PROBLEMS

OK I see the problem in the makefile.... seems I'd made some manual
changes to a makefile.in to work around previous build problems - now
I get a nice:
<<<<<<< Makefile.in
                nsIRenderingContextOS2.h nsGfxDefs.h \
=======
                nsIRenderingContextOS2.h \
                nsDrawingSurfaceOS2.h \
>>>>>>> 1.44
                $(NULL)

in the generated makefile.

I'll crawl back into my corner now :)

--
Cheers,

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

Re: Build problems

Henry Sobotka
Paul Smedley wrote:

>
> OK I see the problem in the makefile.... seems I'd made some manual
> changes to a makefile.in to work around previous build problems - now
> I get a nice:
> <<<<<<< Makefile.in
> nsIRenderingContextOS2.h nsGfxDefs.h \
> =======
> nsIRenderingContextOS2.h \
> nsDrawingSurfaceOS2.h \
>>>>>>>> 1.44
> $(NULL)
>
> in the generated makefile.

That's simply a CVS conflict. The stuff between <<< and === is what's in
your version, and between ==== and >>>> is version 1.44. All you have to
do is remove the former and CVS markers and you should be okay, though
you might want to add nsGfxdefs.h if it's not in the newer version.

h~


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

Re: Build problems

Paul Smedley-2
In reply to this post by Paul Smedley-2
On Tue, 21 Feb 2006 17:17:24 UTC, Henry Sobotka <[hidden email]>
wrote:

> Paul Smedley wrote:
> >
> > OK I see the problem in the makefile.... seems I'd made some manual
> > changes to a makefile.in to work around previous build problems - now
> > I get a nice:
> > <<<<<<< Makefile.in
> > nsIRenderingContextOS2.h nsGfxDefs.h \
> > =======
> > nsIRenderingContextOS2.h \
> > nsDrawingSurfaceOS2.h \
> >>>>>>>> 1.44
> > $(NULL)
> >
> > in the generated makefile.
>
> That's simply a CVS conflict. The stuff between <<< and === is what's in
> your version, and between ==== and >>>> is version 1.44. All you have to
> do is remove the former and CVS markers and you should be okay, though
> you might want to add nsGfxdefs.h if it's not in the newer version.

Yeah as soon as I looked at it I knew it was a cvs conflict.  Easily
fixed and back building now though.

I did notice that using the -j 3 parameter to make to try and speed up
compilation on an SMP system causes issues for mozilla, as things barf
as configure hasn't run yet...  Not to worry - I generally build
firefox/tbird from a cron script whilst I'm sleeping anyway :)

--
Cheers,

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

Re: Build problems

Peter Weilbacher
Paul Smedley wrote:

> I did notice that using the -j 3 parameter to make to try and speed up
> compilation on an SMP system causes issues for mozilla, as things barf
> as configure hasn't run yet...

You shouldn't use -j options on the commandline directly, instead set
   mk_add_options MOZ_MAKE_FLAGS=-j3
in your .mozconfig. That should then only get used for sub-makes when
all configure stuff was run.
   P.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Build problems

Paul Smedley-2
Hi Peter,

On Wed, 22 Feb 2006 09:36:48 UTC, Peter Weilbacher
<[hidden email]> wrote:

> Paul Smedley wrote:
>
> > I did notice that using the -j 3 parameter to make to try and speed up
> > compilation on an SMP system causes issues for mozilla, as things barf
> > as configure hasn't run yet...
>
> You shouldn't use -j options on the commandline directly, instead set
>    mk_add_options MOZ_MAKE_FLAGS=-j3
> in your .mozconfig. That should then only get used for sub-makes when
> all configure stuff was run.

Unfortunately this causes build bustage too :(

--
Cheers,

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