Unknown error while trying to install droidcam - linux

Im trying to install the video drivers for droidcam on my chromebook via linux. However when I go to run the command sudo ./install-video (which is the correct command according to the documentation, there is a file called install-video) this is what pops up. Anyone know whats going on
brysoncotton#penguin:/tmp/droidcam$ sudo ./install-video
Webcam parameters: '640' and '480'
libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
Building v4l2loopback-dc.ko
make: Entering directory '/tmp/droidcam/v4l2loopback'
make -C /lib/modules/5.10.114-16024-gbdf1547bd4f4/build M=/tmp/droidcam/v4l2loopback modules
make[1]: Entering directory '/tmp/droidcam/v4l2loopback'
make[1]: *** /lib/modules/5.10.114-16024-gbdf1547bd4f4/build: No such file or directory. Stop.
make[1]: Leaving directory '/tmp/droidcam/v4l2loopback'
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/tmp/droidcam/v4l2loopback'
here is a link to their website btw
https://www.dev47apps.com/droidcam/linux/

Related

How do I install libSBML using Cygwin on a Windows machine?

I want to install libSBML using a Cygwin terminal on my Windows machine in order to run a bespoke statistical package in Python. The libSBML installation instructions have enabled me to successfully execute the following:
./configure --with-python=/cygdrive/c/cygwin64 --prefix=/cygdrive/c/cygwin64 --with-swig=/cygdrive/c/cygwin64
make
however,
make install
fails giving the following error:
/bindings/python/RyY1P1Dc/stage//usr/local/lib/_libsbml.a
ranlib /cygdrive/c/Users/esrnai/Downloads/libsbml-4.0.1-src/libsbml- 4.0.1/src/bindings/python/RyY1P1Dc/stage//usr/local/lib/_libsbml.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
mkdir -p build build/libsbml
echo "libsbml" > build/libsbml.pth
cp _libsbml.dll build/libsbml
cp: cannot stat ‘_libsbml.dll’: No such file or directory
Makefile:316: recipe for target 'create-build-dir' failed
make[3]: *** [create-build-dir] Error 1
make[3]: Leaving directory '/cygdrive/c/Users/esrnai/Downloads/libsbml- 4.0.1-src/libsbml-4.0.1/src/bindings/python'
../../config/makefile-common-actions.mk:359: recipe for target 'python- recurse' failed
make[2]: *** [python-recurse] Error 2
make[2]: Leaving directory '/cygdrive/c/Users/esrnai/Downloads/libsbml- 4.0.1-src/libsbml-4.0.1/src/bindings'
../config/makefile-common-actions.mk:359: recipe for target 'bindings- recurse' failed
make[1]: *** [bindings-recurse] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/esrnai/Downloads/libsbml- 4.0.1-src/libsbml-4.0.1/src'
config/makefile-common-actions.mk:361: recipe for target 'src-recurse' failed
make: *** [src-recurse] Error 2
I believe the problem is the same as the one reported here http://sourceforge.net/p/sbml/libsbml/314/#581b which has since been closed. Could someone help me interpret the message on this page or suggest any alternative solutions?
I have now overcome this problem through the following solution:
I downloaded libSBML as a standalone python package from https://pypi.python.org/packages/source/p/python-libsbml/python-libsbml-5.11.4.tar.gz
I then entered the appropriate directory and typed the following commands:
tar xzf python-libsbml-5.11.4.tar.gz
cd python-libsbml-5.11.4
python setup.py install
and libSBML was successfully installed. I am now able to run the statistical package without failure.

linux/videodev.h: No such file or directory Ubuntu 14.04

Hi I run into a problem when setting up my web camera for use in Chrome, which needed FlashCam.
When following the installation guide at: http://www.swift-tools.net/Flashcam/
At the step when doing the "make" build I get:
adderollen#andreas-RC530:~/Downloads/flashcam-1.4.5$ make
(cd vloopback; make);
make[1]: Entering directory `/home/adderollen/Downloads/flashcam-1.4.5/vloopback'
make -C /lib/modules/3.13.0-37-generic/build SUBDIRS=/home/adderollen/Downloads/flashcam- 1.4.5/vloopback modules
make[2]: Entering directory `/usr/src/linux-headers-3.13.0-37-generic'
CC [M] /home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.o
/home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.c:166:28: fatal error:
linux/videodev.h: No such file or directory
#include <linux/videodev.h>
^
compilation terminated.
make[3]: *** [/home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.o] Error 1
make[2]: *** [_module_/home/adderollen/Downloads/flashcam-1.4.5/vloopback] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/adderollen/Downloads/flashcam-1.4.5/vloopback'
make: *** [vloopback/vloopback.ko] Error 2
So I googled some and found this: linux/videodev.h : no such file or directory - OpenCV on ubuntu 11.04
I followed the answer by bukzor, but I still got the same problem. Any one got a solution?
I run Ubuntu 14.04.
Don't you still have such a file on disk? If so, then may be the package which contains such a file was renamed, or may be file was renamed/removed.
find / -name 'videodev.h'
locate videodev.h
using the above commands to check whether you have the file.

