Firefox 1.5.0.7 - Solaris

This is a discussion on Firefox 1.5.0.7 - Solaris ; Hiya All, Trying to build this from source under Sol 10, x86, gcc with ../configure --enable-application=browser -enable-optimize=-O2 build goes for about 15 mins and dies with: c++ -o nsIconChannel.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=0000000000 -DORBIT2=1 -mt -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 ...

+ Reply to Thread
Results 1 to 8 of 8

Thread: Firefox 1.5.0.7

  1. Firefox 1.5.0.7

    Hiya All,

    Trying to build this from source under Sol 10, x86, gcc
    with

    ../configure --enable-application=browser -enable-optimize=-O2

    build goes for about 15 mins and dies with:

    c++ -o nsIconChannel.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"SunOS5\"
    -DOSARCH=\"SunOS\" -DBUILD_ID=0000000000 -DORBIT2=1 -mt
    -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
    -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
    -I/usr/include/libart-2.0 -I/usr/include/gconf/2
    -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
    -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
    -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
    -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
    -I/usr/include/pango-1.0 -I/usr/sfw/include/freetype2 -I/usr/sfw/include
    -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/openwin/include
    -I/usr/include/libxml2 -I../../../../../dist/include/xpcom
    -I../../../../../dist/include/string -I../../../../../dist/include/necko
    -I../../../../../dist/include/intl
    -I../../../../../dist/include/mimetype
    -I../../../../../dist/include/imgicon -I../../../../../dist/include
    -I../../../../../dist/include/nspr -I../../../../../dist/sdk/include
    -I/usr/openwin/include -fPIC -I/usr/openwin/include -fno-rtti
    -fno-exceptions -Wno-long-long -pedantic -fshort-wchar -pthreads
    -DNDEBUG -DTRIMMED -O2 -I/usr/openwin/include -DMOZILLA_CLIENT -include
    .../../../../../mozilla-config.h -Wp,-MD,.deps/nsIconChannel.pp
    nsIconChannel.cpp
    cc1plus: error: invalid option `t'
    gmake[4]: *** [nsIconChannel.o] Error 1
    gmake[4]: Leaving directory
    `/export/home/alex/mozilla/modules/libpr0n/decoders/icon/gtk'
    gmake[3]: *** [libs] Error 2
    gmake[3]: Leaving directory
    `/export/home/alex/mozilla/modules/libpr0n/decoders'
    gmake[2]: *** [libs] Error 2
    gmake[2]: Leaving directory `/export/home/alex/mozilla/modules/libpr0n'
    gmake[1]: *** [tier_9] Error 2
    gmake[1]: Leaving directory `/export/home/alex/mozilla'
    gmake: *** [default] Error 2
    bash-3.00$


    Any ideas? I was thinking of submitting this as a bug with their
    developers, but then thought, they will probably turn around and
    say "not a mozilla bug, its ur OS".

    Any thoughts?

  2. Re: Firefox 1.5.0.7


    Alex wrote:
    > Trying to build this from source under Sol 10, x86, gcc
    > with ./configure --enable-application=browser -enable-optimize=-O2
    > build goes for about 15 mins and dies with:
    > c++ -o nsIconChannel.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"SunOS5\"
    > -DOSARCH=\"SunOS\" -DBUILD_ID=0000000000 -DORBIT2=1 -mt


    snip verbage

    > cc1plus: error: invalid option `t'


    There is no -mt option for gcc AFAICT....

    > Any ideas?


    Try Studio 11

    > I was thinking of submitting this as a bug with their
    > developers, but then thought, they will probably turn around and
    > say "not a mozilla bug, its ur OS".


    More like Google is your friend


  3. Re: Firefox 1.5.0.7

    Alex wrote:
    > Hiya All,
    >
    > Trying to build this from source under Sol 10, x86, gcc
    > with
    >
    > ./configure --enable-application=browser -enable-optimize=-O2
    >
    > build goes for about 15 mins and dies with:


    >
    > Any ideas? I was thinking of submitting this as a bug with their
    > developers, but then thought, they will probably turn around and
    > say "not a mozilla bug, its ur OS".
    >
    > Any thoughts?



    You might want to contact the Sun team who compiles firefox. From the
    beta version of firefox 1.5 there was a readme:




    This build was produced on a solaris2.10 platform.
    If you encounter any problem with the package,
    you may contact Leon Sha

    This build was made from the FIREFOX_1_5b1_RELEASE tag in the CVS
    repository.

    FAQ:
    * If you just can not start up or encount some unexpect crash, try
    to do this.

    Back up your
    "$HOME/.mozilla/firefox"/"$HOME/.mozilla"/"$HOME/.thunderbird.
    Remove this directory.
    Start up the application without import anything.

    The following tools/libraries were used for compilation:
    cc: Sun C 5.5 Patch 112760-07 2004/02/03
    CC: Sun C++ 5.5 Patch 113817-06 2004/01/29
    GNU Make 3.80
    perl-5.8.4

    For detail build configure information, just type "about:buildconfig" in
    URL bar.






    Also when I type "about:buildconfig" in my firefox 1.5.0.7 I get:






    about:buildconfig

    Build platform
    target
    i386-pc-solaris2.10

    Build tools
    Compiler Version Compiler flags
    /opt/SUNWspro/bin/cc Sun C 5.8 2005/10/13 -xlibmil -xstrconst
    -xbuiltin=%all -mt
    /opt/SUNWspro/bin/CC Sun C++ 5.8 Patch 121018-03 2006/07/19 -xlibmil
    -xlibmopt -features=tmplife -norunpath -xbuiltin=%all -features=tmplife
    -mt -I/usr/openwin/include

    Configure arguments
    --enable-application=browser --enable-xft --enable-svg --enable-canvas
    --enable-static --enable-optimize=-xO3 --enable-official-branding
    --enable-default-toolkit=gtk2 --disable-tests --disable-debug
    --disable-shared --disable-auto-deps --disable-freetype2



    Paul

  4. Re: Firefox 1.5.0.7

    gerryt wrote:

    >
    > Try Studio 11
    >


    I have installed SunStudio 11. How do I build firefox with this?
    I tried opening the makefile and doing a build but with no success

  5. Re: Firefox 1.5.0.7

    Alex wrote:
    > gerryt wrote:
    >
    >>
    >> Try Studio 11
    >>

    >
    > I have installed SunStudio 11. How do I build firefox with this?
    > I tried opening the makefile and doing a build but with no success


    Try gmake from the command line.

    --
    Ian Collins.

  6. Re: Firefox 1.5.0.7

    Ian Collins wrote:
    > Alex wrote:
    >
    >>gerryt wrote:
    >>
    >>
    >>>Try Studio 11
    >>>

    >>
    >>I have installed SunStudio 11. How do I build firefox with this?
    >>I tried opening the makefile and doing a build but with no success

    >
    >
    > Try gmake from the command line.
    >


    Then I am back to square one arnt I? I will be using the
    GNU C/C++ tools all over again?


  7. Re: Firefox 1.5.0.7

    Alex wrote:
    > Ian Collins wrote:
    >> Alex wrote:
    >>
    >>> gerryt wrote:
    >>>
    >>>
    >>>> Try Studio 11
    >>>>
    >>>
    >>> I have installed SunStudio 11. How do I build firefox with this?
    >>> I tried opening the makefile and doing a build but with no success

    >>
    >>
    >> Try gmake from the command line.
    >>

    >
    > Then I am back to square one arnt I? I will be using the
    > GNU C/C++ tools all over again?
    >

    No,

    You set CC=/your/Studio11/cc and CXX=/your/Studio11/CC

    example:

    CC=/opt/SUNWspro/bin/cc
    export CC

    CXX=/opt/SUNWspro/bin/CC
    export CXX



    Then while your at it type "about:buildconfig" in a compiled binary of
    FireFox 1.5.0.7 address bar



    about:buildconfig

    Build platform
    target
    i386-pc-solaris2.10

    Build tools
    Compiler Version Compiler flags
    /opt/SUNWspro/bin/cc Sun C 5.8 2005/10/13 -xlibmil -xstrconst
    -xbuiltin=%all -mt
    /opt/SUNWspro/bin/CC Sun C++ 5.8 Patch 121018-03 2006/07/19 -xlibmil
    -xlibmopt -features=tmplife -norunpath -xbuiltin=%all -features=tmplife
    -mt -I/usr/openwin/include

    Configure arguments
    --enable-application=browser --enable-xft --enable-svg --enable-canvas
    --enable-static --enable-optimize=-xO3 --enable-official-branding
    --enable-default-toolkit=gtk2 --disable-tests --disable-debug
    --disable-shared --disable-auto-deps --disable-freetype2

  8. Re: Firefox 1.5.0.7


    Alex wrote:
    > Ian Collins wrote:
    > > Alex wrote:
    > >>gerryt wrote:
    > >>>Try Studio 11
    > >>I have installed SunStudio 11. How do I build firefox with this?


    By following the build instructions at mozilla.org i suppose..
    However cumbersome, they have worked out in the past for me.

    > >>I tried opening the makefile and doing a build but with no success


    > > Try gmake from the command line.

    > Then I am back to square one arnt I? I will be using the
    > GNU C/C++ tools all over again?


    arnt? Usage of gmake is quite commonplace in so called freeware.
    Due to "extensions" you sometimes have to use it unless you feel
    up writing your own makefiles..

    Anyway I picked up a pre-built for SPARC firefox recently and it was
    built with:

    Build platform target: sparc-sun-solaris2.10

    Build tools
    Compiler Version Compiler flags
    /opt/SUNWspro/bin/cc Sun C 5.8 2005/10/13 -xlibmil -xstrconst
    -xbuiltin=%all -mt
    /opt/SUNWspro/bin/CC Sun C++ 5.8 2005/10/13 -xlibmil -xlibmopt
    -features=tmplife -norunpath -xbuiltin=%all -features=tmplife -mt
    -I/usr/openwin/include

    Configure arguments
    --enable-application=browser --enable-xft --enable-svg --enable-canvas
    --enable-static --enable-optimize=-xO3 --enable-official-branding
    --enable-default-toolkit=gtk2 --disable-tests --disable-debug
    --disable-shared --disable-auto-deps --disable-freetype2

    Evidently they worked but I would probably add more stuff and change
    some of
    the above personally.


+ Reply to Thread