Closed Nias26 closed 1 year ago
.pc
files to the PKG_CONFIG_PATH
environment variable. You can check your current pkg-config variable by running this command: pkg-config --variable pc_path pkg-config
It should reply with: /usr/lib/pkgconfig:/usr/share/pkgconfig
Or something similar. If it doesn't you can add this to your shell profile configuration file (e.g., ~/.bashrc
or ~/.zshrc
) as follows:
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig"
Reload your shell or restart your terminal to apply the changes.
chafa.h is missing. This could be a problem with an older versions of chafa, which does not work. Try running:
pacman -S chafa
Then run the cue makefile again.
Still the same issue.
The pkg_config_path wasn't set. So, I exported the line, restarted zsh and retyped pkg-config --variable pc_path pkg-config
and still returns nothing, but it did export the line to PKG_CONFIG_PATH
when I do echo $PKG_CONFIG_PATH
.
Chafa is at version 1.12.4-3
which is the latest.
build.log
still the same.
Still the same issue. The pkg_config_path wasn't set. So, I exported the line, restarted zsh and retyped
pkg-config --variable pc_path pkg-config
and still returns nothing, but it did export the line toPKG_CONFIG_PATH
when I doecho $PKG_CONFIG_PATH
. Chafa is at version1.12.4-3
which is the latest.build.log
still the same.
I can try to doing pkg-config --set-variable
(but idk how to use it)
Your pkg-config install may be broken. Maybe try: sudo pacman -S pkg-config
See if it installs it correctly. I don't know if you can do a set-variable, the examples I see are using the .bashrc script.
The install completed whitout errors. I'm going to look at some docs to see if I can set the variable myself. Thanks for the help.
Keep the issue open so when I find a solution, I'll post in here. Thanks.
Np, I hope you find a solution!
Btw, on arch you should be able to just run: yay cue-git to install cue.. but it still does a "make"...so it wont work in your case.
I have brew installed on my machine and appparently brew had the package pkg-config
installed, so everytime the machine tryed to use pkg-config, was using the brew one, which has wrong variables.
The fix is this:
brew remove pkg-config
After that, the command pkg-config --variable pc_path pkg-config
returns /usr/lib/pkgconfig
(finally ╰(´︶`)╯)
The installation went succefully.
Nice! that's good to know. Thanks.
I already saw an issue like mine in #40, but it didn't help. I've already installed all dependencies. I'm on
6.4.12-arch1-1
This is thebuild.log
: