nulleando.com.ar

Un blog hecho para apuntar a null un rato


Instalando firefox 3 en debian etch

Junio 18th, 2008 by uol

Al instalar el Firefox 3 en debian etch obtenemos este cartel:

We're sorry, this application requires a version of the GTK+
library that is not installed on your computer.
You have GTK+ 2.8.
This application requires GTK+ 2.10 or newer.
Please upgrade your GTK+ library if you wish to use this application.

Entonces lo que hay que hacer es descargar la libreria directo de la pagina de gtk.org


cd /opt
sudo wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.10/gtk+-2.10.0.tar.bz2

y luego instalamos


sudo tar xjvf gtk+-2.10.0.tar.bz2
sudo mkdir gtk210
cd gtk+-2.10.0
./configure --prefix=/opt/gtk210
sudo make
sudo make install

Si falla instalar todos los paquetes de desarrollo que suelen faltar con apt-get install
y despues creamos nuestro acceso directo para que firefox funcione con la libreria correctamente


vim firefox.sh
#!/bin/sh
export LD_LIBRARY_PATH="/opt/gtk210/lib"
/path-to-firefox-3/firefox $*

y listo.

Fuente

Posted in Linux, problemas, web

4 Responses

  1. Jesus

    Buenas tengo un problema instalando el gtk, cuando hago el ./configure me da el siguiente error:

    .
    .
    .
    checking whether make sets $(MAKE)… (cached) yes
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    checking for BASE_DEPENDENCIES… configure: error: Package requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) were not met:

    No package ‘glib-2.0′ found
    No package ‘atk’ found
    No package ‘pango’ found
    No package ‘cairo’ found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
    and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

    ——————————————

    Obviamente me faltan unos paquetes, pero no los consigo:( alguien me puede ayudar?? Gracias

  2. uol

    “Si falla instalar todos los paquetes de desarrollo que suelen faltar con apt-get install”

    Tenés que instalar todo los paquetes que te nombra ahí para poder terminar la configuración

    No package ‘glib-2.0′ found
    No package ‘atk’ found
    No package ‘pango’ found
    No package ‘cairo’ found

    generalmente se hace por ejemplo con:

    sudo apt-get install libpango-dev

    y asi con cada librería, no me acuerdo los nombres exactamente pero los podés consultar haciendo tab o con el comando

    sudo apt-cache search “pango”

    o el paquete que te está faltando.

    Saludos

  3. DiCrEn

    jo, yo e hecho todo eso y no arranca, sigue lanzando el mismo error, segui otros manuales (muy similares a este) y no va :(

  4. uoL

    Si lo que te tira es el primer error que mencioné en el post

    Tendrías que chequear que estan los archivos de la nueva librería instalada y verificar que el path sea el correcto e indicarlo en los comandos:

    ./configure –prefix=/opt/gtk210

    y luego en:

    export LD_LIBRARY_PATH=”/opt/gtk210/lib”

    si no encuentra nada en estos path no va a reconocer la librería como instalada.

    Espero te sirva para por lo menos descartar una posibilidad.

    Saludos.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.