source build
a very common problem is this
a lot of source defaults to installing in "/usr/local "
BUT
a lot of operating systems do not use that location they use "/usr"
this leads to problems for autotools
package configure looks for the *.pc files in /usr/lib64/pkgconfig
and the headers in /usr/include
now if those files are in a different location .................
can you run these commands to VERIFY the set locations and default file paths
AS a NORMAL NON root user
Code:
echo $PATH
---
echo $PKG_CONFIG_PATH
---
echo $LD_LIBRARY_PATH
is /usr/local/bin in the first one ?
if NOT you need to reinstall
or rebuild doing the above
i use opensuse and rhel and fedora
/usr is the default location
so i have gotten into the habit a long time ago of STATING !!! the install location when i build software using the "--prefix=/usr" option
Code:
./configure --prefix-/usr
make
su
make install
or if cmake or qmake add the location for those
knudfl
export option is also great
both ( one or the other) work