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? N.B. Here is the full (new) configuration script for that shell (I compile each differently configured version in a separate shadowdir and a separate konsole tab and shell, with a soft link, not a copy, to the src/Makefile, and configure arguments set only via environment variables): # Vim without evaluation but with Motif export CONF_OPT_GUI='--enable-gui=motif --with-motif-lib=-lXm' export CONF_OPT_FEAT='--with-features=small' export CONF_ARGS2='--with-vim-name=vim-small' export CONF_OPT_COMPBY='"[email protected]"' 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAJkCKXtwYmii4R5GOnvaMPBd8VieSJzMsBNXBb4qy5-6bNh9_A%40mail.gmail.com.
