A Django site.
August 25, 2008

Cesar Villegas
slayer
» Migrando de Firefox2 a Firefox3 en Gentoo de 64bits

Un amigo que se instalo recientemente Gentoo me comentó que tenía muchos problemas para usar el firefox en su sistema de 64 bits (como el mío), el problema radica en la falta de plugins de 64 bits, asi que si no quieres sufrir mucho dolor lo mas sano es instalar la versión de 32 bits de Mozilla Firefox con el comando
# emerge mozilla-firefox-bin

Hasta allí todo perfecto, pero recuerdo que el problema que me reportó esta vez yo también lo sufrí cuando traté de migrar de firefox2 al novísimo firefox3, luego de hacer el emerge todo se compilaba sin problema, no daba ningún error; pero terminada la instalación si intentabas ejecutar firefox obtenias este mensaje:
(firefox-bin:28841): Pango-WARNING **: No builtin or dynamically
loaded modules were found. Pango will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/pango.modules'
You should create this file by running pango-querymodules.
(firefox-bin:28841): Pango-WARNING **: pango_shape called with bad font, expect ugly output
(firefox-bin:28841): Pango-WARNING **: pango_font_get_glyph_extents called with bad font, expect ugly output
(firefox-bin:28841): Pango-WARNING **: pango_shape called with bad shape_engine, expect ugly output
(firefox-bin:28841): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(firefox-bin:28841): Pango-CRITICAL **: pango_font_describe: assertion `font != NULL' failed
/opt/firefox/crashreporter: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Haciendo caso al mensaje ejecutas:
# pango-querymodules
Pero el problema no se soluciona, probé haciendo un emerge a pango y tampoco es la solución. Al final todo indicaba que el problema esta en libgconf que no podía ser encontrada, asi que lo tienes que hacer es verificar que esta librería exista en tu directorio /lib32/

Si no existe tienes 2 opciones:
- Copiarla de cualquier sistema linux de 32 bits
- Instalarte un set básico de librerías para sistemas de 32 bits que ya vienen precompiladas, esta es por mucho tu mejor opción, para ser feliz solo ejecuta:
# emerge emul-linux-x86-gtklibs
y cuando termine ejecutas:
# ldconfig

Y eso es todo, el mundo fué salvado una vez mas :)

July 8, 2008

Cesar Villegas
slayer
» Gentoo 2008.0 released!

Gentoo es mi distribución favorita y acaba de publicarse la última versión denominada Gentoo 2008.0

Entre las novedades podemos encontrar:
* Updated installer: The installer now only performs networkless installations using the packages and ebuild tree on the LiveCD. It also contains numerous fixes for extended and logical partitions.
* Improved hardware support: Moving to the 2.6.24 kernel added many new drivers for hardware released since the 2007.0 release.
* Complete rework of profiles: Restructuring profiles allowed significant cleanup of redundancies, reducing developer maintenance and confusion. The difference for you is that profiles now appear in /usr/portage/profiles/ under default/linux/ instead of default-linux/. See the upgrading guide for more details.
* Xfce instead of GNOME on the LiveCD: To save space, the LiveCDs switched to the smaller Xfce environment. This means that a binary installation using the LiveCD will install Xfce, but you’re still free to build GNOME or KDE from source.
* No LiveDVDs on x86 or amd64: In the interest of getting the release out, the release engineering team decided to postpone LiveDVDs because of problems in their generation. They may show up later—if so, we’ll let you know.
* Updated packages: Highlights of the 2008.0 release include Portage 2.1.4.4, a 2.6.24 kernel, Xfce 4.4.2, gcc 4.1.2 and glibc 2.6.1.

Nuevo instalador, nuevo kernel, XFCE para el LiveCD, cambio en los profiles, suena bien, esta noche lo dejo upgradeando :-D

January 14, 2008
» XFS Filesystem performance tweaking on Linux

Some years ago I found this old but still usefull guide for xfs performance tweaking on linux:

Filesystem performance tweaking with XFS on Linux

which is, esencially, a two-steps simple procedure:
(more...)

December 3, 2007
» Gentoo libexpat.so error simple fix

While upgrading an old gentoo box I encountered this error:

xgettext: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

I tried fixing it with revdep-rebuild tool but it failed too. Through some research I found this is a common error consequence of a broken update process (nothing is perfect in this life) due to a circular dependency.

But you don't have to worry, there is a simple way to fix this:
(more...)

November 23, 2007
» XFS Filesystem tweaking - for better performance (tm)- on Linux

Some years ago I found this old but still usefull guide for xfs performance tweaking on linux:

Filesystem performance tweaking with XFS on Linux

which is, esencially, a two-steps simple procedure:

  1. Create xfs filesystem with a 64 megabyte log
    # mkfs.xfs -f -l size=64m /dev/hda3
  2. Mount filesystem with 8 log buffers, and atime and diratime disabled
    # mount -o noatime,nodiratime,logbufs=8 /dev/hda3 /mnt/gentoo/

These simple tweaks do help! specially on large RAID partitions.

- Corrections, comments, and suggestions are always welcome -

-=kp=-

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

November 22, 2007
» qc-usb-messenger with Logitech Quickcam Messenger on Gentoo Linux Howto

In this post I will explain you how I got my Logitech Quickcam Messenger webcam working with Gentoo Linux using qc-usb-messenger drivers (module will be called quickcam).

Webcam information:

Manufacturer: Logitech
Part Number: 861144-0000
Model: Logicool V-UM27 Quickcam USB

# lsusb information:
ID 046d:08f0 Logitech, Inc. QuickCam Messenger

First of all we will prepare our kernel so our driver compiles neatly. I am currently using kernel 2.6.23-gentoo-r2.
(more...)

November 20, 2007
» Cherokee + php + Zoneminder on Gentoo Linux Howto

In this How-to I will explain how to install and configure:

  • Cherokee Web Server

  • Zoneminder video camera security and surveillance solution

  • ffmpeg support with mpeg-4 codec (xvid)

  • php and other relevant packages

I have divided this guide in 2 parts: Cherokee + php and Zoneminder installation.

 

So, let's begin!

(more...)