You are not logged in.

#1 2014-03-14 03:48:16

Obrez
Member
From: Costa Mesa, CA
Registered: 2014-03-14
Posts: 14

[SOLVED] makepkg -s PKGBUILD issues

Hey all, this is my second install of Arch.  I love it, but I am having some issues this time around that I did not have the first install.

Here is the issue:

Arch does not seem to recognize that I have installed dependencies when using makepkg.  For example, I want to install compiz-bzr.  I download the tarball and extract it to a folder.  I run:

 makepkg -s PKGBUILD

and it tells me it cant resolve dependencies gmock.  When I install gmock via AUR the same way it installs fine, but when I go to install compiz-bzr again, the same message says cannot resolve dependencies gmock.

if i run:

 pacman -Qs gmock 

nothing shows as being installed.  This does not just happen with compiz-bzr, it happens with anything I install via AUR.  I am sure I am missing something probably simple but for the life of me I cannot figure it out..

please help!

Last edited by Obrez (2014-03-14 04:03:51)

Offline

#2 2014-03-14 03:49:16

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

Re: [SOLVED] makepkg -s PKGBUILD issues

How did you install the AUR package?    It sounds like you did not...

Offline

#3 2014-03-14 03:53:15

Obrez
Member
From: Costa Mesa, CA
Registered: 2014-03-14
Posts: 14

Re: [SOLVED] makepkg -s PKGBUILD issues

I download the tarball to a directory, extract it, cd to that dir and run makepkg -s PKGBUILD.  Does that not install it?

Offline

#4 2014-03-14 03:57:31

Obrez
Member
From: Costa Mesa, CA
Registered: 2014-03-14
Posts: 14

Re: [SOLVED] makepkg -s PKGBUILD issues

doh thanks Allan!  I should be using

 makepkg -si PKGBUILD 

right?

Offline

#5 2014-03-14 03:58:40

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: [SOLVED] makepkg -s PKGBUILD issues

man makepkg wrote:

       -i, --install
           Install or upgrade the package after a successful build using
           pacman(8).

edit: too slow   again

Last edited by skunktrader (2014-03-14 03:59:18)

Offline

#6 2014-03-14 04:00:48

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] makepkg -s PKGBUILD issues

You don't need to specify the PKGBUILD.  Just navigate to the directory that contains the PKGBUILD, then do:

makepkg -si

Offline

#7 2014-03-14 04:02:37

Obrez
Member
From: Costa Mesa, CA
Registered: 2014-03-14
Posts: 14

Re: [SOLVED] makepkg -s PKGBUILD issues

Thank you guys, I guess I need to brush up on building and INSTALLING packages, really appreciate it!  I will mark this one as solved.

Offline

#8 2014-03-14 04:34:32

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

Re: [SOLVED] makepkg -s PKGBUILD issues

Or you can use "pacman -U <pkgfile>" manually after you have built it.

Offline

#9 2014-03-14 04:45:02

Obrez
Member
From: Costa Mesa, CA
Registered: 2014-03-14
Posts: 14

Re: [SOLVED] makepkg -s PKGBUILD issues

Thanks Allan!

Offline

Board footer

Powered by FluxBB