Custom browser build for Chromium OS misses package xi

After setting up the build environment for Chromium OS, I wanted to integrate the Chromium browser such that I can do changes to it as well. How this should work is explained here. However, there was a problem with the gclient sync command in the last part of the first step (gclient Checkout Build).

I use a 64 bit Ubuntu 11.10 as development system, as suggested, and create 32 bit versions of Chromium. This seems to be a problem here. When I executed gclient sync, this lead to the following error message:

Updating projects from gyp files...
Package xi was not found in the pkg-config search path.
Perhaps you should add the directory containing `xi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xi' found

The quest for xi

First I searched the chroot of my Chromium OS build environment for this xi.pc file. There was one in /usr/lib64/pkgconfig/, unfortunately. So I simply need a 32 bit version of it, but where to find it?

Querying the web for package xi and „xi.pc didn’t yield something useful. After a long while I somehow found out that I’m actually looking for libxi, the X11 Input extension library (note to self: in such cases, „lib“ as a prefix might be not so bad at all).
After installing libxi in the chroot through
sudo emerge x11-libs/libXi
gclient sync finally worked as desired.

Leave a comment

Your comment

(required)