You are not logged in.

#1 2011-09-20 10:41:25

bling
Member
Registered: 2011-09-20
Posts: 10

problem building a package

Hi everyone i'm trying to build a package for a driver. I don't want to use AUR because i'm trying to learn how to do this operation. When i run makepkg it gives the error /lib/modules/3.0-ARCH/build file or directory not existing. now i think i don't have the headers but how can i install them? i already have the linux-api-kernel-3.0.1.1 but i'm guessing it's not the right one

Offline

#2 2011-09-20 10:59:41

dobedo
Member
From: Belgium
Registered: 2008-10-04
Posts: 113

Re: problem building a package

package: linux-headers
description: header files and scripts for building modules for linux kernel

Offline

#3 2011-09-20 18:23:46

bling
Member
Registered: 2011-09-20
Posts: 10

Re: problem building a package

ok thanks it worked!! now i've another problem..i compiled the package and installed it but nothing worked so i take a look at the AUR PKGBUILT and in the source the is 'modprobe.d'. i try to write it in the my PKGBUILT but when running makepkg there's the error: modprobe isn't in the directory and isn't an URL. what do i do wrong?

Offline

#4 2011-09-20 18:48:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: problem building a package

Read the wiki's AUR and Package Building pages, and then look harder at the PKGBUILD you are using as an example.

Offline

Board footer

Powered by FluxBB