You are not logged in.
Pages: 1
Hi people, I got a little question about makepkg. How can I tell to makepkg to resolve dependences. For example, I got a package X that depend of Y and Z, Y is in extra repo, no problem, but if Z or Y is in AUR, it can't be resolved. How can I achieve this?
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
You need to download it from the AUR and install it yourself. It is a safety measure so you can check the PKGBUILD for malicious code. Remember anyone can submit a package to the AUR and TU's can't check every package.
Edit: You will probably want to install the dependency with "pacman -U --asdep"
Last edited by Allan (2008-05-27 20:28:46)
Offline
Hmm, unless I am misunderstanding, you can simply do
makepkg -sWhich will utilize pacman to grab binary dependencies. I am not at my Arch box now, but I think makepkg -b will build them from source. My favorite is makepkg -csi which will grab all needed dependencies, clean up all leftover files and install in one shot.
man makepkg for more. ![]()
If the dependencies are only available on AUR, then use yaourt. ![]()
Offline
about makepkg -b :
http://bugs.archlinux.org/task/10329
Offline
For AUR dependencies, you need to build those as well. If they are not in a repo, you have to do it. Additionally, I think yaourt may do this.
Offline
thanks!!!
--------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic por profesionales
-----------------------------------------------------------------
Offline
Pages: 1