-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update the read me file #62
Comments
Hi, it is not clear to me what this is about? Is the text in you wrote supposed to be incorporated into the readme? I'm guessing you ran into an error due to not having libevdev (or the header files for it) installed? Do you still have the specific error text around? |
i think this is all i have left form itpop os 22.04 lenovo t408s Fresh installCouldn't find libevdev from pkgconfig (
The system library HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing fixFor Ubuntu/Debian: sudo apt update
sudo apt install libevdev-dev pkg-config autoconf automake libtool build-essential make
sudo make install Then enable and start the systemd service and make sure everything still works: systemctl enable keyboard-backlightd
systemctl start keyboard-backlightd all works perfect |
Resolving
libevdev
and Build ErrorsThis error indicates that you're missing some system dependencies required to build and compile the project, especially libraries and tools related to
libevdev
and the build system (e.g.,autoreconf
).1. Install Missing Dependencies
The error mentions
libevdev
andautoreconf
. Install these along with other development tools:For Ubuntu/Debian:
For Fedora/RHEL-based systems:
For Arch-based systems:
Then enable and start the systemd service and make sure everything still works:
systemctl enable keyboard-backlightd systemctl start keyboard-backlightd
2. Set the
PKG_CONFIG_PATH
Environment VariableIf
libevdev
is installed but the system can't find its.pc
file, ensurePKG_CONFIG_PATH
includes its location. Check wherelibevdev.pc
is located:find /usr/lib /usr/local/lib -name "libevdev.pc"
If it's found, set
PKG_CONFIG_PATH
:export PKG_CONFIG_PATH=/path/to/directory/containing/libevdev.pc
Replace
/path/to/directory/containing/libevdev.pc
with the actual directory.3. Rebuild the Project
Clean and rebuild the project:
4. Verify Git Repository
The error also notes a missing Git repository. If the source code was downloaded as a zip/tar file instead of cloned via Git, you might lack the
.git
folder. Clone the repository instead:git clone https://github.com/example/keyboard-backlightd.git cd keyboard-backlightd
Replace the URL with the correct repository link.
5. Additional Debugging
If the issue persists, enable verbose output for Cargo and retry:
The text was updated successfully, but these errors were encountered: