ACERCA DE · CONTACTO · RSS · ·

despuesdegoogle

internet y pos(t)modernidad


Atención: Este blog ya no se actualiza. Desde el 22 de agosto de 2011 se ha integrado en el nuevo blog tiempos pos(t)modernos, que te invitamos a visitar



Moonlight en Ubuntu Feisty

leave a comment

Necesitas Mono 1.2.4 además del código fuente de ffmepg, Olive y Moonlight para poder compilarlos. Requisitos previos: Alsa y las librerías de desarrollo de GTK+ 2.0 y de cairo 1.4.xx

No existe paquete oficial para Ubuntu de Mono 1.2.4. Solución: bajarlo desde Viraptor.
Añade su repositorio
deb http://www.viraptor.info/repo feisty-custombackports contrib
a tu sources.list.
Actualiza la base de datos:
$ sudo apt-get update
y el sistema:
$ sudo apt-get upgrade.
Si no ejecutas este comando, verás que apenas has actualizado tu sources.list, Gnome te avisa gráficamente que hay paquetes por actualizar. De una u otra forma debes hacerlo ahora. Si no, la versión de Mono así como algunos paquetes no serán válidos.
Actualizada la paquetería (quizás con el aviso de que en algún caso no se ha completado, un simple mensaje informativo del estado de la actualización que no nos afecta), instala Mono:
$ sudo apt-get install mono

Para descargar los próximos programas mediante SVN necesitas el programa subversion. Instálalo si no lo tienes:
$ sudo apt-get install subversion

Descarga ffmpeg:
$svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Tendrás ahora una carpeta ffmpeg en el directorio desde donde has tecleado la orden de descarga (típicamente, tu directorio personal).
Entra en la carpeta, configura, compila e instala:
$ cd ffmpeg
$ ./configure --prefix=/usr/local
$ make
$ sudo make install

Instala los siguientes paquetes de desarrollo:
$ sudo apt-get install libnspr-dev libnss-dev firefox-dev

Instala Olive.
Primero regresa a tu carpeta de trabajo:
$ cd ..
Y descarga Olive:
$ svn co svn://anonsvn.mono-project.com/source/trunk/olive olive
Configura, compila e instala:
$ cd olive
$ make
$ sudo make install

Ahora toca descargar Moonlight. Regresa a tu carpeta:
$ cd ..
y descarga:
$ svn co svn://anonsvn.mono-project.com/source/trunk/moon moon
Entra en la nueva carpeta moon:
$ cd moon
Configura, compila e instala. En este caso no existe el archivo configure sino autogen.sh:
$ ./autogen.sh --prefix=/usr
Si te aparece un error del tipo
$ (…) If `AC_PROG_LIBTOOL' is in `configure.ac', make sure its definition is in aclocal's search path. (…)
seguramente te faltan las libtool. Instala el paquete:
$ sudo apt-get install libtool
Es probable que el proceso se detenga porque falta algún paquete de desarrollo (de Cairo y de GTK+ 2.0). Fíjate en el mensaje, ya que te aclara cuál es, y lo instalas. Por ejemplo, en mi caso no tenía libcairo-dev ni libgtk2.0-dev.
Si finalmente se ha creado el makefile, ya puedes compilar e instalar:
$ make
$ sudo make install

