Tony wrote:
> Recently (but I'm not sure when) my supposedly Motif gvim started > getting compiled without GUI. Examination of the config log showed the > following lines: > > checking --enable-gui argument... Motif GUI support > checking for pkg-config... /usr/bin/pkg-config > checking for location of Motif GUI includes... in default path > checking --with-motif-lib argument... no > checking for location of Motif GUI libs... <not found> > > After some trial and error, I found out that by changing just one line > in my environment settings, as follows: > > from: export CONF_OPT_GUI='--enable-gui=motif' > to: export CONF_OPT_GUI='--enable-gui=motif --with-motif-lib=-lXm' > > (and doing no other changes), then sourcing the configure script again > in the same shell to overwrite the environment values set by the > previous version of the same script, and running "make reconfig", its > --version output told me this time "Tiny version with X11-Motif GUI". > The relevant lines in the config log are now > > checking --enable-gui argument... Motif GUI support > checking for pkg-config... /usr/bin/pkg-config > checking for location of Motif GUI includes... in default path > checking --with-motif-lib argument... -lXm > > Is this expected? If just specifying that the Motif lib is named libXm > (without mentioning a directory) makes configure find it, I would have > expected it to already know that. Or is that name nonstandard? It's not about the lib name, it's about finding the library to link with. A sequence of directories are checked for: libXm.a libXm.dll.a libXm.so* libXm.sl libXm.dylib Perhaps the name of the library changed? On my system I can find /usr/lib/x86_64-linux-gnu/libXm.a The check hasn't changed for a long time. It can be found in src/configure.ac around line 2960. -- There can't be a crisis today, my schedule is already full. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 on the web visit https://groups.google.com/d/msgid/vim_dev/20230409210242.60E1F1C0A43%40moolenaar.net.