You are not logged in.
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
Same problem, just tried this morning..... Trying to get to the bottom of it!
Offline
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
It seems that 'include/linux/videodev.h' is removed from kernel 2.6.38.
So goodbye V4L1 API.
Offline
install v4l-utils
Offline
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
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
Sorry for my English - Home Page - «Violence never settles anything.» : Genghis Khan, 1162-1227
Offline
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.
btw I can't even compile camorama from AUR because there's no 'videodev.h' in kernel 2.6.38.
Offline
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
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
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
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
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
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
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