cychiang / webcamstudio

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

Error installing webcamstudio module #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error that I get during install

Selecting previously deselected package webcamstudio.
(Reading database ... 249375 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 does not exist in /proc/modules
Removing webcamstudio.ko from the modules
rm: cannot remove `/lib/modules/2.6.39.4/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: *** /lib/modules/2.6.39.4/build: No such file or directory.  Stop.
make: *** [webcamstudio] Error 2
make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules_install
make: *** /lib/modules/2.6.39.4/build: No such file or directory.  Stop.
make: *** [install] Error 2

 * Modprobe webcamstudio failed. Please use 'dmesg' to find out why.

Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for ureadahead ...
Processing triggers for python-support ...

Original issue reported on code.google.com by RandySuk...@gmail.com on 4 Apr 2012 at 7:38

GoogleCodeExporter commented 9 years ago
You missing the kernel headers to build the module

Original comment by patrick.balleux on 30 Apr 2012 at 10:21

GoogleCodeExporter commented 9 years ago
How do i go about solving this issue ?

Original comment by RandySuk...@gmail.com on 2 May 2012 at 1:50

GoogleCodeExporter commented 9 years ago
This did the trick for me:

First check our kernel version:
joose@ArnoldVonHoffenstraden:~$ uname -r
3.2.0-2-amd64

Then install all the headers for that kernel:
joose@ArnoldVonHoffenstraden:~$ sudo apt-get install linux-headers-3.2.0-2-all

Original comment by joose.ra...@joose.biz on 3 Jun 2012 at 2:33

GoogleCodeExporter commented 9 years ago
I have the same problem, and I have confirmed that the Kernel headers are 
installed.

When I try to run webcamstudio I get the following: 

Using JRE: /usr/lib/jvm/java-6-openjdk/bin
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
library 'gstreamer-0.10': libgstreamer-0.10.so: cannot open shared object file: 
No such file or directory
    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
    at com.sun.jna.Library$Handler.<init>(Library.java:140)
    at com.sun.jna.Native.loadLibrary(Native.java:374)
    at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:48)
    at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:45)
    at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
    at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
    at org.gstreamer.Gst.<clinit>(Gst.java:59)
    at webcamstudio.Main.<init>(Main.java:83)
    at webcamstudio.Main.main(Main.java:2419)

I am on 64bit Ubuntu 12.04

Original comment by jason.bi...@gmail.com on 16 Jul 2012 at 7:35

GoogleCodeExporter commented 9 years ago
32-bit 12.04 here, same issue.. 

Using JRE: /usr/lib/jvm/java-6-openjdk/bin
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load 
library 'gstreamer-0.10': libgstreamer-0.10.so: cannot open shared object file: 
No such file or directory
    at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:164)
    at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:237)
    at com.sun.jna.Library$Handler.<init>(Library.java:140)
    at com.sun.jna.Native.loadLibrary(Native.java:374)
    at org.gstreamer.lowlevel.GNative.loadNativeLibrary(GNative.java:48)
    at org.gstreamer.lowlevel.GNative.loadLibrary(GNative.java:45)
    at org.gstreamer.lowlevel.GstNative.load(GstNative.java:42)
    at org.gstreamer.lowlevel.GstNative.load(GstNative.java:39)
    at org.gstreamer.Gst.<clinit>(Gst.java:59)
    at webcamstudio.Main.<init>(Main.java:83)
    at webcamstudio.Main.main(Main.java:2419)

Original comment by gareth7yo@gmail.com on 16 Oct 2012 at 7:25

GoogleCodeExporter commented 9 years ago
Should be fixed in our latest SVN r443
Please test and provide feedback...

If you are on a debian derivative, you may use our LP Daily builds PPA...

Original comment by peter.u....@gmail.com on 3 Apr 2013 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by peter.u....@gmail.com on 21 Apr 2013 at 9:31