mihirlad55 / polybar-spotify-module

A collection of lightweight programs for use with a Polybar Spotify Module
GNU General Public License v3.0
140 stars 9 forks source link

Package dbus-1 was not found in the pkg-config search path. #17

Closed aleemont closed 3 years ago

aleemont commented 3 years ago

Followed the instructions, but if I run: sudo make install it will show: Package dbus-1 was not found in the pkg-config search path. Perhaps you should add the directory containing 'dbus-1.pc' to the PKG_CONFIG_PATH environment variable No package 'dbus-1' found mkdir -p ../obj gcc -c -o ../obj/utils.o utils.c -ldbus-1 In file included from utils.c:1: ../include/utils.h:4:10: fatal error: dbus-1.0/dbus/dbus.h: No such file or directory 4 | #include <dbus-1.0/dbus/dbus.h> | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:73: ../obj/utils.o] Error 1

aleemont commented 3 years ago

Solved with: sudo apt-get install libdbus-1-dev libdbus-glib-1-2