You are not logged in.

#1 2008-05-27 20:20:39

jmrbcu
Member
From: Cuba
Registered: 2007-08-20
Posts: 112

dependencies

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

#2 2008-05-27 20:27:21

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: dependencies

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

#3 2008-05-27 20:34:17

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: dependencies

Hmm, unless I am misunderstanding, you can simply do

makepkg -s

Which 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. smile
If the dependencies are only available on AUR, then use yaourt. wink

Offline

#4 2008-05-27 21:07:58

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: dependencies

Offline

#5 2008-05-27 22:41:03

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: dependencies

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

#6 2008-05-28 00:52:48

jmrbcu
Member
From: Cuba
Registered: 2007-08-20
Posts: 112

Re: dependencies

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

Board footer

Powered by FluxBB