Freewrl [a partir de Ubuntu 10.04]
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:
- Descargar la última versión de xulrunner 1.9.1.XX.
- Descomprimir los sources y meterse dentro del directorio.
- Instalar el paquete libasound2-dev (a mi no me ha hecho falta instalar ninguno más).
- Configurar el proyecto
./configure --enable-application=xulrunner --disable-javaxpcom --disable-crashreporter
- Compilar e instalar (make && sudo make install)
- 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
- 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:
- Download the last version of xulrunner 1.9.1.XX.
- Uncompress the sources and go inside the directory.
- Install the package libasound2-dev.
- Configure the project.
./configure --enable-application=xulrunner --disable-javaxpcom --disable-crashreporter
- Compile and install (make && sudo make install)
- 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
- Compile freewrl as it is explained here.
loading...




Últimos comentarios