You are not logged in.

#1 2011-08-13 20:09:44

akhilpm135
Member
From: Kerala
Registered: 2011-08-13
Posts: 4

Dependency problem with makepkg command [solved]

My driver for wireless is BCM4312 802.11b/g LP-PHY(dell inspirion 1440 and i had wicd installed in my laptop). I  tried to make a package by downloading the corresponding  tarball from  AUR.I installed  all the packages  for building a custom package (like base-devel,abs etc) , extracted the tarball to my build directory & tried to compile with "makepkg" and i got the error


[akhi@myhost build]$ makepkg
==> Making package: broadcom-wl 5.100.82.38-6 (Sat Aug 13 17:31:29 IST 2011)
==> Checking runtime dependencies...
==> Missing Dependencies:
  -> linux
==> Checking buildtime dependencies...
==> Missing Dependencies:
  -> linux-headers
==> ERROR: Could not resolve all dependencies.

i installed linux-headers with pacman to solve the dependancy problem(pacman -S kernel26-headers),and compiled again but still had the same problem(my kernel version is 2.6.39-ARCH).

any helps please....thanks in advance

Last edited by akhilpm135 (2011-08-14 11:58:00)

Offline

#2 2011-08-13 20:13:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Dependency problem with makepkg command [solved]

The missing packages, linux-headers, are for the new kernel: linux 3.0.
'pacman -S kernel26-headers' installs kernel26-headers not linux-headers :-)

You should update your system first, then build the package.

Last edited by karol (2011-08-13 20:15:01)

Offline

#3 2011-08-13 20:17:29

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Dependency problem with makepkg command [solved]

When installing anything from the AUR you should check the PKGBUILD to make sure it is ok.  This PKGBUILD clearly states the dependencies.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2011-08-13 20:25:20

akhilpm135
Member
From: Kerala
Registered: 2011-08-13
Posts: 4

Re: Dependency problem with makepkg command [solved]

@loafer : i got the dependencies from this error  message.. but what i want is  how to resolve the dependancy problem ..

Offline

#5 2011-08-13 20:28:03

akhilpm135
Member
From: Kerala
Registered: 2011-08-13
Posts: 4

Re: Dependency problem with makepkg command [solved]

whether i need to migrate to kernel 3.0 ? ..And how can i migrate to kernel 3.0?

Offline

#6 2011-08-13 20:30:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Dependency problem with makepkg command [solved]

akhilpm135 wrote:

And how can i migrate to kernel 3.0?

Just run 'pacman -Syu'. If you have an outdated mirrorlist, pick a fresh one http://www.archlinux.org/mirrorlist/

Offline

#7 2011-08-13 20:41:15

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Dependency problem with makepkg command [solved]

akhilpm135 wrote:

@loafer : i got the dependencies from this error  message.. but what i want is  how to resolve the dependancy problem ..

What I meant was if you have kernel26-headers and Kernel 2.6.39 installed and the PKGBUILD says you need linux and linux-headers that should be enough infomation to trouble shoot the problem.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2011-08-14 11:50:59

akhilpm135
Member
From: Kerala
Registered: 2011-08-13
Posts: 4

Re: Dependency problem with makepkg command [solved]

it worked...thanks everyone.....and special thanks to you karol.........i asked such a stupid question since i don't know nothing about kernel 3.0 and this is the first time i am building a package....sorry.....

Last edited by akhilpm135 (2011-08-14 11:51:19)

Offline

#9 2011-08-14 11:55:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Dependency problem with makepkg command [solved]

No problem :-)

Please mark the topic as solved by editing the first post and adding '[solved]' to the title.
(you may want to correct a typo too: it's 'dependency' not 'dependancy')

Offline

Board footer

Powered by FluxBB