Arch Linux installing openwrt-devel

Hi,

I try to install the prerequisites to building environnment but I did not find how to install * openwrt-devel*

idea?
thank you

That seems to be more of a question for arch, than OpenWrt. Judging from https://aur.archlinux.org/packages/openwrt-devel/, openwrt-devel seems to be 'just' an (empty) meta-package, pulling in the necessary build requirements. Given that the package seems to be fairly up to date (Last Updated: 2021-09-24 05:28) you'd really need to inquire with arch's support means why it fails (hint, you need more information about the kind of failure, console logs, etc.).

…or you could go the cheap route, the aforementioned package page lists all the dependencies it would pull in - so install them one-by-one.

2 Likes

Hi,
I don't know which AUR package manager you are using but for example installing AUR packages using yay is very similar to pacman.

If you haven't installed the yay, install it first.

sudo pacman -Syyu
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-git.git
sudo chmod 777 /yay-git
cd yay-git
makepkg -si

and then you are ready to install openwrt-devel with yay.

yay -S openwrt-devel

ulpian

1 Like

thanks,

it is weird, I have the build working, everything is ok but since I use arch instead of Ubuntu, I can't use make

$ make menuconfig                                                        (12-28 09:15)
make: *** No rule to make target 'menuconfig'.  Stop.

It's an uphill battle, upstream (OpenWrt) doesn't care about anything else than Debian and you will run into breakage due to Debian-ism/glibc-ism. Do yourself a favor and use a VM for building OpenWrt.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.