MPFR installation can't find gmp-impl.h

I'm trying to install MPFR on cygwin.
I successfully ran "./configure --with-gmp-build=../gmp-5.1.3" and it doesn't gave me any error.
But when I ran "make install", it fails and gives following error.
In file included from exceptions.c:23:0:
mpfr-impl.h:71:24: fatal error: gmp-impl.h: No such file or directory
compilation terminated.
Makefile:674: recipe for target `exceptions.lo' failed
make[2]: *** [exceptions.lo] Error 1
make[2]: Leaving directory `/cygdrive/d/chamila/mpfr-3.1.2/src'
Makefile:798: recipe for target `install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory `/cygdrive/d/chamila/mpfr-3.1.2/src'
Makefile:385: recipe for target `install-recursive' failed
make: *** [install-recursive] Error 1
I added gmp location to path as well. What is wrong here? How can I solve this?
Don't use the --with-gmp-build option (unless you know what you're doing) and don't use relative paths with configure. If you have installed GMP in directory DIR, just use --with-gmp=DIR.

gcc make install error

I try to compile gcc with make install and it gives me this:
make[1]: Entering directory `/media/BOSS/sources/gcc-build'
/bin/bash ../gcc-4.8.1/mkinstalldirs /tools /tools
/bin/bash: line 3: cd: ./fixincludes: No such file or directory
make[1]: *** [install-fixincludes] Error 1
make[1]: Leaving directory `/media/BOSS/sources/gcc-build'
make: *** [install] Error 2
I am currently compiling it for lfs also I am in a seprate directory on a 32 bit computer
It seems the issue is caused by the target install. So my advice is to check the line in MakeFile which relates to [install].
Perhaps you may want to share more details for better solutions.

error in compiling xcbproto 1.7

I tried to compile xcbproto 1.7 in linux and get an error message when type make install command
Making install in xcbgen
make[1]: Entering directory `/home/reham/miriad_files/xcb-proto-1.7/xcbgen'
make[2]: Entering directory `/home/reham/miriad_files/xcb-proto-1.7/xcbgen'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/python2.5/site-packages/xcbgen" || /bin/mkdir -p "/usr/local/lib/python2.5/site-packages/xcbgen"
/usr/bin/install -c -m 644 __init__.py error.py expr.py matcher.py state.py xtypes.py '/usr/local/lib/python2.5/site-packages/xcbgen'
/home/reham/Desktop/Fermi/ScienceTools-v9r15p2-fssc-20090808-i686-pc-linux-gnu-libc2.5/i686-pc-linux-gnu-libc2.5/bin/python: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory
make[2]: *** [install-pkgpythonPYTHON] Error 127
make[2]: Leaving directory `/home/reham/miriad_files/xcb-proto-1.7/xcbgen'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/reham/miriad_files/xcb-proto-1.7/xcbgen'
make: *** [install-recursive] Error 1
What is the problem?
It seems there's a problem with a custom python version you seem to have installed on your system. Namely this one:
/home/reham/Desktop/Fermi/ScienceTools-v9r15p2-fssc-20090808-i686-pc-linux-gnu-libc2.5/i686-pc-linux-gnu-libc2.5/bin/python
This seems to depend on the shared library libpython2.5.so.1.0 which isn't found by the linker.
Most probably the custom python version you installed brought this shared library along and it just isn't found as it is not in one of the standard directories.
To fix this you might either try to use the python version installed on your system or add the path containing libpython2.5.so.1.0 to the ones searched by the linker.
My guess is it will be somewhere below /home/reham/Desktop/Fermi/ScienceTools-v9r15p2-fssc-20090808-i686-pc-linux-gnu-libc2.5/i686-pc-linux-gnu-libc2.5/
Most probably in the subdirectory /lib .

Resources