dunst-project / dunst

Lightweight and customizable notification daemon
https://dunst-project.org
Other
4.59k stars 341 forks source link

dunst fails to build on OpenIndiana #1091

Open willbprog127 opened 2 years ago

willbprog127 commented 2 years ago

dunst has been my go-to notification system on Linux for a long time now, but I'm also using OpenIndiana, and dunst is painfully Linux-only.

Here is my progress on building on OpenIndiana. I have tried dunst version 1.9.0 and also latest git and same issues:

$ PREFIX=/usr SYSTEMD=0 WAYLAND=0 gmake

sed "s|##SYSCONFDIR##|/usr/etc/xdg|" docs/dunst.1.pod | pod2man --name=dunst -c "Dunst Reference" --section=1 --release="1.9.0 (2022-06-27)" > docs/dunst.1
/bin/sh: pod2man: not found [No such file or directory]
gmake: *** [Makefile:110: docs/dunst.1] Error 127

$ PREFIX=/usr SYSTEMD=0 WAYLAND=0 gmake

src/input.c:7:10: fatal error: linux/input-event-codes.h: No such file or directory
 #include <linux/input-event-codes.h>

$ sudo PREFIX=/usr SYSTEMD=0 WAYLAND=0 gmake install

install -Dm755 dunst /usr/bin/dunst
find: stat() error /usr/bin/dunst: No such file or directory
find: cycle detected for /lib/secure/32/
find: cycle detected for /lib/32/
find: cycle detected for /lib/openssl/default/32/
find: cycle detected for /lib/crypto/32/
find: cycle detected for /usr/lib/lwp/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cycle detected for /usr/lib/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/elfedit/32/
install: -Dm755 was not found anywhere!
gmake: *** [Makefile:187: install-dunst] Error 2

I give up at this point. Any suggestions?

Thank you! πŸ‘

fwsmit commented 2 years ago

It seems like you don't have an 'install' command. Is there an equivalent for openIndiana?

fwsmit commented 2 years ago

Patches for better OS compatibility are welcome

willbprog127 commented 2 years ago

@fwsmit Thanks for the comment.

$ install
usage: install [options] file [dir1 ...]

Seems to be working...? Maybe the options are different compared to Linux?

https://illumos.org/man/8/install

Patches for better OS compatibility are welcome

Yes, I'm sure they are, but I am no expert on OpenIndiana :-) I will try when I get 'settled', trying to help customers and work out the sharp edges in OI. Thank you! πŸ‘

bynect commented 5 months ago

recently we merged #1288 which should help in this case

willbprog127 commented 5 months ago

recently we merged #1288 which should help in this case

Thank you! I've not used OpenIndiana in a long time but it's good to know things are moving in the right direction. :+1: