You are not logged in.

#1 2012-02-16 21:29:50

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

[SOLVED] Build failed: no such file or directory?

I am trying to install acpi_call-git on a 64 bit system, I cannot understand the error I get

==> Determining latest git revision...
  -> Version found: 20120216
==> Making package: acpi_call-git 20120216-1 (Thu Feb 16 22:22:59 CET 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Git checkout:  Updating existing tree
Already up-to-date.
==> Git checkout:  Tree has been updated
==> Checkout completed
make -C /lib/modules/3.2.5-1-ARCH/build M=/tmp/packerbuild-0/acpi_call-git/acpi_call-git/src/acpi_call-build modules
make: *** /lib/modules/3.2.5-1-ARCH/build: No such file or directory.  Stop.
make: *** [default] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

the /lib/modules/3.2.5-1-ARCH folder is there alright but no build, I guess that's a temporary folder for build but I cannot see how I can fix this?

Last edited by dabbi2000 (2012-02-25 13:21:27)

Offline

#2 2012-02-16 21:53:10

jstoik1
Member
From: Las Vegas
Registered: 2012-02-15
Posts: 13

Re: [SOLVED] Build failed: no such file or directory?

Did you upgrade your kernel and forget to reboot?  3.2.6-1-ARCH is out.

EDIT:  3.2.6-2-ARCH is out now.  Haha.  As was also suggested, please make sure you have linux-headers installed as well.

Last edited by jstoik1 (2012-02-16 22:03:45)

Offline

#3 2012-02-16 21:58:33

Cory_j
Member
From: USA
Registered: 2012-02-16
Posts: 39

Re: [SOLVED] Build failed: no such file or directory?

sorry had to fix it

 pacman -Syu base-devel linux-headers 

Last edited by Cory_j (2012-02-16 22:50:06)


Arch Mint Winfail7

Offline

#4 2012-02-16 22:12:20

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: [SOLVED] Build failed: no such file or directory?

I did a pacman -Syu, everything is up to date, doesn't upgrade to 3.2.6.1-ARCH but are you 100% sure that is the problem, the correct version folder is there?

Offline

#5 2012-02-16 22:12:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] Build failed: no such file or directory?

The PKGBUILD should be fixed, it should use the 'extramodules' dir now:

$ ls /lib/modules/
3.2.6-2-ARCH  extramodules-3.2-ARCH

Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2012-02-16 22:28:49

Cory_j
Member
From: USA
Registered: 2012-02-16
Posts: 39

Re: [SOLVED] Build failed: no such file or directory?

you missed my last post

pacman -Syu base-devel linux-headers 

Last edited by Cory_j (2012-02-16 22:47:07)


Arch Mint Winfail7

Offline

#7 2012-02-16 23:06:03

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED] Build failed: no such file or directory?

My suggestion still stands.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2012-02-18 15:10:48

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: [SOLVED] Build failed: no such file or directory?

B, do you mean the install -D [...] part? Sorry I'm not so good with PKGBUILD (but willing to learn!)

Cory, base-devel gives me tons of options:

1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot  6) flex  7) gcc  8) libtool  9) m4  10) make  11) patch  12) pkg-config

I haven't got a clue which one to install!

Offline

#9 2012-02-18 17:20:21

shyn
Member
Registered: 2009-09-23
Posts: 16

Re: [SOLVED] Build failed: no such file or directory?

.

Last edited by shyn (2012-02-18 18:08:26)

Offline

#10 2012-02-18 17:22:06

jstoik1
Member
From: Las Vegas
Registered: 2012-02-15
Posts: 13

Re: [SOLVED] Build failed: no such file or directory?

dabbi2000 wrote:

I haven't got a clue which one to install!

From the Arch Wiki:

Before you can actually build anything [...] you will also need to grab basic compiling tools. These are handily collected in the package group base-devel.

Just install them all.

However, did you try .:B:.'s suggestion?  Modify the PKGBUILD so it uses /lib/modules/extramodules-3.2-ARCH instead of /lib/modules/${_kernver}...

Offline

#11 2012-02-25 13:21:09

dabbi2000
Member
From: Reykjavik, Iceland
Registered: 2011-09-28
Posts: 119
Website

Re: [SOLVED] Build failed: no such file or directory?

ok changed PKGBUILD, acpi_call-git is now sitting fine under extramodules and found by modprobe

Problem solved

Offline

Board footer

Powered by FluxBB