On Di, 19 Aug 2025, Tony Mechelynck wrote:
> After updating the source from 9.1.1646 to 9.1.1652: > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -O2 > -fno-strength-reduce -Wall -Wno-deprecated-declarations -D_REENTRANT > -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o > objects/wlr-data-control-unstable-v1.o auto/wayland/wlr-data-control- > unstable-v1.c > auto/wayland/wlr-data-control-unstable-v1.c:32:10: fatal error: > wayland-util.h: No such file or directory > 32 | #include "wayland-util.h" > | ^~~~~~~~~~~~~~~~ > compilation terminated. > make[1]: *** [Makefile:3664: objects/wlr-data-control-unstable-v1.o] Error 1 > make[1]: Leaving directory '/root/.build/vim/vim-hg/src/shadow-normal' > make: *** [Makefile:2035: reconfig] Error 2 > exit status 2 > > Does not happen in Huge build with GTK3 GUI > Happens in Normal build with Motif GUI > Does not happen in Tiny build with Motif GUI > Does not happen in Tiny build with no GUI. > > Happens in Normal even after regenerating the Normal shadow-directory > then replacing its Makefile by a symlink to ../Makefile and adding a > bash script to set the desired configure options in the environment > (before regenerating I saved the existing script, as follows: > > #!/bin/bash > export CONF_OPT_GUI='--enable-gui=motif' > export CONF_OPT_MULTIBYTE='--enable-multibyte' > export CONF_OPT_AUTOSERVE='--enable-autoservername' > export CONF_OPT_SODIUM='--enable-libsodium' > export CONF_OPT_FEAT='--with-features=normal' > export CONF_ARGS2='--with-vim-name=vim-normal' > export CONF_OPT_COMPBY='"--with-compiledby=antoine.mechely...@gmail.com"' > > The above is to be "source"d not "execute"d. > > After some looking around, I find that: > — Huge build (GOOD) has compilation flag -I/usr/include/wayland and > link flag -lwayland-client, builds successfully with +wayland > +wayland_clipboard +X11 > — Normal build (BAD) has link flag -lwayland-client but lacks > compilation flag -I/usr/include/wayland, does not build > — Tiny with Motif (GOOD) has neither flag, builds successfully with > -wayland -wayland_clipboard +X11 > — Tiny without GUI (GOOD) has neither flag, builds successfully with > -wayland -wayland_clipboard -X11 > > Is it possible to build without Wayland even if the Wayland packages > are installed (configure flag --without-wayland or --disable-wayland > or something)? I see nothing in the src/Makefile, neither in the > comments nor in the code. I think this particular issue might have been fixed by v9.1.1658. I hope, not quite sure. Thanks, Christian -- "It's men like him that give the Y chromosome a bad name." -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/aKYqYOFKUTX3XTSh%40256bit.org.