First Build Success!

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
User avatar
Bilbo47
Lunatic
Lunatic
Posts: 337
Joined: 2017-11-18, 04:24

First Build Success!

Post by Bilbo47 » 2025-05-14, 16:59

Buh ZING guh! Finished my first-ever build+package :) Then tested out the browser. Hurdles:
- new laptop with Win11 (previous one, ten years old, quit doing wifi)
- download and install the tools and source
- Avoid build failures from running out of disk space:
- delete cache folders all over the windows partition (60 GB with now 1G free) Source+build-output takes 8.7GB
- move chrome-flavor browser profile to data partition (32 GB with now 12G free) Tools take 6.1GB
- put in the time to follow instructions
Old dog, new tricks :)

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2415
Joined: 2018-05-05, 13:29

Re: First Build Success!

Post by vannilla » 2025-05-14, 17:12

GG as they say! :thumbup:

User avatar
MasterSlenderTR
Apollo supporter
Apollo supporter
Posts: 43
Joined: 2025-05-10, 13:37
Location: Turkey

Re: First Build Success!

Post by MasterSlenderTR » 2025-05-30, 06:23

I also made my first Pale Moon build today and it took 11 minutes to build. :D
You do not have the required permissions to view the files attached to this post.
RTX 3060 Ti | Ryzen 7 5700x3d | ASUS Prime B450M-A II | 48GB DDR4 RAM | Windows 7

Image -> Desktop Setup <-

User avatar
UCyborg
Lunatic
Lunatic
Posts: 380
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: First Build Success!

Post by UCyborg » 2025-06-05, 20:37

I managed to compile it about a year ago on Raspberry Pi 5. May attempt to build the latest version in the near future.

There was some oddity in behavior of my bank's website on this build specifically, the script hung on login page and couldn't login. The site worked fine on amd64 build.

User avatar
Drugwash
Lunatic
Lunatic
Posts: 281
Joined: 2016-01-28, 12:08
Location: Ploieşti, Romania

Re: First Build Success!

Post by Drugwash » 2025-07-04, 14:37

Yup, first Pale Moon build for me too, last night. Alleviates a couple burdens, considering my OS (Linux Mint 19.2) is old and unsupported.
Had to add a PPA and install gcc-9 and g++-9 backports from there since officially the system only had the 7 and 8 versions available officially, and those are not supported anymore by the PM code. All other tools were already installed since I did build other apps previously.
The git system pissed me off as it could not retrieve only its own data (the .git folders) and insisted on downloading the entire trunk despite the files being already there, downloaded as archives. Waste of time on extremely low (128kB/s) bandwidth. :(
The .mozconfig file should've been a breeze considering the official sample (which should be updated!) but it was not. After a few trials and errors finally discovered I had to use the compilers' short names (as seen above) not the detailed names as in the sample:

Code: Select all

export CC=gcc-9
export CXX=g++-9
After that the build started and after about three hours I had a working browser. Why three hours? Because it's an old (2009) notebook with an old CPU (i5 M460) and only 8GB of RAM - maximum allowed - which was also running a few other applications.

All this because the Nuck-TH versions I had used after the official release lost compatibility with Ubuntu 18.04 - on which Mint 19.2 is based - have one of the libraries (libmozsqlite3.so) requiring a GLib version (2.28) higher than my system allows (2.27), and until now I had streamlined that library from another build kindly provided some time ago by a nice user, but in PM 3.38.0 the SQLite3 version has been bumped (as per the release notes) and the older library could have potentially created problems. I read somewhere that one could download the headers for older GLib versions from some GitHub repo and include the desired header in order to allow backward compatibility but didn't want to bother Nuck-TH with such requests.

Well, now I can do it myself regardless of the long compilation time without relying on third parties. That is, until some truly breaking change creeps in. And then... I don't know.

User avatar
jobbautista9
Keeps coming back
Keeps coming back
Posts: 957
Joined: 2020-11-03, 06:47
Location: Philippines

Re: First Build Success!

Post by jobbautista9 » 2025-07-05, 03:16

MasterSlenderTR wrote:
2025-05-30, 06:23
I also made my first Pale Moon build today and it took 11 minutes to build. :D
Damn, that's crazy fast for a build from what's essentially a clobber (i.e. from scratch / no preexisting build progress)! And looking at your computer's specs in your signature explains why lol. I bet if we got the whole codebase de-unified it still would've been less than 20 minutes in your setup! :lol:
Image

"Destroying things, smartly!" - IJN Samidare, probably

Avatar artwork by ebifurya: https://www.pixiv.net/artworks/85379109

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.