Timothy Pearson wrote: >> I am starting to do the development/testing needed to add Trinity to >> Linux From Scratch, replacing KDE3. Right now I have a couple of issues >> I'd like to get clarified. >> >> First, I notice in the dependencies directory, there are several packages: >> >> dependencies/arts >> dependencies/avahi-tqt >> dependencies/dbus-1-tqt >> dependencies/dbus-tqt >> dependencies/tqtinterface >> >> I have no problems with arts or tqtinterface but I don't see the other >> three mentioned anywhere. Are these packages required for Trinity? If >> so, at what point are they required? We do have instructions already in >> LFS for D-Bus and avahi libraries. > > The others are required for specific TDE modules/applications only--for > example, there is avahi support in kdebase, and knetworkmanager needs dbus > bindings. So while modules other than tqtinterface and arts are > technically dependencies for certain modules, they are not global > dependencies required for *all* TDE modules. OK, thanks. >> Second, I have had some problems building kdelibs. There were no >> problems following the instructions for qt3, tqtinterface, or arts, but >> there were many places in building kdelibs where I had to edit a >> link.txt file and add -lX11. I am fairly new at using cmake so I'd like >> to know if there is a way to add this automatically. > > In the CMakeLists.txt file (usually found in the source directory of the > failing library/application) look for the lines that start with LINK. > Tack " X11" (without the quotes) onto the end of those lines and you > should be set. Also, please be sure to let us know which files needed > this treatment in a bug report! Actually I think the problem is on the HowToBuild wikit page. You have: export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig: /opt/qt/lib/pkgconfig (split only for email readability) however, I think it should be: export PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig: /opt/qt/lib/pkgconfig: $PKG_CONFIG_PATH As I already had PKG_CONFIG_PATH set with /opt/xorg/lib/pkgconfig, it made a difference, and the -lX11 flags now appear correctly. -- Bruce