%general-entities; ]> $LastChangedBy$ $Date$ Trinity/KDE3 Pre-installation Configuration 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-&trinity-version; 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 . 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 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.