On Tue, Aug 19, 2025 at 9:38 AM Christian Brabandt <cbli...@256bit.org> wrote:
>
>
> 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.
>
> The configure script supports --without-wayland.

Ah, thanks. With
    export CONF_OPT_X='--without-wayland'
added to the environment (the rest unchanged) then "make reconfig" it
builds successfully again. (I'm not sure it is the exact correct
environment variable but it works). I noticed a totally unrelated
warning in another module but I'll report it separately on the
principle of "one bug, one report".
>
> Thanks,
> Christian

Best regards,
Tony.

-- 
-- 
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/CAJkCKXu%2BnU7kHSBWLo4szk8V5EJqOFWmtW-6s6tzjir3dNq37g%40mail.gmail.com.

Raspunde prin e-mail lui