Contents
Fedora Dependencies
JHBuild is a tool designed to ease building collections of source packages, called “modules”. JHBuild uses “module set” files to describe the modules available to build. The “module set” files include dependency information that allows JHBuild to discover what modules need to be built and in what order.
Fedora may supply a package in more than one package group. Does Fedora supply package groups for modules?
Fedora 15
To get the basics for development and GNOME development (though some packages will be installed that are unneeded):
sudo yum install @development-tools sudo yum groupinstall 'GNOME Software Development'
Additionally you will have to install at least (this list is not complete, feel free to add according to your experience):
sudo yum install libcurl-devel perl-XML-Simple openssl-devel xcb-util-devel libtiff-devel pam-devel wireless-tools-devel libudev-devel gperf libacl-devel libusb-devel libuuid-devel ppp-devel cmake libicu-devel lcov valgrind-devel gdbm-devel udisks-devel libtool-ltdl-devel libvorbis-devel libdb-devel openldap-devel vala vala-devel perl-Parse-Yapp samba4-pidl gnome-doc-utils cups-devel folks-devel libXtst-devel gnome-bluetooth-libs-devel readline-devel mpfr-devel neon-devel libchamplain-gtk-devel
Fedora 14
This will get you the basics
sudo yum install @development-tools
GNOME Software Development somewhat supercontentious
The package group GNOME Software Development has more packages than needed and some packages unneeded, dependent per modules chosen to build. Possibly this group was formed during GNOME2 development.
Until Fedora experts group packages per jhbuild module, this command is a jumble
sudo yum groupinstall 'GNOME Software Development'
Module meta-gnome-core
sudo yum install python-devel libtiff-devel libjpeg-turbo-devel pam-devel gperf libacl-devel libcurl-devel openssl-devel libusb-devel libusb1-devel libudev-devel wireless-tools-devel libuuid-devel ppp-devel xcb-util-devel libXt-devel cmake libdb-devel gdbm-devel udisks-devel libtool-ltdl-devel libvorbis-devel perl-XML-Simple mesa-libGL-devel libXtst-devel libicu-devel libunistring-devel readline-devel mpfr-devel neon-devel libmx-devel
Fedora 13
Due to local pre-built necessary build tool compatibilities - it is suggested to use below, for latest versions of the build tools.
jhbuild bootstrap --ignore-system
Currently, guile-1.8.5 build fails. Bug 623798 - jhbuild - guile-1.8.5 module compilation fails
In the latest master git copy for pygtk\gtk\gtk-base.defs
GtkCalendar - set_month, mark_day, unmark_day return types. gtk-base.defs defines with return type book, whereas GTK documentation for respective API - returns void
As a result - build fails, am new to the Gnome and Linux. A mail is sent to the pygtk mailing list group to help sort this issue. Not sure, how to proceed and modified the local copy.
Bug 623333 - pygtk build failure with gtk bindings
Fedora 9
You will likely need everything listed below for Fedora 7, plus
yum install intltool guile-lib guile-gnome-platform-devel libtool-ltdl-devel wireless-tools-devel libnl-devel ppp-devel
Fedora 7
This assumes a default installation of Fedora 7. If you have installed other packages you will likely only need a subset of the packages listed here.
yum -y update
yum groupinstall "Development Tools"
yum groupinstall "X Software Development"
yum install perl-XML-Parser docbook-style-xsl git-core freetype-devel lynx expat-devel gdbm-devel bzip2-devel gamin-devel audiofile-devel jasper-devel perl-XML-Simple cups-devel libexif-devel ncurses-devel libXi-devel openldap-devel krb5-devel openssl-devel docbook-dtds gettext-devel xklavier-devel
"Development Tools" is 56 packages and 66MB,
"X Software Development" is 55 packages and 11MB
The remaining packages will add up to about 19.7MB w/ their dependencies
The following will have to be added to your ~/.jhbuildrc file:
addpath('PKG_CONFIG_PATH', os.path.join(os.sep, 'usr', 'lib', 'pkgconfig'))After installing the packages listed above run these commands
jhbuild build
Note: At some point after building mozilla and before building epiphany:
- $ chcon -t texrel_shlib_t /opt/gnome2/lib/xulrunner-1.8.1/libxul.so
The 'libexchange-storage' package is probably going to fail due to issues with evolution-data-server not linking against OpenLDAP correctly.
Fedora Core 4
This assumes a default 'Personal Desktop' installation of Fedora Core 4. If you performed a 'Workstation' installation or a 'Custom' installation and chose any developer tools, you will likely only need a subset of the packages that the following commands will install.
yum -y update
yum groupinstall "Development Tools"
yum groupinstall "X Software Development"
yum install docbook-style-xsl gettext-devel cups-devel libexif-devel docbook-utils docbook-utils-pdf pwlib-devel openh323-devel
"Development Tools" is 96 packages and 106MB,
"X Software Development" is 24 packages and 14MB
The remaining packages will add up to about 10MB w/ their dependencies
In order to get pkg-config-0.19 which is needed by some of the modules in Gnome 2.14 you will have to run
jhbuild bootstrap
After installing all of the packages listed above, you should be able to run 'jhbuild build' and end up with a complete gnome system. Happy compiling!
If you have problems building evolution-data-server, you might need this patch:
--- evolution-data-server-1.3.5/configure.in.nspr_fix 2005-07-25 18:40:33.000000000 -0400
+++ evolution-data-server-1.3.5/configure.in 2005-07-25 18:40:39.000000000 -0400
@@ -341,7 +341,7 @@
AC_DEFINE(ENABLE_SMIME,1,[Define if SMIME should be enabled])
msg_smime="yes (Mozilla NSS)"
fi
- mozilla_nspr="mozilla-nspr"
+ mozilla_nspr="nspr"
mozilla_nss="mozilla-nss"
AC_DEFINE(HAVE_NSS,1,[Define if you have NSS])