mlanypitts / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

Webcamstudio installs with errors on Linux Mint 15 (Ubuntu 13.04 Raring Ringtail) #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download webcamstudio_0.57beta4_all.deb
2. Install webcamstudio
3. Start webcamstudio

What is the expected output?
To have webcamstudio running

What do you see instead?
$ webcamstudio
Using JRE: /usr/lib/jvm/java-6-sun/bin
Module webcamstudio is not loaded...

During install these are messages that were generated:

Selecting previously unselected package libpcrecpp0:amd64.
(Reading database ... 321984 files and directories currently installed.)
Unpacking libpcrecpp0:amd64 (from .../libpcrecpp0_1%3a8.31-2_amd64.deb) ...
Selecting previously unselected package libmatthew-debug-java.
Unpacking libmatthew-debug-java (from 
.../libmatthew-debug-java_0.7.3-1ubuntu1_all.deb) ...
Selecting previously unselected package libunixsocket-java.
Unpacking libunixsocket-java (from 
.../libunixsocket-java_0.7.3-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libdbus-java.
Unpacking libdbus-java (from .../libdbus-java_2.8-4ubuntu1_all.deb) ...
Selecting previously unselected package dbus-java-bin.
Unpacking dbus-java-bin (from .../dbus-java-bin_2.8-4ubuntu1_all.deb) ...
Selecting previously unselected package libpcre3-dev:amd64.
Unpacking libpcre3-dev:amd64 (from .../libpcre3-dev_1%3a8.31-2_amd64.deb) ...
Selecting previously unselected package libglib2.0-dev.
Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.36.0-1ubuntu2_amd64.deb) ...
Selecting previously unselected package libjna-java.
Unpacking libjna-java (from .../libjna-java_3.2.7-4_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for libglib2.0-0:i386 ...
Processing triggers for libglib2.0-0:amd64 ...
Setting up libpcrecpp0:amd64 (1:8.31-2) ...
Setting up libmatthew-debug-java (0.7.3-1ubuntu1) ...
Setting up libunixsocket-java (0.7.3-1ubuntu1) ...
Setting up libdbus-java (2.8-4ubuntu1) ...
Setting up dbus-java-bin (2.8-4ubuntu1) ...
Setting up libpcre3-dev:amd64 (1:8.31-2) ...
Setting up libglib2.0-dev (2.36.0-1ubuntu2) ...
Setting up libjna-java (3.2.7-4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Selecting previously unselected package webcamstudio.
(Reading database ... 322458 files and directories currently installed.)
Unpacking webcamstudio (from .../webcamstudio_0.57beta4_all.deb) ...
Setting up webcamstudio (0.57beta4) ...
Removing the webcamstudio module from memory
Error: Module webcamstudio is not currently loaded
Removing webcamstudio.ko from the modules
rm: cannot remove 
‘/lib/modules/3.8.0-32-generic/kernel/drivers/misc/webcamstudio.ko’: No 
such file or directory
Restating the webcamstudio service to update the module
 * Stopping WebcamStudio kernel module webcamstudio                                                        [ OK ] 
 * Starting WebcamStudio kernel module webcamstudio                                                               Building webcamstudio driver...
make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-32-generic'
  CC [M]  /tmp/webcamstudio-src/webcamstudio.o
/tmp/webcamstudio-src/webcamstudio.c: In function ‘webcamstudio_write’:
/tmp/webcamstudio-src/webcamstudio.c:1350:3: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat]
/tmp/webcamstudio-src/webcamstudio.c:1362:5: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat]
/tmp/webcamstudio-src/webcamstudio.c: In function ‘init_buffers’:
/tmp/webcamstudio-src/webcamstudio.c:1438:6: error: ‘struct v4l2_buffer’ 
has no member named ‘input’
make[2]: *** [/tmp/webcamstudio-src/webcamstudio.o] Error 1
make[1]: *** [_module_/tmp/webcamstudio-src] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-32-generic'
make: *** [webcamstudio] Error 2
make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules_install
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-32-generic'
  DEPMOD  3.8.0-32-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-32-generic'
depmod -ae
WARNING: -e needs -E or -F
gcc: error: unrecognized command line option ‘-Wl’
cp: cannot stat ‘libwebcamstudio.so.1.0.1’: No such file or directory

 * Modprobe webcamstudio failed. Please use 'dmesg' to find out why.
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for ureadahead ...

The Operating system you are using (Linux, Windows etc)?

What version of WebcamStudio are you using?

What version of Java are you using?

What is your Webcamera vendor, model and version?

For *nix users please enter the output from "sudo lsusb"?

Original issue reported on code.google.com by valent.turkovic on 11 Nov 2013 at 11:31

GoogleCodeExporter commented 9 years ago
After installing webcamstudio module now only this error is shown:

$ webcamstudio
Using JRE: /usr/lib/jvm/java-6-sun/bin
/usr/bin/webcamstudio: line 42: /usr/lib/jvm/java-6-sun/bin/java: No such file 
or directory

Original comment by valent.turkovic on 11 Nov 2013 at 11:37

GoogleCodeExporter commented 9 years ago
Can you please provide some dependency matching and a more user friendly error 
message warning users that they need to compile and install webcamstudio module 
previously to starting install of webcamstudio deb package?

Original comment by valent.turkovic on 11 Nov 2013 at 11:59

GoogleCodeExporter commented 9 years ago
Now that I have setup webcamstudio to use /usb/bin and 
/usr/lib/jvm/java-7-openjdk-amd64/bin for java webcamstudio starts to load but 
just hangs there, doesn't freeze but just hangs and does nothing...

$ webcamstudio
Using JRE: /usr/lib/jvm/java-7-openjdk-amd64/bin
OS is Linux
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
library 'webcamstudio': libwebcamstudio.so: cannot open shared object file: No 
such file or directory
        at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
        at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
        at com.sun.jna.Library$Handler.<init>(Library.java:140)
        at com.sun.jna.Native.loadLibrary(Native.java:379)
        at com.sun.jna.Native.loadLibrary(Native.java:364)
        at webcamstudio.exporter.vloopback.V4L2Loopback$CV4l2.<clinit>(V4L2Loopback.java:75)
        at webcamstudio.exporter.vloopback.V4L2Loopback.open(V4L2Loopback.java:31)
        at webcamstudio.Main.selectOutputDevice(Main.java:228)
        at webcamstudio.Main.cboVideoOutputsActionPerformed(Main.java:1870)
        at webcamstudio.Main.access$300(Main.java:51)
        at webcamstudio.Main$3.actionPerformed(Main.java:826)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1260)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:588)
        at webcamstudio.Main.initVideoDevices(Main.java:199)
        at webcamstudio.Main.<init>(Main.java:98)
        at webcamstudio.Main.main(Main.java:1947)

Original comment by valent.turkovic on 11 Nov 2013 at 12:21

GoogleCodeExporter commented 9 years ago
See issue 100.
karl.

Original comment by soylent...@gmail.com on 11 Nov 2013 at 5:00

GoogleCodeExporter commented 9 years ago
Version 0.57 is no longer supported.

Original comment by soylent...@gmail.com on 9 Dec 2013 at 8:18