[SOLVED] Ok I,m having problems with Make Depend and pkg-config
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok I,m having problems with Make Depend and pkg-config
Ok I,m trying to install makedepend an get an error with make
Code:
configure:5094: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
Ok it looks like there is something wrong with pkg-config.
Code:
pkg-config --version
pkg-config not found.
Code:
whereis pkg-config
returns pkg-config.
I have looked at the files in profile.d you mentioned they are there and were copy & pasted. I set /usr as prefix ( the easy option)
Can you confirm /usr/bin/pkg-config is present?
- if so, is your PATH setting correct (does it include /usr/bin)
- if not, did you forget to install pkg-config-0.26
Found the problem I hope here I to was following 7rc1 I,m sure I installed pkg-config 0.26. Now all I have to do is reinstall pkg config from blfs with glib. Although the commands are different dose it still install to the same places where the .pc files are. /usr/lib/pkconfig.
I must of missed the error output of pkgconfig when i built it "I guess"
LFS 7.0rc1 is a release candidate for (pre-dates) LFS 7.0. pkg-config was removed from LFS 7.0 and is at the moment only present in BLFS, which includes the glib dependency.
You can install the BLFS version (first install the glib dependency, if you haven't already), locations of the files will be the same as in the 7.0rc1 version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.