hello Reed9,
I did as you said, but I think there have been a few problems along the way. I've not yet rebooted the comp to see if it works (I'll reboot after posting this reply), but here's a copy of the whole process from the terminal window:
_________________
< You look tired. >
-----------------
\
\
___
{~._.~}
( Y )
()~*~()
(_)-(_)
mf@mf-desktop ~ $ sudo apt-get install build-essential checkinstall linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.31-14-generic is already the newest version.
The following extra packages will be installed:
dpkg-dev fakeroot g++ g++-4.4 libstdc++6-4.4-dev patch
Suggested packages:
gettext debian-keyring debian-maintainers g++-multilib g++-4.4-multilib
gcc-4.4-doc libstdc++6-4.4-dbg libstdc++6-4.4-doc diff-doc
The following NEW packages will be installed:
build-essential checkinstall dpkg-dev fakeroot g++ g++-4.4
libstdc++6-4.4-dev patch
0 upgraded, 8 newly installed, 0 to remove and 12 not upgraded.
Need to get 7,114kB of archives.
After this operation, 24.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libstdc++6-4.4-dev g++-4.4 g++ patch dpkg-dev build-essential checkinstall
fakeroot
Authentication warning overridden.
Get:1
http://archive.ubuntu.com karmic-updates/main libstdc++6-4.4-dev 4.4.1-4ubuntu9 [1,490kB]
Get:2
http://archive.ubuntu.com karmic-updates/main g++-4.4 4.4.1-4ubuntu9 [4,701kB]
Err
http://archive.ubuntu.com karmic-updates/main g++-4.4 4.4.1-4ubuntu9
Connection failed [IP: 91.189.88.45 80]
Get:3
http://archive.ubuntu.com karmic/main g++ 4:4.4.1-1ubuntu2 [1,446B]
Get:4
http://archive.ubuntu.com karmic/main patch 2.5.9-5 [100kB]
Get:5
http://archive.ubuntu.com karmic/main dpkg-dev 1.15.4ubuntu2 [573kB]
Get:6
http://archive.ubuntu.com karmic/main build-essential 11.4 [7,172B]
Get:7
http://archive.ubuntu.com karmic/universe checkinstall 1.6.1-8ubuntu1 [116kB]
Get:8
http://archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB]
Fetched 2,413kB in 5min 49s (6,895B/s)
Failed to fetch
http://archive.ubuntu.com/ubuntu/poo...untu9_i386.deb Connection failed [IP: 91.189.88.45 80]
E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.
mf@mf-desktop ~ $ sudo apt-get install build-essential checkinstall linux-headers-$(uname -r)
[sudo] password for mf:
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.31-14-generic is already the newest version.
The following extra packages will be installed:
dpkg-dev fakeroot g++ g++-4.4 libstdc++6-4.4-dev patch
Suggested packages:
gettext debian-keyring debian-maintainers g++-multilib g++-4.4-multilib
gcc-4.4-doc libstdc++6-4.4-dbg libstdc++6-4.4-doc diff-doc
The following NEW packages will be installed:
build-essential checkinstall dpkg-dev fakeroot g++ g++-4.4
libstdc++6-4.4-dev patch
0 upgraded, 8 newly installed, 0 to remove and 12 not upgraded.
Need to get 4,701kB/7,114kB of archives.
After this operation, 24.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libstdc++6-4.4-dev g++-4.4 g++ patch dpkg-dev build-essential checkinstall
fakeroot
Authentication warning overridden.
Get:1
http://archive.ubuntu.com karmic-updates/main g++-4.4 4.4.1-4ubuntu9 [4,701kB]
Fetched 2,228kB in 2min 26s (15.2kB/s)
Selecting previously deselected package libstdc++6-4.4-dev.
(Reading database ... 117910 files and directories currently installed.)
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.1-4ubuntu9_i386.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.1-4ubuntu9_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.5.9-5_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.4ubuntu2_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4_i386.deb) ...
Selecting previously deselected package checkinstall.
Unpacking checkinstall (from .../checkinstall_1.6.1-8ubuntu1_i386.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.12.4ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up patch (2.5.9-5) ...
Setting up dpkg-dev (1.15.4ubuntu2) ...
Setting up checkinstall (1.6.1-8ubuntu1) ...
Setting up fakeroot (1.12.4ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up libstdc++6-4.4-dev (4.4.1-4ubuntu9) ...
Setting up g++-4.4 (4.4.1-4ubuntu9) ...
Setting up g++ (4:4.4.1-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.4) ...
mf@mf-desktop ~ $ wget
http://www.swift-tools.net/Flashcam/flashcam-1.4.4.tgz
--2010-02-17 02:46:44--
http://www.swift-tools.net/Flashcam/flashcam-1.4.4.tgz
Resolving
www.swift-tools.net... 213.186.33.2
Connecting to
www.swift-tools.net|213.186.33.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91203 (89K) [application/x-gzip]
Saving to: `flashcam-1.4.4.tgz'
100%[======================================>] 91,203 10.3K/s in 8.7s
2010-02-17 02:47:01 (10.3 KB/s) - `flashcam-1.4.4.tgz' saved [91203/91203]
mf@mf-desktop ~ $ tar xvf flashcam-1.4.4.tgz
flashcam-1.4.4/Makefile
flashcam-1.4.4/LICENSES
flashcam-1.4.4/flashcam.c
flashcam-1.4.4/flashcamhook.c
flashcam-1.4.4/wrapper.in
flashcam-1.4.4/fcinit.in
flashcam-1.4.4/Test/
flashcam-1.4.4/Test/webcamtest.html
flashcam-1.4.4/Test/webcamtest.swf
flashcam-1.4.4/vloopback/
flashcam-1.4.4/vloopback/README
flashcam-1.4.4/vloopback/COPYING
flashcam-1.4.4/vloopback/modules.order
flashcam-1.4.4/vloopback/vloopback.c
flashcam-1.4.4/vloopback/Makefile
mf@mf-desktop ~ $ cd flashcam-1.4.4
mf@mf-desktop ~/flashcam-1.4.4 $ make
cc -g -shared -fPIC -o flashcamhook.so flashcamhook.c
cc -g -o flashcam flashcam.c
(cd vloopback; make);
make[1]: Entering directory `/home/mf/flashcam-1.4.4/vloopback'
make -C /lib/modules/2.6.31-14-generic/build SUBDIRS=/home/mf/flashcam-1.4.4/vloopback modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
CC [M] /home/mf/flashcam-1.4.4/vloopback/vloopback.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/mf/flashcam-1.4.4/vloopback/vloopback.mod.o
LD [M] /home/mf/flashcam-1.4.4/vloopback/vloopback.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make[1]: Leaving directory `/home/mf/flashcam-1.4.4/vloopback'
Creating wrapper
sed 's:%FCPATH%:/usr/local/flashcam:' wrapper.in > flashcamwrap
chmod +x flashcamwrap
Done.
Creating startup script
sed 's:%BINDIR%:/usr/local/bin:' fcinit.in > fcinit
Done.
mf@mf-desktop ~/flashcam-1.4.4 $ sudo checkinstall
[sudo] password for mf:
checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]: y
Preparing package documentation...OK
*** No known documentation files were found. The new package
*** won't include a documentation directory.
Please write a description for the package.
End your description with an empty line or EOF.
>> see
http://www.linuxquestions.org/questi...lation-789300/
>>
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@mf-desktop ]
1 - Summary: [ see
http://www.linuxquestions.org/questi...lation-789300/ ]
2 - Name: [ flashcam ]
3 - Version: [ 1.4.4 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ flashcam-1.4.4 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ flashcam ]
Enter a number to change any of them or press ENTER to continue:
Installing with make...Installing with install...
========================= Installation results ===========================
install -d /usr/local/flashcam
install -d /usr/local/flashcam/bin
ln -s /usr/local/bin/flashcamwrap /usr/local/flashcam/bin/firefox
ln -s /usr/local/bin/flashcamwrap /usr/local/flashcam/bin/flashplayer
install -m 755 flashcamhook.so /usr/local/flashcam
install -m 755 flashcam flashcamwrap /usr/local/bin
install -m 755 fcinit /etc/init.d
(cd vloopback; make install);
make[1]: Entering directory `/home/mf/flashcam-1.4.4/vloopback'
install -d /lib/modules/2.6.31-14-generic/kernel/drivers/misc
install -m 644 -c vloopback.ko /lib/modules/2.6.31-14-generic/kernel/drivers/misc
/sbin/depmod -a
make[1]: Leaving directory `/home/mf/flashcam-1.4.4/vloopback'
if [ -x /sbin/chkconfig ]; then chkconfig --add fcinit; fi
if [ -x /usr/sbin/update-rc.d ]; then update-rc.d fcinit defaults; fi
Adding system startup for /etc/init.d/fcinit ...
/etc/rc0.d/K20fcinit -> ../init.d/fcinit
/etc/rc1.d/K20fcinit -> ../init.d/fcinit
/etc/rc6.d/K20fcinit -> ../init.d/fcinit
/etc/rc2.d/S20fcinit -> ../init.d/fcinit
/etc/rc3.d/S20fcinit -> ../init.d/fcinit
/etc/rc4.d/S20fcinit -> ../init.d/fcinit
/etc/rc5.d/S20fcinit -> ../init.d/fcinit
======================== Installation successful ==========================
grep: /var/tmp/tmp.AIcAH04qnn/newfile: No such file or directory
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Kernel modules found. Calling depmod in the postinstall script
Building Debian package...OK
Installing Debian package...OK
Erasing temporary files...OK
Deleting temp dir...OK
**********************************************************************
Done. The new package has been installed and saved to
/home/mf/flashcam-1.4.4/flashcam_1.4.4-1_i386.deb
You can remove it from your system anytime using:
dpkg -r flashcam
**********************************************************************
mf@mf-desktop ~/flashcam-1.4.4 $ sudo flashcam -L
Scanning devices
------
------
No V4L2 capture devices found.
mf@mf-desktop ~/flashcam-1.4.4 $ sudo chmod o+rw /dev/video*
chmod: cannot access `/dev/video*': No such file or directory
mf@mf-desktop ~/flashcam-1.4.4 $ echo "PATH=/usr/local/flashcam/bin:$PATH" >> ~/.bashrc
mf@mf-desktop ~/flashcam-1.4.4 $ sudo ln -s /usr/local/bin/flashcamwrap gyachi
mf@mf-desktop ~/flashcam-1.4.4 $