I've already understand that I must use Ubuntu or Debian to build OpenWRT from source. Luckily I have ubuntu-server 24.04.2 LTS in my disposal.
[admin edit: removed ai content]
But I am not sure if all sufficient software are listed above and need your kind guidance. (I look through OpenWRT Wiki but could not find anything on that matter).
If someone asks a question on the forum and you do not know the answer, DO NOT turn to any generative AI or LLM instance, ask the question, and post the output as an answer - attributed or otherwise.
It's far better that the forum is populated with posts from knowledgable subject matter experts rather than unattributable, unproven content from LLMs which will then feed back via web scraping into the LLMs again, potentially compounding a wrong answer many times over.
Ok, well, I try to follow the instructions, by book.
and I now watch how asciidoc 500Mb is installing on my ubuntu-server. It is first package that listed in Prerequisites in Deb/Ubuntu branch.
But now I see that I only need that listed lower in wiki. I just feel confused and understand nothing. I guess I install all packages listed in first page of wiki [OpenWrt Wiki] Build system setup
you said in your first post you are using ubuntu 24.04 server... so unless you are building old openwrt firmware ... 19.07 or earlier, you use the first set of dependencies as the heading suggest
Modernized set for Ubuntu 24.04 that has Python 3.12 without python3-distutils: (OpenWrt main/master in Apr 2024)
And can not clearly understand how to understand that I am an unprivileged user?
I need to create user with rights to, well, what? Or I create user who just belongs to "users" group, not "adminstrators" group?
My goal is to recompile ffmpeg with support of H.265, H.264, H.263 and recompile motion with support of ffmpeg It will take about 9 hours on my E8400
It would be cool if there were some web-interfcec similar to OpenWrt Firmware Selector but where user can not only choose what packages he needs but also recompile packages with desired settings or properties, for that matter. It would be awesome.
after the initial build, it takes only minutes to compile/recompile any package .. and if your doing any type of development you should get use to the build system and how it works anyway. Plus, its really not very complicated once you get use to it .
if I understand correctly, first I compile my build "as is" and then make some changes in desired packages? But how do I say to build system that I want to include in image, for example, motion and ffmpeg? Via menuconfig? As I understand it is some general settings for (and before) building?
UPD: OMG, I
make menuconfig
and there are SO many interesting different options! Amazing!