Y no puedo decirte más, porque en este punto -la creación del makefile- me estanco: el proceso de configuracion es incapaz de detectar alsa ni mono.
Efectivamente, no encuentro los archivos alsa.pc y mono.pc (pkgconfig necesita la ruta de ambos)
¿Dónde están?
Eso quisiera yo saber :-(

Fuentes:
Johan Hernández (thepumpkin 1979)
Sitio oficial de Mono- Moonlight

Written by emiligene

julio 27th, 2007 at 1:55 am

Posted in despuesdeG

No Responses to 'Moonlight en Ubuntu Feisty'

Subscribe to comments with RSS or TrackBack to 'Moonlight en Ubuntu Feisty'.

  1. Hola Emili,

    Si están, deberías encontrar esos archivos si como root lanzas los siguientes comandos:

    find / -iname alsa.pc
    find / -iname mono.pc

    Tardarán un rato en ejecutarse, no te preocupes. Básicamente lo que hacen estos es comandos es buscar en toda tu partición raiz (“/”), todos los archivos con el nombre (parámetro “name”) y que por si acaso no tenga en cuenta mayúsculas y minúsculas (parámetro “i”). Lo de lanzarlo como root es para que tengas permisos para buscar en todos los directorios.

    Otra opción, aunque menos fiable, sería utilizar el comando “locate alsa.pc”.

    quetzal

    27 jul 07 at 7:51

  2. Ya los había buscado con el comando find, pero ni rastro :-( No tengo ni idea de por qué no existen en mi sistema, si tengo instalado todo ALSA y todo Mono.
    Un saludo mallorquín

    emiligene

    27 jul 07 at 15:25

  3. alsa.pc: libasound2-dev
    mono.pc: libmono-dev

    sudo apt-get install libasound2-dev libmono-dev

    Saulo

    2 ago 07 at 3:41

  4. saludos, tengo que instalar silverlight para una expo de la Universidad pero me niego a usar windows jejeje y me encontre con tu post para instalar moonlight pero tratando de condigurar OLiVE me tira el siguiente error:

    make[5]: *** [common/Consts.cs] Error 1

    me pueden ayudar a saber que es ?

    Gracias!!
    P.D. que buen post

    Mike...

    23 ago 07 at 18:12

  5. Lo siento, pero después de buscar por Internet alguna pista no sé a qué pueda deberse este error. Yo no tuve ningún problema a la hora de compilar e instalar Olive por CVS.
    ¿Puede que te haga falta algún paquete?
    Lee los dos enlaces que he puesto a ver si te ayudan
    Mira también la salida de make, a ver si te aclara algo

    emiligene

    25 ago 07 at 18:38

  6. tengo un problema y es el siguiente llego hasta la parte de:
    cd moon
    $ ./autogen.sh –prefix=/usr #hasta aqui todo bien
    pero ya cuando doy make me sale esto:

    make all-recursive
    make[1]: se ingresa al directorio `/home/lab69/moon’
    Making all in src
    make[2]: se ingresa al directorio `/home/lab69/moon/src’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/home/lab69/moon/src’
    Making all in gtk
    make[2]: se ingresa al directorio `/home/lab69/moon/gtk’
    gmcs -debug -doc:gtksilver.xml -out:gtksilver.dll -target:library ./gtk.cs ./ManagedDownloader.cs ./Assembly.cs -keyfile:./gtksilver.snk -pkg:gtk-sharp-2.0 -pkg:silverdesktop
    /bin/bash: gmcs: orden no encontrada
    make[2]: *** [gtksilver.dll] Error 127
    make[2]: se sale del directorio `/home/lab69/moon/gtk’
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/home/lab69/moon’
    make: *** [all] Error 2

    y es ahy donde me quedo, ojala y me puedan ayudar……

    ivan

    16 sep 07 at 2:15

  7. ¿Tienes instalado mono-gmcs?

    emiligene

    16 sep 07 at 11:41

  8. si lo tengo….. instalado….

    ivan

    16 sep 07 at 22:48

  9. aunque lo acabo de instalar una ves que vi tu pregunta,.. pero la salida sigue siendo la misma

    ivan

    16 sep 07 at 22:54

  10. la salida es esta

    make all-recursive
    make[1]: se ingresa al directorio `/home/lab69/moon’
    Making all in src
    make[2]: se ingresa al directorio `/home/lab69/moon/src’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/home/lab69/moon/src’
    Making all in gtk
    make[2]: se ingresa al directorio `/home/lab69/moon/gtk’
    gmcs -debug -doc:gtksilver.xml -out:gtksilver.dll -target:library ./gtk.cs ./ManagedDownloader.cs ./Assembly.cs -keyfile:./gtksilver.snk -pkg:gtk-sharp-2.0 -pkg:silverdesktop
    Package silverdesktop was not found in the pkg-config search path.
    Perhaps you should add the directory containing `silverdesktop.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘silverdesktop’ found
    error CS8027: Error running pkg-config. Check the above output.
    make[2]: *** [gtksilver.dll] Error 1
    make[2]: se sale del directorio `/home/lab69/moon/gtk’
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/home/lab69/moon’
    make: *** [all] Error 2
    cual es el paquete silverdesktop…?

    ivan

    17 sep 07 at 0:06

  11. Lo siento, no puedo ayudarte: desconozco el sentido de los mensajes de esta salida.
    A ver si algún usuario de más nivel tiene alguna idea.
    De todas formas y por lo que sé, la implementación de Moonlight es una tarea compleja y sobresaltos como el que cuentas son relativamente frecuentes :-(

    emiligene

    17 sep 07 at 19:46

  12. que hay saludos me marka dos errores que no se que onda me quede en la instalacion del moon en el ./autogen.sh –prefix=/usr me marka los siguientes errores

    apolo@apolo-laptop:~/moon$ ./autogen.sh –prefix=/usr

    **Error**: You must have `autoconf’ installed to compile Mono.
    Download the appropriate package for your distribution,
    or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

    **Error**: You must have `automake’ installed to compile Mono.
    Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz
    (or a newer version if it is available)

    que crees que sea…..

    Apolo

    5 dic 07 at 19:25

  13. Parece claro: no tienes instalado autoconf ni automake. Tienes que instalarlos

    emiligene

    5 dic 07 at 21:01

  14. ya los instale gracias y me dice que falta el gtk+ 2.0 y gtk+ y aparece todo este chorote como los encuentro y abusque en el sinanptic y no estan

    apolo@apolo-laptop:~/moon$ ./autogen.sh –prefix=/usr
    Running libtoolize…
    You should add the contents of `/usr/share/aclocal/libtool.m4′ to `aclocal.m4′.
    Running aclocal …
    Running autoheader…
    Running automake –gnu …
    configure.ac:5: installing `./missing’
    configure.ac:5: installing `./install-sh’
    plugin/Makefile.am: installing `./depcomp’
    Running autoconf …
    Running pixman/autogen.sh …
    autoreconf: Entering directory `.’
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize –copy
    autoreconf: running: /usr/bin/autoconf
    autoreconf: running: /usr/bin/autoheader
    autoreconf: running: automake –add-missing –copy –no-force
    autoreconf: Leaving directory `.’
    Done running pixman/autogen.sh …
    Running cairo/autogen.sh …

    using autoconf for autoconf

    checking for automake >= 1.7…

    testing automake…
    found 1.10

    using libtoolize for libtool

    ./autogen.sh: running `libtoolize –copy –force’
    You should add the contents of `/usr/share/aclocal/libtool.m4′ to `aclocal.m4′.
    ./autogen.sh: running `aclocal’
    ./autogen.sh: running `autoheader’
    ./autogen.sh: running `automake –add-missing –foreign’
    ./autogen.sh: running `autoconf’
    Done running cairo/autogen.sh …
    Running ./configure –enable-maintainer-mode –enable-compile-warnings –prefix=/usr …
    checking build system type… i686-pc-linux-gnu
    checking host system type… i686-pc-linux-gnu
    checking target system type… i686-pc-linux-gnu
    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… no
    checking for mawk… mawk
    checking whether make sets $(MAKE)… yes
    checking whether to enable maintainer-specific portions of Makefiles… yes
    checking for g++… g++
    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 g++ accepts -g… yes
    checking for style of include used by make… GNU
    checking dependency style of g++… gcc3
    checking for gcc… gcc
    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 how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking for ANSI C header files… yes
    checking for a sed that does not truncate output… /bin/sed
    checking for ld used by gcc… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking for /usr/bin/ld option to reload object files… -r
    checking for BSD-compatible nm… /usr/bin/nm -B
    checking whether ln -s works… yes
    checking how to recognise dependent libraries… pass_all
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking dlfcn.h usability… yes
    checking dlfcn.h presence… yes
    checking for dlfcn.h… yes
    checking how to run the C++ preprocessor… g++ -E
    checking for g77… no
    checking for xlf… no
    checking for f77… no
    checking for frt… no
    checking for pgf77… no
    checking for cf77… no
    checking for fort77… no
    checking for fl32… no
    checking for af77… no
    checking for xlf90… no
    checking for f90… no
    checking for pgf90… no
    checking for pghpf… no
    checking for epcf90… no
    checking for gfortran… no
    checking for g95… no
    checking for xlf95… no
    checking for f95… no
    checking for fort… no
    checking for ifort… no
    checking for ifc… no
    checking for efc… no
    checking for pgf95… no
    checking for lf95… no
    checking for ftn… no
    checking whether we are using the GNU Fortran 77 compiler… no
    checking whether accepts -g… no
    checking the maximum length of command line arguments… 32768
    checking command to parse /usr/bin/nm -B output from gcc object… ok
    checking for objdir… .libs
    checking for ar… ar
    checking for ranlib… ranlib
    checking for strip… strip
    checking if gcc supports -fno-rtti -fno-exceptions… no
    checking for gcc option to produce PIC… -fPIC
    checking if gcc PIC flag -fPIC works… yes
    checking if gcc static flag -static works… yes
    checking if gcc supports -c -o file.o… yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes
    checking whether -lc should be explicitly linked in… no
    checking dynamic linker characteristics… cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs… immediate
    checking whether stripping libraries is possible… yes
    checking if libtool supports shared libraries… yes
    checking whether to build shared libraries… yes
    checking whether to build static libraries… no
    configure: creating libtool
    appending configuration tag “CXX” to libtool
    checking for ld used by g++… /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking for g++ option to produce PIC… -fPIC
    checking if g++ PIC flag -fPIC works… yes
    checking if g++ static flag -static works… yes
    checking if g++ supports -c -o file.o… yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
    checking dynamic linker characteristics… cat: /etc/ld.so.conf.d/*.conf: No such file or directory
    GNU/Linux ld.so
    checking how to hardcode library paths into programs… immediate
    appending configuration tag “F77″ to libtool
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking for special C compiler options needed for large files… no
    checking for _FILE_OFFSET_BITS value needed for large files… 64
    checking for _LARGEFILE64_SOURCE value needed for large files… yes
    checking Gtk+ 2.0… Gtk+ 2.0 development kit is missing

    Apolo

    5 dic 07 at 22:01

  15. ya le vi perdon es que por la prisa no leo toda gracias

    Apolo

    5 dic 07 at 22:03

  16. tengo el mismo problema pero compilando el muse e estado googlendo ya varias horas y e estado viendo muchos foros nadie sabe de esto :( joo ayudaaaaa porfavor no se que pasa, me da el mismo error en gutsy, y antes tenia feisty y me dava lo mismo despues del make, y el make check me tira esto

    mks@mks-capsula:~/programas/MuSE-0.9.2$ make check
    Making check in po
    make[1]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/po’
    make[1]: *** No hay ninguna regla para construir el objetivo `check’. Alto.
    make[1]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/po’
    make: *** [check-recursive] Error 1
    mks@mks-capsula:~/programas/MuSE-0.9.2$ make
    make all-recursive
    make[1]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2′
    Making all in po
    make[2]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/po’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/po’
    Making all in intl
    make[2]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/intl’
    make[2]: No se hace nada para `all’.
    make[2]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/intl’
    Making all in src
    make[2]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src’
    Making all in resample
    make[3]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src/resample’
    make[3]: No se hace nada para `all’.
    make[3]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src/resample’
    Making all in shout
    make[3]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src/shout’
    make[3]: No se hace nada para `all’.
    make[3]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src/shout’
    Making all in libmpeg
    make[3]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src/libmpeg’
    make[3]: No se hace nada para `all’.
    make[3]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src/libmpeg’
    Making all in portaudio
    make[3]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src/portaudio’
    make[3]: No se hace nada para `all’.
    make[3]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src/portaudio’
    make[3]: se ingresa al directorio `/home/mks/programas/MuSE-0.9.2/src’
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Ishout -Iportaudio -I/sw/include -I/usr/X11R6/include -I/usr/local/include -pipe -D_REENTRANT -O2 -mmmx -fomit-frame-pointer -ffast-math -MT muse.o -MD -MP -MF “.deps/muse.Tpo” -c -o muse.o muse.cpp; \
    then mv -f “.deps/muse.Tpo” “.deps/muse.Po”; else rm -f “.deps/muse.Tpo”; exit 1; fi
    ./linklist.h:47: error: calificación extra ‘Linklist::’ en el miembro ‘selected’
    make[3]: *** [muse.o] Error 1
    make[3]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src’
    make[2]: *** [all-recursive] Error 1
    make[2]: se sale del directorio `/home/mks/programas/MuSE-0.9.2/src’
    make[1]: *** [all-recursive] Error 1
    make[1]: se sale del directorio `/home/mks/programas/MuSE-0.9.2′
    make: *** [all] Error 2

    ni idea si me pudieran ayudar mil gracias salu2

    Koloso

    9 dic 07 at 18:29

  17. I want to make olive but i get this message:

    Compilation succeeded – 2 warning(s)
    sn -q -R System.Workflow.Runtime.dll ../../class/mono.snk
    make[5]: sn: Command not found
    make[5]: *** [../../class/lib/net_3_0/System.Workflow.Runtime.dll] Error 127
    make[5]: Leaving directory `/usr/local/src/olive/class/System.Workflow.Runtime’
    make[4]: *** [do-all] Error 2
    make[4]: Leaving directory `/usr/local/src/olive/class/System.Workflow.Runtime’
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/usr/local/src/olive/class’
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/olive’
    make[1]: *** [profile-do--net_3_0--all] Error 2
    make[1]: Leaving directory `/usr/local/src/olive’
    make: *** [profiles-do--all] Error 2

    What i need to install?

    moltes

    10 ene 08 at 12:49

  18. Argh. I installed mono-mcs package and now works fine!

    moltes

    10 ene 08 at 13:01

  19. If you’re getting:

    make[ ]: sn: Command not found

    under Debian Lenny/Sid, do this:

    $ apt-get install mono-1.0-devel

    ivucica

    23 feb 09 at 10:33

Leave a Reply