Frysk logo Home  |  Use Cases  |  Work Flows  |  FAQ  |  Get Involved  |  Bugzilla  |  Build  |  Blog  |  Documentation
triangle
 

Build and Test frysk on RHEL

This page provides guidelines for building frysk on older RHEL systems.

RHEL 5

You will need to install the following:

sudo yum install -y \
    antlr jdom junit gcc-java gcc-c++ \
    libglade-java-devel libvte-java-devel \
    automake xmlto transfig eclipse-ecj dogtail \
    sharutils git audit-libs-devel binutils-devel \
    yelp libtool make

For additional updates, check the RHEL 5 tracker bug.

Red Hat Enterprise Linux 4

Red Hat Enterprise Linux 4 Update 3 and later include gcc4 and frysk RPMs that contain everything needed to build frysk from Git; just install RPMs for the following:

up2date make transfig \
    gcc4 gcc4-c++ gcc4-java libgcj4-devel \
    autoconf automake \
    xmlto prelink sharutils audit-libs-devel gawk \
    frysk pkgconfig ghostscript yelp

in addition, the following rpms can be obtained from the EPEL repository:

git-core

To configure frysk on a 32-bit system use:

$ ( mkdir build && cd build && ../frysk/autogen.sh \
     PKG_CONFIG_PATH=/usr/lib/frysk/pkgconfig:/usr/lib/pkgconfig \
     GLADE_DTD_FILE=/usr/share/frysk/xml/libglade/glade-2.0.dtd )

and on a 64-bit system:

$ ( mkdir build && cd build && ../frysk/autogen.sh \
     PKG_CONFIG_PATH=/usr/lib64/frysk/pkgconfig:/usr/lib64/pkgconfig \
     GLADE_DTD_FILE=/usr/share/frysk/xml/libglade/glade-2.0.dtd \
     "JAVAC=gcj4 -C" \
     GCJ=gcj4 \
     GIJ=gij4 \
     JAR=fastjar4 \
     GCJH=gcjh4 \
     GCJ_DBTOOL=gcj-dbtool4 \
     GCC=gcc4 \
     CC=gcc4 \
     CXX=g++4 \
     JAVA=gij4 \
     JV_SCAN=jv-scan4 \
)

In addition, you may need to apply this patch:

--- frysk-imports/libunwind/include/libunwind_i.h-orig  2007-02-12 18:04:10.000000000 -0500
+++ frysk-imports/libunwind/include/libunwind_i.h       2007-02-12 18:05:07.000000000 -0500
@@ -69,7 +69,7 @@
 # define UNUSED                __attribute__((unused))
 # define NORETURN      __attribute__((noreturn))
 # define ALIAS(name)   __attribute__((alias (#name)))
-# if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
+# if 0 /* gcc4-4.1.0-18.EL4 workaround.  */
 #  define ALWAYS_INLINE        inline __attribute__((always_inline))
 #  define HIDDEN       __attribute__((visibility ("hidden")))
 #  define PROTECTED    __attribute__((visibility ("protected")))

For additional updates, check Red Hat Enterprise Linux 4's tracker bug's dependency tree.