Based on your preference, set TRINITY_PREFIX.
One option is to put Trinity/KDE3
into the /usr
hierarchy. This creates a
simpler setup but is more difficult to try multiple versions of
Trinity/KDE3.
export TRINITY_PREFIX=/usr
The Trinty developers and BLFS editors recommend installing Trinity
in the /opt
directory in order to
support using one version while building another.
export TRINITY_PREFIX=/opt/trinity-3.5.13
Using this option requires updates to the PATH, PKG_CONFIG_PATH, and library search path:
Update PATH
export PATH=$TRINITY_PREFIX/bin:$PATH
Update PKG_CONFIG_PATH
export PKG_CONFIG_PATH=$TRINITY_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
Update the library search path
export LD_LIBRARY_PATH=$TRINITY_PREFIX/lib:$LD_LIBRARY_PATH
The instructions for making these changes permanent are in the section called “Configuring the Core Trinity/KDE3 Packages”.
There are two other environment variables that need to be set to
build Trinity/KDE3. These are needed
for all the cmake
based packages:
export CMAKE_PREFIX_PATH=/opt/qt:$TRINITY_PREFIX && CMAKE_INCLUDE_PATH=/opt/qt/include:/usr/include/dbus-1.0 && export CMAKE_INCLUDE_PATH=$CMAKE_INCLUDE_PATH:$TRINITY_PREFIX/include
You should also consider installing the desktop-file-utils-0.18 package. Though
not required, this package will allow you to easily use existing
.desktop
files in /usr/share/applications
(and any other locations
identified by XDG_DATA_DIRS
), and
automatically add these applications to the menu system.
Last updated on 2011-12-21 04:45:39 +0000