I have downloaded UXP source code; an older version of it, as well as the latest version available. But when I try to extract it, I get an error that the archive file is invalid. I have tried both .zip, and .tar.gz archives, and I have tried to extract them on both my PopOS PC, and my Windows PC. Any guidance would be appreciated.
In addition to that, can somebody give me, or point me towards, any documentation regarding compiling/building of UXP?
Extracting and Building UXP
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.
Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.
Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Extracting and Building UXP
Start here: http://developer.palemoon.org/build/
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 3
- Joined: 2023-06-25, 15:26
Re: Extracting and Building UXP
Hello,
I am trying to compile UXP on my Ubuntu based Pop_OS.
When I run ./mach configure, I am getting the following error:
Any help would be appreciated.
I am trying to compile UXP on my Ubuntu based Pop_OS.
When I run ./mach configure, I am getting the following error:
Code: Select all
0:02.55 Creating config.status
0:02.61 Deriving optimal formula...
0:02.72 Traceback (most recent call last):
0:02.72 File "/home/asim/Downloads/uxp-src/configure.py", line 107, in <module>
0:02.73 sys.exit(main(sys.argv))
0:02.73 File "/home/asim/Downloads/uxp-src/configure.py", line 31, in main
0:02.73 return config_status(config)
0:02.73 File "/home/asim/Downloads/uxp-src/configure.py", line 102, in config_status
0:02.73 return config_status(args=[], **encode(sanitized_config, encoding))
0:02.73 File "/home/asim/Downloads/uxp-src/python/mozbuild/mozbuild/config_status.py", line 135, in config_status
0:02.73 definitions = list(definitions)
0:02.73 File "/home/asim/Downloads/uxp-src/python/mozbuild/mozbuild/frontend/emitter.py", line 185, in emit
0:02.73 objs = list(self._emit_libs_derived(contexts))
0:02.73 File "/home/asim/Downloads/uxp-src/python/mozbuild/mozbuild/frontend/emitter.py", line 219, in _emit_libs_derived
0:02.73 self._link_libraries(context, obj, variable)
0:02.73 File "/home/asim/Downloads/uxp-src/python/mozbuild/mozbuild/frontend/emitter.py", line 332, in _link_libraries
0:02.73 context)
0:02.73 mozbuild.frontend.reader.SandboxValidationError:
0:02.73 ==============================
0:02.73 ERROR PROCESSING MOZBUILD FILE
0:02.73 ==============================
0:02.73
0:02.73 The error occurred while processing the following file or one of the files it includes:
0:02.73
0:02.73 /home/asim/Downloads/uxp-src/js/src/moz.build
0:02.73
0:02.73 The error occurred when validating the result of the execution. The reported error is:
0:02.73
0:02.73 USE_LIBS contains "icu", which does not match any LIBRARY_NAME in the tree.
0:02.73
0:02.73
0:02.74 *** Fix above errors and then restart with\
0:02.74 "/usr/bin/gmake -f client.mk build"
0:02.74 gmake: *** [client.mk:377: configure] Error 1
-
- Keeps coming back
- Posts: 786
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: Extracting and Building UXP
What's your mozconfig? Have you made sure you are building from inside the application directory (like palemoon-source) and not from the platform?
merry mimas
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817
-
- Newbie
- Posts: 3
- Joined: 2023-06-25, 15:26
Re: Extracting and Building UXP
The uxp-src is the base directory where all the UXP source is. I am running my command from this directory. If you wish, I can post the content of the mozconfig file. It is the one that comes with "git clone" the UXP repository.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Extracting and Building UXP
You need an application with its necessary configuration to drive the build system. You cannot build UXP stand-alone.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite