LibGTop-2.14.2

Introduction to LibGTop

The LibGTop package contains the GNOME top libraries.

Package Information

LibGTop Dependencies

Required

GLib-2.10.3

Optional

popt-1.10.4, GDBM-1.8.3, 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 passed --with-libgtop-examples to the configure script to build the example programs, install them using 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.

--with-libgtop-examples: Adding this parameter to the configure script will build numerous example programs.

--with-libgtop-inodedb: Add this parameter to the configure script if you have GDBM installed and wish to build the inodedb programs.

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: file_by_inode2 and mkinodedb2
Installed Library: libgtop-2.0.{so,a}
Installed Directories: The following subdirectories of $GNOME_PREFIX/: include/libgtop-2.0 and lib/libgtop/examples

Short Descriptions

libgtop-2.0.{so,a}

contains the functions that allow access to system performance data.

Last updated on 2006-12-21 18:11:17 -0600