Contents
CentOS 5
BertrandJuglas is trying on a Xen domU (guest virtual server) hosted by Gandi.net :
sudo yum groupinstall "Development Tools" sudo yum groupinstall "X Software Development" sudo yum groupinstall "GNOME Software Development" sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm sudo yum install git
CentOS 4
Should be similar to what's required for Fedora Core 3, and basically identical to what's needed in RHEL 4.
Build Requirements
In addition to the usual build tools (e.g. gcc):
yum -y install docbook-style-xsl docbook-utils docbook-utils-pdf yum -y install freetype-devel yum -y install xorg-x11-devel yum -y install libpng-devel libtiff-devel libjpeg-devel yum -y install cups-devel
Usual problems
gnome-panel or gnome-menus (can't remember which) dies on a "import libxml2" command in python code. Add
# libxml2, libxslt, and gamin are inconsistent with the rest of Gnome # about python. See # http://mail.gnome.org/archives/garnome-list/2005-July/msg00199.html # # WARNING: This will probably fail if you don't do a jhbuild bootstrap # first to make sure that jhbuild installs python-2.4 in the prefix # os.environ['PYTHON'] = os.path.join(prefix, 'bin/python') os.environ['PYTHONPATH'] = os.path.join(prefix, 'lib/python2.4/site-packages')
to your ~/.jhbuildrc, redo the libxml2 build ('jhbuild buildone -a libxml2'), and then pick up where you left off.