Waybar: Error while istalling Waybar on fedora using sudo make install

Created on 9 Jan 2019  路  8Comments  路  Source: Alexays/Waybar

This is what it spitted out in the /home/(username)/Waybar/build/meson-logs/meson-log.txt while running the make install on fedora 29 workstation, any ideas ?

Determining dependency 'wayland-client' with CMake executable '/usr/bin/cmake'
Try CMake generator: auto
Called `/usr/bin/cmake --trace-expand -DNAME=wayland-client .` in /home/(username)/Waybar/build/meson-private/cmake_wayland-client -> 0
Dependency wayland-client found: NO (tried pkgconfig and cmake)

meson.build:36:0: ERROR:  Dependency "wayland-client" not found, tried pkgconfig and cmake

question

Most helpful comment

If you're struggling to build Sway, feel free to check out some of these resources I created:

All 8 comments

You need a wayland environment, are you on sway or wlroots based compositor?

Otherwise you need these following depencies:

gtkmm3
jsoncpp
libinput
libsigc++
wayland
wlroots
libpulse [Pulseaudio module]
libnl [Network module]
sway [Sway modules]
libdbusmenu-gtk3 [Tray module]

You need a wayland environment, are you on sway or wlroots based compositor?

I am using sway

Sway from the fedora repos is too old, you have to compile from source.

Sway from the fedora repos is too old, you have to compile from source.

GRATE, after doing the painstaking process of compiling sway I successfully installed waybar.

I now get this error when running waybar, any ideas?

Resources files: /home/(username)/.config/waybar/config, /home/(username)/.config/waybar/style.css
Failed to acquire required resources

I already have an config and style.css file in the dir with the defult configs

@GeoDerp Do you use the new compiled sway binary or the old one?

If you're struggling to build Sway, feel free to check out some of these resources I created:

Thank you @c-edw ,
that helped my quite a bit in figuring out my issue. My main error was the use of wlroots and not setting up the variables correctly (also had a problem where sudo bash would work with the meson build files but sodo meson build wont find the wlroots .pc's).

Once I finish my set up i'll post the bash install script I made just for anyone els that is using fedora workstation and is interested (_there was quite a bit of troubleshooting involved and some weird dependencies needed so I hope that helps anyone els that might be in the same boat)_ .

_Thanks Again to @Alexays @c-edw and @jeefberkey for spending the time and helping a noob like me out._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kakashiiiiy picture Kakashiiiiy  路  4Comments

docquantum picture docquantum  路  5Comments

Maclanky picture Maclanky  路  5Comments

Sqvid picture Sqvid  路  5Comments

xajler picture xajler  路  5Comments