Firefox 2 wont build Sol 10 x86 - Solaris

This is a discussion on Firefox 2 wont build Sol 10 x86 - Solaris ; Hi All, In an issue I have been having, trying to get firefox to build, I have been given a response from the mozilla.org developer newsgroups, and need some help in approaching the problem ============================================= Message-ID: Date: Thu, 26 Oct ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: Firefox 2 wont build Sol 10 x86

  1. Firefox 2 wont build Sol 10 x86

    Hi All,

    In an issue I have been having, trying to get firefox to build, I have
    been given a response from the mozilla.org developer newsgroups, and
    need some help in approaching the problem

    =============================================
    Message-ID: <4540CF5C.7020101@gaston.Weilbacher.org>
    Date: Thu, 26 Oct 2006 17:08:12 +0200
    From: Peter Weilbacher
    User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
    Newsgroups: mozilla.dev.builds
    Subject: Re: Firefox 2 wont build under Solaris 10 x86

    Alex wrote:

    > ld: fatal: library -lXrender: not found
    > ld: fatal: library -lfreetype: not found


    [...]

    > Ok.. What am I missing here? Am i missing a library?


    I have no idea what packaging system Solaris 10 x86 uses but you
    probably need to install the developer packages of X and/or Xrender and
    Freetype, those should then carry the libXrender.* and libfreetype.*
    files that you need for linking.

    Peter.
    ===============================================


    Ok, how can I check the libraries in question here
    are actually installed on my system? And if they are
    not, would they be on the Sol 10 cd's?

    Any help appreciated.

    Thanks
    Alex

  2. Re: Firefox 2 wont build Sol 10 x86

    Alex wrote:
    > Hi All,
    >
    > In an issue I have been having, trying to get firefox to build, I have
    > been given a response from the mozilla.org developer newsgroups, and
    > need some help in approaching the problem
    >
    > =============================================
    > Message-ID: <4540CF5C.7020101@gaston.Weilbacher.org>
    > Date: Thu, 26 Oct 2006 17:08:12 +0200
    > From: Peter Weilbacher
    > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
    > Newsgroups: mozilla.dev.builds
    > Subject: Re: Firefox 2 wont build under Solaris 10 x86
    >
    > Alex wrote:
    >
    > > ld: fatal: library -lXrender: not found
    > > ld: fatal: library -lfreetype: not found

    >
    > [...]
    >
    > > Ok.. What am I missing here? Am i missing a library?

    >
    > I have no idea what packaging system Solaris 10 x86 uses but you
    > probably need to install the developer packages of X and/or Xrender and
    > Freetype, those should then carry the libXrender.* and libfreetype.*
    > files that you need for linking.
    >
    > Peter.
    > ===============================================
    >
    >
    > Ok, how can I check the libraries in question here
    > are actually installed on my system? And if they are
    > not, would they be on the Sol 10 cd's?
    >
    > Any help appreciated.
    >
    > Thanks
    > Alex


    I suspect this is related to a bug:

    https://bugzilla.mozilla.org/show_bug.cgi?id=323562

    nm for now.

  3. Re: Firefox 2 wont build Sol 10 x86

    Alex writes in alt.solaris.x86:
    |Hi All,
    |
    |In an issue I have been having, trying to get firefox to build, I have
    |been given a response from the mozilla.org developer newsgroups, and
    |need some help in approaching the problem
    |
    |=============================================
    |Message-ID: <4540CF5C.7020101@gaston.Weilbacher.org>
    |Date: Thu, 26 Oct 2006 17:08:12 +0200
    |From: Peter Weilbacher
    |User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
    |Newsgroups: mozilla.dev.builds
    |Subject: Re: Firefox 2 wont build under Solaris 10 x86
    |
    |Alex wrote:
    |
    | > ld: fatal: library -lXrender: not found
    | > ld: fatal: library -lfreetype: not found
    |
    |[...]
    |
    | > Ok.. What am I missing here? Am i missing a library?
    |
    |I have no idea what packaging system Solaris 10 x86 uses but you
    |probably need to install the developer packages of X and/or Xrender and
    |Freetype, those should then carry the libXrender.* and libfreetype.*
    |files that you need for linking.

    Add -L/usr/sfw/lib -R/usr/sfw/lib to your linker flags before the
    -lXrender -lfreetype lines.

    --
    Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM
    http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
    http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
    Working for, but definitely not speaking for, Sun Microsystems, Inc.

  4. Re: Firefox 2 wont build Sol 10 x86

    Alan Coopersmith wrote:
    > Alex writes in alt.solaris.x86:
    > |Hi All,
    > |
    > |In an issue I have been having, trying to get firefox to build, I have
    > |been given a response from the mozilla.org developer newsgroups, and
    > |need some help in approaching the problem
    > |
    > |=============================================
    > |Message-ID: <4540CF5C.7020101@gaston.Weilbacher.org>
    > |Date: Thu, 26 Oct 2006 17:08:12 +0200
    > |From: Peter Weilbacher
    > |User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
    > |Newsgroups: mozilla.dev.builds
    > |Subject: Re: Firefox 2 wont build under Solaris 10 x86
    > |
    > |Alex wrote:
    > |
    > | > ld: fatal: library -lXrender: not found
    > | > ld: fatal: library -lfreetype: not found
    > |
    > |[...]
    > |
    > | > Ok.. What am I missing here? Am i missing a library?
    > |
    > |I have no idea what packaging system Solaris 10 x86 uses but you
    > |probably need to install the developer packages of X and/or Xrender and
    > |Freetype, those should then carry the libXrender.* and libfreetype.*
    > |files that you need for linking.
    >
    > Add -L/usr/sfw/lib -R/usr/sfw/lib to your linker flags before the
    > -lXrender -lfreetype lines.
    >


    Thanks for the reply :-)

    I used a workaround given to me in mozilla.dev.build, only just saw
    yours now.

    which was, to add "-L/usr/sfw/lib" into MOZ_CAIRO_LIBS of
    config/autoconf.mk.

    MOZ_CAIRO_LIBS = -L$(LIBXUL_DIST)/lib -lmozcairo -lmozlibpixman \
    -L/usr/sfw/lib -lXrender -lfreetype -lfontconfig


    Worked like a charm.
    Lets hope they fix the bug thats open on this.

    Cheers
    Alex

  5. Re: Firefox 2 wont build Sol 10 x86

    Alex wrote:
    > In an issue I have been having, trying to get firefox to build, I have
    > been given a response from the mozilla.org developer newsgroups, and
    > need some help in approaching the problem


    wget
    http://releases.mozilla.org/pub/mozi...0-i386.tar.bz2
    bunzip2 -c firefox-2.0.en-US.solaris10-i386.tar.bz2 | tar xvf -
    ../firefox/firefox


    :-)

  6. Re: Firefox 2 wont build Sol 10 x86

    On Fri, 27 Oct 2006 03:57:02 -1000, Alex wrote:
    >
    > which was, to add "-L/usr/sfw/lib" into MOZ_CAIRO_LIBS of
    > config/autoconf.mk.
    >
    > MOZ_CAIRO_LIBS = -L$(LIBXUL_DIST)/lib -lmozcairo -lmozlibpixman \
    > -L/usr/sfw/lib -lXrender -lfreetype -lfontconfig


    Whilst this whould allow you to link, it won't ensure that the app will
    execute. It may require the use of LD_LIBRARY_PATH or crle. Using -R at
    link time is IMHO cleaner.

    A bientot
    Paul
    --
    Paul Floyd http://paulf.free.fr (for what it's worth)
    Surgery: ennobled Gerald.

  7. Re: Firefox 2 wont build Sol 10 x86

    Alan Coopersmith wrote:
    > Alex writes in alt.solaris.x86:
    > |Hi All,
    > |
    > |In an issue I have been having, trying to get firefox to build, I have
    > |been given a response from the mozilla.org developer newsgroups, and
    > |need some help in approaching the problem
    > |
    > |=============================================
    > |Message-ID: <4540CF5C.7020101@gaston.Weilbacher.org>
    > |Date: Thu, 26 Oct 2006 17:08:12 +0200
    > |From: Peter Weilbacher
    > |User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1)
    > |Newsgroups: mozilla.dev.builds
    > |Subject: Re: Firefox 2 wont build under Solaris 10 x86
    > |
    > |Alex wrote:
    > |
    > | > ld: fatal: library -lXrender: not found
    > | > ld: fatal: library -lfreetype: not found
    > |
    > |[...]
    > |
    > | > Ok.. What am I missing here? Am i missing a library?
    > |
    > |I have no idea what packaging system Solaris 10 x86 uses but you
    > |probably need to install the developer packages of X and/or Xrender and
    > |Freetype, those should then carry the libXrender.* and libfreetype.*
    > |files that you need for linking.
    >
    > Add -L/usr/sfw/lib -R/usr/sfw/lib to your linker flags before the
    > -lXrender -lfreetype lines.
    >

    Hi,

    I'm not familiar with changing the linker flags. What file do I edit to
    do this?

    Regards, Alex

  8. Re: Firefox 2 wont build Sol 10 x86

    Alex writes in alt.solaris.x86:
    |Alan Coopersmith wrote:
    |> Add -L/usr/sfw/lib -R/usr/sfw/lib to your linker flags before the
    |> -lXrender -lfreetype lines.
    |>
    |Hi,
    |
    |I'm not familiar with changing the linker flags. What file do I edit to
    |do this?

    One of the ones in the source code you're compiling - Makefile, flags
    passed to configure script, etc. I don't know Firefox - you'll have
    to read the docs on building Firefox to find out where.

    --
    Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM
    http://blogs.sun.com/alanc/ * http://people.freedesktop.org/~alanc/
    http://del.icio.us/alanc/ * http://www.csua.berkeley.edu/~alanc/
    Working for, but definitely not speaking for, Sun Microsystems, Inc.

  9. Re: Firefox 2 wont build Sol 10 x86

    "Alan Coopersmith" wrote in message
    news:ei1m1v$70q$3@agate.berkeley.edu...
    > Alex writes in alt.solaris.x86:
    > |Alan Coopersmith wrote:
    > |> Add -L/usr/sfw/lib -R/usr/sfw/lib to your linker flags before the
    > |> -lXrender -lfreetype lines.
    > |>
    > |Hi,
    > |
    > |I'm not familiar with changing the linker flags. What file do I edit to
    > |do this?
    >
    > One of the ones in the source code you're compiling - Makefile, flags
    > passed to configure script, etc. I don't know Firefox - you'll have
    > to read the docs on building Firefox to find out where.


    Thanks for explaining, I thought you may have been referring to something
    global, like an environment variable that affects the way the linker
    behaves.
    Silly me. nm.

    Thanks again



  10. Re: Firefox 2 wont build Sol 10 x86


    "Oscar del Rio" wrote in message
    news:ehr0fo$6ag$1@news.mie...
    > wget
    > http://releases.mozilla.org/pub/mozi...0-i386.tar.bz2
    > bunzip2 -c firefox-2.0.en-US.solaris10-i386.tar.bz2 | tar xvf -
    > ./firefox/firefox


    lol. lazy
    But better I guess if you dont have a lot of free time on your hands :-)



+ Reply to Thread