i3status-rust icon indicating copy to clipboard operation
i3status-rust copied to clipboard

i3status-rust fails to build unless libpulse is installed

Open akdjka opened this issue 3 years ago • 1 comments

I just wanted to install i3status on my system. Linking failed with

  = note: ld.lld: error: unable to find library -l:libpulse.so.0
          clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

Fine, I don't have libpulse installed. And I don't want to. But this requirement is not documented in https://github.com/greshake/i3status-rust/blob/master/doc/dev.md and I think it should be.

Also, making libpulse dependency optional would also be welcome.

akdjka avatar Dec 03 '22 13:12 akdjka

Also, making libpulse dependency optional would also be welcome.

It is, but it's on by default. Did you compile with --no-default-features?

But this requirement is not documented

Fixed

MaxVerevkin avatar Dec 03 '22 14:12 MaxVerevkin

With this switch it builds fine. :)

akdjka avatar Dec 04 '22 23:12 akdjka