Inicio > Gráficos, Resolución problemas, Ubuntu, Utilidades > Freewrl [a partir de Ubuntu 10.04]

Freewrl [a partir de Ubuntu 10.04]

Lunes, 6 de diciembre de 2010 Dejar un comentario Ir a comentarios

Edición: 12/09/2012

Las últimas versiones de FreeWRL son compatibles con la versión 1.9.2 de xulrunner, por lo que no hay que compilar la versión antigua. Bastará con instalar el paquete xulrunner-1.9.2-dev.

Esta entrada la tengo escrita desde hace bastante tiempo pero entre unas cosas y otras se me había olvidado publicarla xD. Resulta que a partir de la versión 10.04 de Ubuntu la instalación de freewrl se ha complicado un poco por la nueva versión de xulrunner incluida en la distribución. Freewrl no se encuentra aún en los repositorios de Ubuntu y por este motivo tienes que compilar el programa a partir de las fuentes. El problema es que el dichoso programa depende de la versión 1.9.1 de xulrunner cuando en Ubuntu ya solo mantienen en los repositorios la 1.9.2. En esta entrada os explico la solución que he encontrado para poder compilar correctamente el programa a partir de dicha versión de la distribución.

Pues bien, la solución no es muy compleja … tan solo consiste en bajarse la versión adecuada de xulrunner, compilarla, instalarla y hacer que freeWRL use dicha versión. Los pasos a seguir son los siguientes:

  1. Descargar la última versión de xulrunner 1.9.1.XX.
  2. Descomprimir los sources y meterse dentro del directorio.
  3. Instalar el paquete libasound2-dev (a mi no me ha hecho falta instalar ninguno más).
  4. Configurar el proyecto
    ./configure --enable-application=xulrunner --disable-javaxpcom --disable-crashreporter
  5. Compilar e instalar (make && sudo make install)
  6. Enlazar la librería libmozjs.so que suministra el paquete que acabamos de instalar para que lo encuentre FreeWRL
    sudo ln -s /usr/local/lib/xulrunner-1.9.1.7/libmozjs.so /usr/lib
  7. Compilar FreeWRL tal y como explico aquí.

Edition: 12/09/2012

Last FreeWRL versions are compatible with xulrunner-1.9.2, so we don’t need to compile the old version. We only need to install the package xulrunner-1.9.2-dev.

This post was written so many time ago but between one thing and another I forgot to publish it xD.Now It turns out that the installation of freewrl in versions of Ubuntu greater than 10.04 has become a bit more complicated as consequence of the new version of xulrunner included in the distribution. Freewrl isn’t included yet in the Ubuntu repositories and so you need to compile the program from source code. The problem is that the damn program depends of xulrunner 1.9.1 and Ubuntu only maintain in the repositories the new branch 1.9.2. In this post it’s explained the solution I’ve followed to compile correctly freewrl in Ubuntu 10.04.

The solution isn’t very complex … you only need to download the appropriate xulrunner version, compile and install it, and then to make that freewrl uses this xulrunner library. These are the steps to follow:

  1. Download the last version of xulrunner 1.9.1.XX.
  2. Uncompress the sources and go inside the directory.
  3. Install the package libasound2-dev.
  4. Configure the project.
    ./configure --enable-application=xulrunner --disable-javaxpcom --disable-crashreporter
  5. Compile and install (make && sudo make install)
  6. Link the installed library libmozjs.so so that freewrl be able to find it
    sudo ln -s /usr/local/lib/xulrunner-1.9.1.7/libmozjs.so /usr/lib
  7. Compile freewrl as it is explained here.
GD Star Rating
loading...
Freewrl [a partir de Ubuntu 10.04], 10.0 out of 10 based on 2 ratings
Share
  1. Sin comentarios aún.
  1. Sin trackbacks aún.