You are not logged in.

#1 2009-03-04 17:36:59

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

naive about dependencies with PKGBUILD files in the AUR

Is there an easy way one can handle dependencies when using the AUR?  In other words, went to compile/install the PKGBUILD for moblock.  I see that it depends on libnetfilter_queue.  Libnetfilter_quene in turn depends on libnfnetlink.  Short of me downloading/manually installing the two, is there an easier way?

Offline

#2 2009-03-04 17:51:16

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: naive about dependencies with PKGBUILD files in the AUR

Don't know about ABS but in "makepkg" there's "-s" switch ("--syncdeps") that makes "makepkg" to use pacman to resolve and install missing deps.


It's not the best thing when they call you a "member" you know… wink

Offline

#3 2009-03-04 17:54:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: naive about dependencies with PKGBUILD files in the AUR

'makepkg -s' will not only bring in the dependencies, but will tie them to the package. This is useful when removing stuff later. If when running makepkg there are makedepends that you don't want but are required for building, use 'makepkg -rs' and you will be prompted to remove the makedepends afterward.

Offline

#4 2009-03-04 18:31:55

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: naive about dependencies with PKGBUILD files in the AUR

skottish wrote:

'makepkg -s' will not only bring in the dependencies, but will tie them to the package. This is useful when removing stuff later. If when running makepkg there are makedepends that you don't want but are required for building, use 'makepkg -rs' and you will be prompted to remove the makedepends afterward.

Geez, I've been reading over that -r switch for six months now. You learn something new every day...

Offline

Board footer

Powered by FluxBB