Compiling Chromium -- Will it finish? Will it work?
Last month I had a lot of fun compiling TWM Window Manager!
I went on to try to compile all of the X Window System. I got through all of the libraries; there are quite a few:
[Not_Oles@polonium lib]$ ls -1 | wc -l
345
[Not_Oles@polonium lib]$
Then I hit an error:
== Processing: "mesa/mesa"
== configuration options:
ninja: Entering directory `builddir'
ninja: error: loading 'build.ninja': No such file or directory
build.sh: "ninja -C builddir" failed on mesa/mesa
build.sh: error processing: "mesa/mesa"
[Not_Oles@polonium src]$
This error led to some ~reading~ quick skimming about mesa and about ninja.
Loved ninja-build.org website's simple code!
Before returning to X I decided to try building Chromium, because I read that Chromium and Android both use ninja. The Chromium build instructions are here.
Right now I seem to be about 27621/57968, uh, maybe a little less than half-way through the build.
[27621/57968] CXX obj/chrome/browser/feature_gu...ons/public/feature_notification_guide_service.o
Here's what top
looked like awhile back:
Here's what the build terminal wondow looks like right now:
I wonder if the build will finish successfully!?
Apparently Chrome Remote Desktop on my Chromebook might be able to run the Chromium build remotely.
If somebody here wants to hop on, help, and teach me, that would be great! There is excess server capacity available.
Hope you guys also enjoy a very fun day! Best wishes!
I hope everyone gets the servers they want!
Comments
Still going!
I hope everyone gets the servers they want!
What cpu you got?
This server has Xeon E-2276G.
Right now:
I hope everyone gets the servers they want!
I hope everyone gets the servers they want!
It reminds me of the good old days when people were compiling software precisely for a specific system.
Stop the planet! I want to get off!
If you develop for microcontrollers you compile software precisely for a specific system.
The all seeing eye sees everything...
Besides those 518 linked libraries, I also didn't realize how many files the Chromium build tools and sources have! Now, having done the compile, I get to look around at the tools and the sources.
I was gonna post the full
ls
outputs, but they are too much.Besides all the other stuff, I get to look at the files related to ninja.
So now we have ninja to replace make, and 57968+ steps to produce the executable.
Like @root, I loved the old days!
I hope everyone gets the servers they want!
last time I compiled it out of curiousity, i uses these script on top of debian stable
https://github.com/Gyuyoung/ChromiumBuild
https://github.com/wchen342/ungoogled-chromium-building-scripts
there are little to no challenge if you don't need anything specific to turn on / off, or smuggling your patches.
it took long time, that's it
Fuck this 24/7 internet spew of trivia and celebrity bullshit.
Ok, now build PixelOS for my device.
youtube.com/watch?v=k1BneeJTDcU
Looks like Chromium has a friendly introduction to the sources.
It's easy to look at the code online.
But, as an old guy, I like
cd
. Note, as compared with the above screenshot of the online display, a few additional files, those with capital letters in their names, perhaps generated from the build. There are quite a few dot files too, but, maybe, for the time being, we can be quiet about the dot files. Ssshh!I'm not going to invest much time in
chromium/src
right now, because I want to head over to look atninja
. Probably chromium has documentation about how ninja is involved, but I haven't found that documentation yet.I hope everyone gets the servers they want!
Before we consider building PixelOS, how about if you start a new LES thread by writing an educational post introducing people to PixelOS, its alternatives, reasons for selecting one or another of the alternatives, and how to use PixelOS? Maybe you could include some great screenshots and also link to other sites with good information about PixelOS? Maybe you could explain some of the differences between PixelOS and what comes natively installed on a Google Pixel?
I don't know anything about PixelOS. So I would be interested. Maybe others also might be interested.
Best wishes from New York City and Sonora, MX! π½πΊπΈπ²π½ποΈ
I hope everyone gets the servers they want!
Could do that, I'll do it after Saturday maybe.
youtube.com/watch?v=k1BneeJTDcU
If you like compiling software, take advantage of your new FreeBSD 14 installation and check out /usr/ports!
There you can configure and compile pretty much everything:
https://docs.freebsd.org/en/books/handbook/ports/#ports-using
Thanks @Crab!
Please see also:
https://wiki.freebsd.org/Chromium
https://www.freshports.org/www/chromium/
I hope everyone gets the servers they want!