SmartCam. No hay manera desde fuentes

Conversaciones generales alrededor Sabayon Linux

Moderator: Moderators

SmartCam. No hay manera desde fuentes

Postby hypatia » Wed Mar 28, 2012 14:39

Hola:
Espero que algún alma caritativa se apiade de mi. No dejo de aprender y no dejo de meterme en líos.
Pero, ... me gusta Sabayon, que le vamos hacer. Tengo Sabayon 8.
Bien, el programa de marras (SmartCam) se instala en el móvil a través de Android Market. Tras eso, hay que instalarlo también en el PC. El programa te permite utilizar el móvil como una cámara de vídeo y audio para utilizar en el PC.
Puedes usarla para messenger u cualquier otro (a mi me gusta Pidgin que está bien sincronizado con Empaty y con Google).

En mi móvil corre perfectamente. Como para descargar desde su web el software necesario para el PC está en .deb, tienes la alternativa de las fuentes. He aquí lo que me responde el terminal:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.40.0... 0.50.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.4
checking for XML::Parser... ok
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pkg-config... no
checking for GLIB... configure: error: Cannot find glib-2.0 or later
./configure: line 4856: exit: please: numeric argument required
./configure: line 4856: exit: please: numeric argument required


Me fui a Entropy e install glib2 que me pedía primero y también instaló glib-2.30
directamente.

En su archivo "ReadMe" reza:

1. Installation/compilation on PC

Install the .deb file; to install from source: ./configure make & make install

To compile and install the driver: download the src package from sorceforge and
from the driver_src directory type:

make -C /lib/modules/`uname -r`/build M=`pwd`

After successfully compiling the driver you should have the file smartcam.ko.

2 Installation on phone

Just transfer any of the files from /usr/share/smartcam/phone_installs (SmartCamS602ndEd_v1_4.sis or SmartCamS603rdEd_v1_4.sis)
that match your phone on your mobile and follow the installation instructions.

3. Running

Before running smartcam, the driver must be loaded in the kernel; if not the PC application is
pretty much useless. To load the driver, open a shell as root in src/driver path and type:

/sbin/modprobe videodev
/sbin/insmod smartcam.ko

After this start the application on the PC, start the phone application and connect it to your PC.
You should now see video images on the PC application window.

4. 3rd party applications

SmartCam was tested on Ubuntu 9.04, kernel version 2.6.28-11-generic
SmartCam works with Skype, Ekiga, aMsn and gstreamer (launch gstreamer-properties, go to the video
tab, Default Input, and press Test to see if it is supported by gstreamer). Unfortunately it doesn't
work anymore with Kopete.

Enjoy :)


Viene también un paquete .deb (ya instalé dpkg, pero nada de nada). Alguien me puede ayudar??
Su web: http://smartcam.sourceforge.net/
Gracias
hypatia
Simple Hen
 
Posts: 46
Joined: Tue Jun 14, 2011 21:04

Re: SmartCam. No hay manera desde fuentes

Postby Fitzcarraldo » Wed Mar 28, 2012 16:36

Es mejor usar el gestor de paquetes Portage para Gentoo/Sabayon Linux. Intenta con los dos ebuilds para Portage en un 'overlay' local: ve Gentoo Bugzilla Bug Report No. 306383 - Add ebuild for SmartCam.

(En primer lugar consulte NOTA 1 si tú nunca has utilizado Portage con Sabayon Linux antes.)

smartcam-1.4.0.ebuild
wget https://306383.bugs.gentoo.org/attachment.cgi?id=265889

smartcam-driver-1.4.0-r1.ebuild
wget https://306383.bugs.gentoo.org/attachment.cgi?id=265887

smartcam-driver.patch
wget https://306383.bugs.gentoo.org/attachment.cgi?id=258323

Code: Select all
# mkdir -p /usr/local/portage/media-video/smartcam
# mkdir -p /usr/local/portage/video-video/smartcam-driver/files
# cd /usr/local/portage/video-video/smartcam-driver
# cp /home/fitzcarraldo/Desktop/smartcam-driver-1.4.0-r1.ebuild .
# cp /home/fitzcarraldo/Desktop/smartcam-driver.patch ./files/smartcam-driver-2.6.34.patch
# ebuild smartcam-driver-1.4.0-r1.ebuild manifest
# cd /usr/local/portage/net-print/smartcam
# cp /home/fitzcarraldo/Desktop/smartcam-1.4.0.ebuild .
# ebuild smartcam-1.4.0.ebuild manifest
# emerge -1v smartcam-driver smartcam
# etc-update # En caso de que haya algunos archivos de configuración para actualizar. Introduzca -3 y responder afirmativamente a todas.
# equo rescue spmsync
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7329
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: SmartCam. No hay manera desde fuentes

Postby hypatia » Wed Mar 28, 2012 21:14

Muchas gracias.
Empiezo mañana por razones que no voy a contar y te cuento todo el resultado.
Espero que todo salga bien y pueda ayudar a otros/as.

:D Agradecida:

Hyaptia
hypatia
Simple Hen
 
Posts: 46
Joined: Tue Jun 14, 2011 21:04


Return to Spanish

Who is online

Users browsing this forum: No registered users and 1 guest