Cannot create static build of seamonkey - Mozilla

This is a discussion on Cannot create static build of seamonkey - Mozilla ; I have been working on this for several days with no luck. I am able to build and run seamonkey, however whenever I want to create a static build (with statically linked libraries) I always fail with an error like ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Cannot create static build of seamonkey

  1. Cannot create static build of seamonkey

    I have been working on this for several days with no luck. I am able
    to build and run seamonkey, however whenever I want to create a static
    build (with statically linked libraries) I always fail with an error
    like this:

    gmake[5]: *** No rule to make target `-lgkgfx', needed by
    `libsuite.so'. Stop.

    I am new to building mozilla, so any help will be very highly
    appreciated. Here are the steps that I took to perform my build:

    $ cvs -d server:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/
    client.mk
    $ cd mozilla
    $ make -f client.mk checkout MOZ_CO_DATE="01 Oct 2008 1:02 PDT"
    MOZ_CO_PROJECT=suite

    My .mozconfig file:
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/suite-static
    ac_add_options --enable-application=suite
    ac_add_options --enable-debug
    ac_add_options --disable-tests
    ac_add_options --disable-libxul
    ac_add_options --enable-static

    $ make -f client.mk build // and I get the error above.

    If I remove the static options, I am able to build and run seamonkey
    just fine.
    I also tried the same with a newer version of seamonkey, by performing
    a checkout without
    specifying the date, and had the same problem.
    $ make -f client.mk checkout MOZ_CO_PROJECT=suite

    Thank you very much for the help.

  2. Re: Cannot create static build of seamonkey

    I forgot the mention that I am using Fedora 8 Linux.
    $ cat /proc/version

    Linux version 2.6.26.8-57.fc8 (mockbuild@x86-3.fedora.phx.redhat.com)
    (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Thu Dec 18
    19:19:45 EST 2008


  3. Re: Cannot create static build of seamonkey

    On Nov 16, 6:09*am, Jens Hatlak wrote:
    > Martin wrote:
    > > I am new to building mozilla, so any help will be very highly
    > > appreciated. Here are the steps that I took to perform my build:

    >
    > > $ cvs -d server:anonym...@cvs-mirror.mozilla.org:/cvsroot co mozilla/
    > > client.mk

    >
    > Erm, where did you get that from? CVS is dead! At least as far as
    > Mozilla development is concerned.
    >
    >
    >
    > HTH
    >
    > Jens
    >
    > --
    > Jens Hatlak
    > SeaMonkey Trunk Tracker


    I actually need to use an older version of Seamonkey (for research
    purposes).
    I am a PhD student doing research in debugging techniques. I am using
    older versions of the
    code with known bugs, so that I can study those bugs.
    The version that I am currently trying to build with static is from
    Oct 1 2008. I did not think that this is that old ...

    An alternative for me would be to use a new code version and try to
    re-
    introduce the bug from Oct 1 2008, however
    this is not a good approach, since much may have changed since then.

    Thank you for the help.
    Martin

  4. Re: Cannot create static build of seamonkey

    Thanks for the help.
    I think that I figured out another way to continue my research
    (without creating a static build).

    I do not need to waste your time any more.

    Thanks again.

    Martin

+ Reply to Thread