You are not logged in.

#1 2011-02-05 00:09:41

Kyvou
Member
Registered: 2011-01-31
Posts: 10

Problem with makepkg

[root@Tartarus ~]# cd Desktop/
[root@Tartarus Desktop]# tar zxvf qc-usb.tar.gz 
qc-usb
qc-usb/qc-usb-0.6.6-kcompat-2.6.37.patch
qc-usb/qc-usb-0.6.6-kcompat-2.6.26.patch
qc-usb/qc-usb.install
qc-usb/PKGBUILD
qc-usb/qc-usb-0.6.6-kcompat-2.6.24.patch
qc-usb/qc-usb-0.6.6-kcompat-2.6.28.patch
qc-usb/qc-usb-0.6.6-kcompat-2.6.27.patch
[root@Tartarus Desktop]# cd qc-usb
[root@Tartarus qc-usb]# ls
PKGBUILD               qc-usb-0.6.6-kcompat-2.6.28.patch
qc-usb-0.6.6-kcompat-2.6.24.patch  qc-usb-0.6.6-kcompat-2.6.37.patch
qc-usb-0.6.6-kcompat-2.6.26.patch  qc-usb.install
qc-usb-0.6.6-kcompat-2.6.27.patch
[root@Tartarus qc-usb]# makepkg --asroot
==> Making package: qc-usb 0.6.6-18 (Fri Feb  4 19:02:50 EST 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading qc-usb-0.6.6.tar.gz...
--2011-02-04 19:02:50--  http://downloads.sourceforge.net/sourceforge/qce-ga/qc-usb-0.6.6.tar.gz
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/qce-ga/qc-usb/0.6.6/qc-usb-0.6.6.tar.gz [following]
--2011-02-04 19:02:51--  http://downloads.sourceforge.net/project/qce-ga/qc-usb/0.6.6/qc-usb-0.6.6.tar.gz
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://voxel.dl.sourceforge.net/project/qce-ga/qc-usb/0.6.6/qc-usb-0.6.6.tar.gz [following]
--2011-02-04 19:02:51--  http://voxel.dl.sourceforge.net/project/qce-ga/qc-usb/0.6.6/qc-usb-0.6.6.tar.gz
Resolving voxel.dl.sourceforge.net... 69.9.191.18, 69.9.191.19, 74.63.52.162, ...
Connecting to voxel.dl.sourceforge.net|69.9.191.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 147072 (144K) [application/x-gzip]
Saving to: “qc-usb-0.6.6.tar.gz.part”

100%[=====================================>] 147,072      212K/s   in 0.7s    

2011-02-04 19:02:52 (212 KB/s) - “qc-usb-0.6.6.tar.gz.part” saved [147072/147072]

  -> Found qc-usb-0.6.6-kcompat-2.6.24.patch
  -> Found qc-usb-0.6.6-kcompat-2.6.26.patch
  -> Found qc-usb-0.6.6-kcompat-2.6.27.patch
  -> Found qc-usb-0.6.6-kcompat-2.6.28.patch
  -> Found qc-usb-0.6.6-kcompat-2.6.37.patch
==> Validating source files with md5sums...
    qc-usb-0.6.6.tar.gz ... Passed
    qc-usb-0.6.6-kcompat-2.6.24.patch ... Passed
    qc-usb-0.6.6-kcompat-2.6.26.patch ... Passed
    qc-usb-0.6.6-kcompat-2.6.27.patch ... Passed
    qc-usb-0.6.6-kcompat-2.6.28.patch ... Passed
    qc-usb-0.6.6-kcompat-2.6.37.patch ... Passed
==> Extracting Sources...
  -> Extracting qc-usb-0.6.6.tar.gz with bsdtar
==> Starting build()...
patching file qc-driver.c
patching file quickcam.h
patching file qc-driver.c
patching file qc-memory.c
patching file qc-driver.c
patching file qc-driver.c
Hunk #7 succeeded at 3182 (offset -7 lines).
patching file qc-driver.c
Hunk #3 succeeded at 996 (offset 2 lines).
Hunk #4 succeeded at 1034 (offset 2 lines).
Hunk #5 succeeded at 3023 (offset 26 lines).
Hunk #6 succeeded at 3130 (offset 27 lines).
patching file qc-memory.c
patching file quickcam.h
awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.36-ARCH/build/include/linux/version.h' for reading (No such file or directory)
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
cc -I/lib/modules/2.6.36-ARCH/build/include -nostdinc -iwithprefix include -DMODULE -D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall -Wstrict-prototypes -Wno-trigraphs -DHAVE_UTSRELEASE_H= -pipe -c qc-driver.c
In file included from qc-driver.c:50:0:
quickcam.h:79:32: fatal error: generated/autoconf.h: No such file or directory
compilation terminated.
make: *** [qc-driver.o] Error 1
    Aborting...

I get this when I try to use makepkg --asroot ... Any suggestions?

Offline

#2 2011-02-05 00:26:57

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

Re: Problem with makepkg

Install kernel26-headers.   

And you really do not want to run makepkg as root....

Offline

#3 2011-02-05 03:40:25

Kyvou
Member
Registered: 2011-01-31
Posts: 10

Re: Problem with makepkg

Didn't make a difference...

Offline

#4 2011-02-05 04:29:00

whukes
Member
Registered: 2008-07-18
Posts: 34

Re: Problem with makepkg

Is your install up to date on the 2.6.37 kernel?  Looks like it is try to find the 2.6.36 headers.  Try rebooting if your on 2.6.37.

Offline

#5 2011-02-06 06:46:53

Kyvou
Member
Registered: 2011-01-31
Posts: 10

Re: Problem with makepkg

Wait... how would I go about trying that? What's weird is that my webcam works on cheese, but it isn't detected at all on anything else like... say... chatroulette, tinychat, Skype, MSN... ect...

Edit: On Cheese, I can see myself on the screen, but when I go to look at the webcam properties, it's as if the thing doesn't exist. o.O;

Last edited by Kyvou (2011-02-06 07:52:30)

Offline

Board footer

Powered by FluxBB