LibGTop-2.28.1

Introduction to LibGTop

The LibGTop package contains the GNOME top libraries.

This package is known to build and work properly using an LFS-6.5 platform.

Package Information

LibGTop Dependencies

Required

GLib-2.30.1 and intltool-0.50.0

Optional

GTK-Doc-1.18 and X Window System

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libgtop

Installation of LibGTop

[Note]

Note

The instructions below are based on installing the package into a GNOME-2 environment. If, for whatever reason, you're installing this package without having ORBit2 and the core GNOME-2 libraries installed, you'll need to modify the --prefix= parameter on the configure script to point to your desired installation path (e.g., --prefix=/usr).

Install LibGTop by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --infodir=$(pkg-config --variable=prefix ORBit-2.0)/share/info &&
make

This package does not come with a test suite.

Now, as the root user:

make install

If you would like to install the example programs, issue the following commands as the root user:

install -v -m755 -d $(pkg-config \
        --variable=prefix ORBit-2.0)/lib/libgtop/examples &&
install -v -m755 examples/.libs/* \
        $(pkg-config --variable=prefix ORBit-2.0)/lib/libgtop/examples

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--infodir=$(pkg-config --variable=prefix ORBit-2.0)/share/info: This switch installs the info documentation in $GNOME_PREFIX/share/info instead of $GNOME_PREFIX/info. You may need to add this directory to your $INFOPATH environment variable if your GNOME installation prefix is anything other than /usr.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Configuring LibGTop

Configuration Information

If $GNOME_PREFIX is anything other than /usr, update the INFOPATH environment variable by adding the following to your system-wide or personal profile:

export INFOPATH=/usr/share/info:$(pkg-config \
       --variable=prefix ORBit-2.0)/share/info

Contents

Installed Programs: affinity, df, first, mem, mountlist, netlist, netload, openfiles, pprint, procargs, proclist, procmap, second, smp, sysdeps, timings, and wd (examples programs)
Installed Library: libgtop-2.0.{so,a}
Installed Directories: $GNOME_PREFIX/{include/libgtop-2.0/glibtop, share/gtk-doc/html/libgtop,lib/libgtop/examples}

Short Descriptions

libgtop-2.0.{so,a}

contains the functions that allow access to system performance data.

Last updated on 2010-08-14 02:56:48 +0000