Build error on Ubuntu

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

Build error on Ubuntu

Brent  Northam
Note: Cross posted from old newsgroup netscape.public.mozilla.browser
--

I'm trying to build the browser component from HEAD code on Ubuntu and
continue to receive a build error:

First lines of stderr:
In file included from
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.h:44,
                  from
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.c:46:
../../../dist/include/system_wrappers/X11/Intrinsic.h:3:32: error:
X11/Intrinsic.h: No such file or directory
In file included from
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.c:46:
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.h:78: error:
syntax error before 'Widget'
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.h:78: warning:
no semicolon at end of struct or union
/home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.h:79: warning:
type defaults to 'int' in declaration of 'child_widget'

In investigating this it was suggested I didn't have libx11-dev
installed.  I ensured that I do indeed have this package installed.
What next steps can I take to troubleshoot this?

My .mozconfig:
. $topsrcdir/browser/config/mozconfig

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-bin
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --enable-static --disable-shared
ac_add_options --disable-tests
ac_add_options --enable-crypto
mk_add_options MOZ_CO_PROJECT=browser


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

Re: Build error on Ubuntu

Andrew Schultz-2
Brent Northam wrote:

> Note: Cross posted from old newsgroup netscape.public.mozilla.browser
> --
>
> I'm trying to build the browser component from HEAD code on Ubuntu and
> continue to receive a build error:
>
> First lines of stderr:
> In file included from
> /home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.h:44,
>                  from
> /home/bnortham/src/mozilla/widget/src/gtkxtbin/gtk2xtbin.c:46:
> ../../../dist/include/system_wrappers/X11/Intrinsic.h:3:32: error:
> X11/Intrinsic.h: No such file or directory

You need to install libXt-dev

--
Andrew Schultz
[hidden email]
http://www.sens.buffalo.edu/~ajs42/
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds