Git Product home page Git Product logo

Comments (2)

iamevilmonarch avatar iamevilmonarch commented on July 23, 2024

okay after many trials and error i found a way to install mercury browser and what was needed.i was able to install mercury browser by going on mozilla firefox site and installing mercurial,I followed your doc and I successfully ran bootstrap.sh,trunk.sh,setup.sh but when i run build.sh i run into the following problems

4:04.54 make[3]: *** [/home/popeye/mozilla-unified/config/recurse.mk:72: build/clang-plugin/host-objects] Error 2
4:04.60 make[3]: Leaving directory '/home/popeye/mozilla-unified/obj-x86_64-pc-linux-gnu/instrumented'
4:04.61 make[2]: *** [/home/popeye/mozilla-unified/config/recurse.mk:34: compile] Error 2
4:04.65 make[2]: Leaving directory '/home/popeye/mozilla-unified/obj-x86_64-pc-linux-gnu/instrumented'
4:04.66 make[1]: *** [/home/popeye/mozilla-unified/config/rules.mk:361: default] Error 2
4:04.70 make[1]: Leaving directory '/home/popeye/mozilla-unified/obj-x86_64-pc-linux-gnu/instrumented'
4:04.72 make: *** [client.mk:60: build] Error 2
4:04.80 W 0 compiler warnings present.

I cannot seem to figure what is this Error 2 can you help me with this or can you point in some direction which i can follow

from mercury.

Alex313031 avatar Alex313031 commented on July 23, 2024

@iamevilmonarch You should use hg (mercurial) to clone the Firefox repository in $HOME, by following the steps in Mozilla's documentation.

Then, you should clone the Mercury repo also to $HOME, and run ./trunk.sh, then ./setup.sh therein.

Finally, you should copy the mozconfig that is relevant for the platform. Since you are on linux, you would just copy this > https://github.com/Alex313031/Mercury/blob/main/mozconfig into mozilla-unified (the root of the mozilla repo). Note that the file name has to be mozconfig, so if you wanted to build for windows, you would copy mozconfig-win and then rename it to just mozconfig.

Then, you can either run the ./build.sh script in mercury, or cd to the mozilla repo and run ./mach bootstrap and ./mach build. You can use ./mach build -v to show verbose stuff.

However, since Void is not a "supported" build host, and it seems you are getting clang plugin errors, you should try commenting out this line > https://github.com/Alex313031/Mercury/blob/main/mozconfig#L22

from mercury.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.