Closed iamevilmonarch closed 11 months ago
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
@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