You are not logged in.

#1 2011-05-06 13:40:43

arka
Member
Registered: 2011-05-05
Posts: 7

Can't build vloopback-svn

I'm trying to install vloopback-svn from AUR with packer, but it's not working.

Here's terminal output:

packer -S vloopback-svn

Aur Targets    (1): vloopback-svn

Proceed with installation? [Y/n] y
Edit vloopback-svn PKGBUILD with $EDITOR? [Y/n] n
Edit vloopback-svn.install with $EDITOR? [Y/n] n
==> Determining latest svn revision...
  -> Version found: 24
==> Making package: vloopback-svn 24-1 (Fri May  6 16:33:28 EEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
At revision 24.
==> SVN checkout done or server timeout
==> Starting make...
make -C /lib/modules/2.6.38-ARCH/build SUBDIRS=/tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build modules
make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH'
  CC [M]  /tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build/vloopback.o
/tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build/vloopback.c:196:2: error: #error "need CONFIG_VIDEO_V4L1_COMPAT"
/tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build/vloopback.c:220:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build/vloopback.o] Error 1
make[1]: *** [_module_/tmp/packerbuild-1000/vloopback-svn/vloopback-svn/src/vloopback-build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

kernel: 2.6.38-ARCH, i686

I have 'kernel26-headers' installed, do I need something else or is the problem in the PKGBUILD or something?

Offline

#2 2011-05-06 17:38:37

tangobravo78
Member
Registered: 2011-05-06
Posts: 1

Re: Can't build vloopback-svn

Same problem, just tried this morning..... Trying to get to the bottom of it!

Offline

#3 2011-05-07 01:19:03

Koigreen
Member
Registered: 2011-05-07
Posts: 1

Re: Can't build vloopback-svn

Yeah, Same Issue here too.

==> Continue building vloopback-svn ? [Y/n]
==> ---------------------------------------
==>
==> Building and installing package
==> Determining latest svn revision...
  -> Version found: 24
==> Making package: vloopback-svn 24-1 (Fri May  6 20:13:04 CDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
A    vloopback/vloopback.c
A    vloopback/vloopback.html
A    vloopback/FAQ
A    vloopback/COPYING
A    vloopback/example
A    vloopback/example/resize.c
A    vloopback/example/feed.c
A    vloopback/example/invert.c
A    vloopback/example/dummy.c
A    vloopback/example/Makefile
A    vloopback/Makefile
A    vloopback/README
Checked out revision 24.
==> SVN checkout done or server timeout
==> Starting make...
make -C /lib/modules/2.6.38-ARCH/build SUBDIRS=/tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build modules
make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH'
  CC [M]  /tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build/vloopback.o
/tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build/vloopback.c:196:2: error: #error "need CONFIG_VIDEO_V4L1_COMPAT"
/tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build/vloopback.c:220:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build/vloopback.o] Error 1
make[1]: *** [_module_/tmp/yaourt-tmp-nicholas/aur-vloopback-svn/src/vloopback-build] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build vloopback-svn.
==> Restart building vloopback-svn ? [y/N]
==> --------------------------------------
==>
==> WARNING: Following package

Offline

#4 2011-05-07 14:47:25

arka
Member
Registered: 2011-05-05
Posts: 7

Re: Can't build vloopback-svn

It seems that 'include/linux/videodev.h' is removed from kernel 2.6.38.
So goodbye V4L1 API. sad

Offline

#5 2011-05-07 16:20:48

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Can't build vloopback-svn

install v4l-utils

Offline

#6 2011-05-08 08:21:02

arka
Member
Registered: 2011-05-05
Posts: 7

Re: Can't build vloopback-svn

hifi25nl wrote:

install v4l-utils

API was maybe wrong word.

I need vloopback-svn for webcamstudio to create a virtual webcam to get my v4l2 webcam to work with programs that only support v4l1.

Offline

#7 2011-05-08 10:55:01

Stemp
Member
From: Paris, Europe
Registered: 2011-04-26
Posts: 61
Website

Re: Can't build vloopback-svn

arka wrote:

I need vloopback-svn for webcamstudio to create a virtual webcam to get my v4l2 webcam to work with programs that only support v4l1.

as hifi25nl told you, install v4l-utils. Then use the v4l1 compatiblity layer to launch your program, eg :

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama

note : it may be in /usr/lib32/ for 64bits wink


Sorry for my English - Home Page - «Violence never settles anything.» : Genghis Khan, 1162-1227

Offline

#8 2011-05-08 15:01:46

arka
Member
Registered: 2011-05-05
Posts: 7

Re: Can't build vloopback-svn

It seems that xawtv is the only program that can show video from my webcam.

When I try to start cheese I get these errors:

libv4l2: error setting pixformat: Invalid argument
** (cheese:7262): WARNING **: Device '/dev/video0' cannot capture at 640x480
** (cheese:7262): WARNING **: Could not negotiate format

What I really need is vloopback-svn to get webcamstudio to work and then create a virtual webcam that records a part of my desktop where the xawtv window is.

Not the cleanest way to do it, but it's seems to be the only way to do it. tongue

btw I can't even compile camorama from AUR because there's no 'videodev.h' in kernel 2.6.38.

Offline

#9 2011-05-08 15:47:10

Stemp
Member
From: Paris, Europe
Registered: 2011-04-26
Posts: 61
Website

Re: Can't build vloopback-svn

You tried :

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese

?


Sorry for my English - Home Page - «Violence never settles anything.» : Genghis Khan, 1162-1227

Offline

#10 2011-05-08 16:37:46

arka
Member
Registered: 2011-05-05
Posts: 7

Re: Can't build vloopback-svn

Stemp wrote:

You tried :

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so cheese

?

Yes. It says "No device found" in cheese window.

And yes i have libv4l installed:

$ ls /usr/lib/libv4l/
ov511-decomp  ov518-decomp  v4l1compat.so  v4l2convert.so

Offline

#11 2011-05-08 16:47:16

Stemp
Member
From: Paris, Europe
Registered: 2011-04-26
Posts: 61
Website

Re: Can't build vloopback-svn

Try with /usr/lib/libv4l/v4l2convert.so

But anyway you have a driver problem, it's not fully v4l2 compliant.


Sorry for my English - Home Page - «Violence never settles anything.» : Genghis Khan, 1162-1227

Offline

#12 2011-05-08 17:03:44

arka
Member
Registered: 2011-05-05
Posts: 7

Re: Can't build vloopback-svn

Stemp wrote:

Try with /usr/lib/libv4l/v4l2convert.so

But anyway you have a driver problem, it's not fully v4l2 compliant.

Still not working. I also tried with ov511-decomp  and ov518-decomp. I guess I must wait that vloopback-svn or webcamstudio gets an update to work with this new kernel.

edit. I noticed that my webcam is actually a v4l1 device. At least it works with vlc when i   open v4l:///dev/video0

but with cheese and adobe flash, not working.

Last edited by arka (2011-05-08 18:34:15)

Offline

#13 2011-05-21 21:19:18

superjimmy
Member
Registered: 2011-05-21
Posts: 2

Re: Can't build vloopback-svn

Just figured out the latest webcamstudio svn provides it's on vloopback module that compiles fine on 2.6.38. Going to go through and compile the whole package and will update you guys later how it works.

Offline

#14 2011-05-21 21:44:19

superjimmy
Member
Registered: 2011-05-21
Posts: 2

Re: Can't build vloopback-svn

Ok I can confirm that the module and webcamstudio itself does work on core kernel. Compiled webcamstudio with netbeans if any of you java fluent guys (I haven't done anything with it since school like 4 years ago) can tell me how to compile it via command line, we could probably throw together a pkgbuild for this.

Offline

#15 2011-06-06 21:15:42

ov1d1u
Member
Registered: 2011-05-30
Posts: 5

Re: Can't build vloopback-svn

Download webcamstudio from SVN and build the vloopback module from trunk/vloopback. Also please notice that you'll have to load the wemcastudio module (after installing), and not vloopback.

Last edited by ov1d1u (2011-06-06 21:17:22)

Offline

#16 2011-07-18 22:01:36

hwkiller
Member
Registered: 2009-07-21
Posts: 56

Re: Can't build vloopback-svn

I created  PKGBUILD for the latest webcamstudio and its loopback module called webcamstudio-svn. It's in the AUR now.  So far it works great! Let me know if anyone wants something changed.

Offline

Board footer

Powered by FluxBB