Up-to-date linux build instructions?

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderator: trava90

Locked
Walter Dnes
Astronaut
Astronaut
Posts: 630
Joined: 2015-07-30, 20:29
Location: Vaughan, ON, Canada

Up-to-date linux build instructions?

Post by Walter Dnes » 2015-07-31, 01:32

Hello all. I run Gentoo linux, and I'd like to build Palemoon from scratch. I'm not a developer/programmer, but I can follow instructions. Before anyone asks... yes, I did read README.txt, which directed me to http://forum.palemoon.org/viewtopic.php?f=19&t=4166 ...which gives instructions for building under Windows

Correct me if I'm wrong... as near as I can figure out, I'm supposed to create a .mozconfig file in the "Pale-Moon-25.6.0_Release" directory, with various "ac_add_options" options, and then execute "./mach". The "client.mk" file appears to be irrelavant, with instructions for building Mozilla, from Sourceforge.

Another question, is there a list somewhere of valid "ac_add_options" options, and what they do?
There's a right way
There's a wrong way
And then there's my way

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1605
Joined: 2013-05-20, 18:19
Location: Earth
Contact:

Re: Up-to-date linux build instructions?

Post by trava90 » 2015-07-31, 04:52

Welcome to the forum Walter!

You can find up-to-date information on building Pale Moon on Linux on the new Linux site: http://linux.palemoon.org/help/build/
Walter Dnes wrote:Another question, is there a list somewhere of valid "ac_add_options" options, and what they do?
MDN has a good article to get you started. You can also look through the source code for additional options.

Take a look and if you have any more questions let us know! :)

User avatar
ketmar
Lunatic
Lunatic
Posts: 362
Joined: 2015-07-28, 11:10
Location: Earth

Re: Up-to-date linux build instructions?

Post by ketmar » 2015-07-31, 05:44

>Another question, is there a list somewhere of valid "ac_add_options" options,
>and what they do?

there is "configure" file in source code root directory (it appears after first build, AFAIR). you can do "./configure --help" to see alot of available options with brief descriptions. please, note that not all options are tested, and some option sets may fail to build (the tests are known to fail with GCC 4.9, for example).

p.s. GCC 4.9 is known to produce unstable binaries. you should use GCC 4.7 if you can.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 7610
Joined: 2012-10-09, 19:37
Location: Just beyond the Lament Configuration

Re: Up-to-date linux build instructions?

Post by New Tobin Paradigm » 2015-07-31, 15:15

Don't use configure directly when you are building a Mozilla-based application.
Image
- We have such sights to show you. -

Image

User avatar
ketmar
Lunatic
Lunatic
Posts: 362
Joined: 2015-07-28, 11:10
Location: Earth

Re: Up-to-date linux build instructions?

Post by ketmar » 2015-07-31, 15:22

i'm in no way telling to use configure to actually configure the project, i'm talking about simply getting a list of options out of it. while that's not all available options (and not all of that options are usable), it's still interesting source of information.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 7610
Joined: 2012-10-09, 19:37
Location: Just beyond the Lament Configuration

Re: Up-to-date linux build instructions?

Post by New Tobin Paradigm » 2015-07-31, 15:25

ketmar wrote:i'm in no way telling to use configure to actually configure the project, i'm talking about simply getting a list of options out of it. while that's not all available options (and not all of that options are usable), it's still interesting source of information.
You are correct because there are per-application configure options as well and many options that may not work or not be applicable to a specific target.. You simply cannot trust the output of configure.
Image
- We have such sights to show you. -

Image

Locked