Hi
I have a couple of questions regarding building applications from source.
Take, for example, the compositor Compton. I recently set up Compton as a replacement for the default compositor in Xfce in the hope that I would get tear-free graphics (which, by the way, is exactly what I got!). Compton said it needed libconfig as a dependency in order to compile.
I initially tried downloading the source for libconfig and compiling/installing as usual, using
Code:
$ ./configure
$ make
# make install
However, Compton still wouldn't build, claiming it couldn't find libconfig. However I had just installed it! I ended up downloading a libconfig slackware package (.txz) from the slacky distribution mirrors and installing that with "installpkg", which allowed compton to compile successfully.
This tells me that my Slackware system is not "detecting" source-built applications.
To build Compton, I ran "make" and "make install" (configuration was not necessary), and Compton installed successfully, working perfectly fine. However, I noticed that running "slackpkg clean-system" returned libconfig but not Compton as unneeded packages. This further tells me that when I installed libconfig via a Slackware package it was "detected" by the system, but installing Compton from source left it "ucompton compositorndetected".
Is this behaviour normal? Why was Compton only able to compile when I installed libconfig via a .txz package and not through "make install". And why was Compton not detected as obsolete by slackpkg when libconfig was?
Thanks for any responses,
James