You are not logged in.
Pages: 1
Hi.
As I understood, when building a package from AUR, makepkg looks for dependencies in the local pacman database.
My question is: how do I add a package from AUR required as a dependency for another package from AUR in the local pacman database without any automated tools? (like yaourt)
Last edited by kbunny (2021-11-07 12:59:20)
Offline
Hello. What do you want to achieve exactly ? The point of automated tool is to install the dependencies when needed and flag them when no longer required.
Anyway, as for you question: the same way as any manual AUR installation. One by one.
Offline
Hello. What do you want to achieve exactly ? The point of automated tool is to install the dependencies when needed and flag them when no longer required.
Anyway, as for you question: the same way as any manual AUR installation. One by one.
Let's say I git clonned package x and tried to build it using makepkg. Makepkg throws an error:
==> Missing dependencies:
-> abcdAbcd isn't available in the pacman database, but in AUR. So I git clone the dependency which I found in the AUR and build it.
Now the dependency is on the computer, but not listed in the pacman local database, so makepkg still doesn't sees it
Offline
So you either install it, or you add it to a local repo. See repo-add and repo-remove.
Offline
Now the dependency is on the computer, but not listed in the pacman local database, so makepkg still doesn't sees it
You did install the dependency with
pacman -U [yourpackage]And it's still not recognized by makepkg?
Offline
Now the dependency is on the computer, but not listed in the pacman local database, so makepkg still doesn't sees it
You did install the dependency with
pacman -U [yourpackage]And it's still not recognized by makepkg?
Oh, now I got it. Everytime I ran makepkg I just looked at the src/ and thought the binaries need to be copied to path and pacman local database refreshed somehow to look for it in path.
Thanks!
Offline
You're welcome, and don't forget to put "solved" into the title :-)
Last edited by leonavis (2021-11-07 12:54:56)
Offline
Did you install it with pacman -U ? Oh, I was too late...
Last edited by ivanoff (2021-11-07 13:05:34)
Offline
Did you install it with pacman -U ? Oh, I was tool late...
Yup. Probably if I would have used my brain I little I would have realized that makepkg means "make package"
Offline
Pages: 1