Fwd: Compiling vim 9.0 with gui
Hi, I have been trying to compile vim 9.0 with GUI enabled in CentOS 8. I have all the gtk-devel packages installed, and I am able to compile other gtk apps, but the vim build gives me a vim without GUI. I have tried configure --enable-gui=gtk but it doesn't help. I do not remember any problem with previous versions. Thank you, Ephraim -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPKXbB7jNzF2mAH7%3D1jVGOkEFPtrhedgunBqWn0-qnVs9fsatQ%40mail.gmail.com.
Re: Fwd: Compiling vim 9.0 with gui
> I have been trying to compile vim 9.0 with GUI enabled in CentOS 8. I have > all the gtk-devel packages installed, and I am able to compile other gtk > apps, but the vim build gives me a vim without GUI. I have tried configure > --enable-gui=gtk but it doesn't help. > > I do not remember any problem with previous versions. After running configure, look in src/auto/config.log. Search for "GTK". It should tell you what is missing. -- Support your right to bare arms! Wear short sleeves! /// 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_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220921102252.0935C1C09F1%40moolenaar.net.
Re: Fwd: Compiling vim 9.0 with gui (SOLVED!)
On Wed, 21 Sept 2022 at 13:22, Bram Moolenaar wrote: > > > I have been trying to compile vim 9.0 with GUI enabled in CentOS 8. I > have > > all the gtk-devel packages installed, and I am able to compile other gtk > > apps, but the vim build gives me a vim without GUI. I have tried > configure > > --enable-gui=gtk but it doesn't help. > > > > I do not remember any problem with previous versions. > > After running configure, look in src/auto/config.log. > Search for "GTK". It should tell you what is missing. > > Thank you very much. I actually didn't find a reference to gtk but searching for gui turned up a failure to find Intrinsic.h Here is the part of the configure script responsible: $as_echo_n "checking if X11 header files can be found... " >&6; } cflags_save=$CFLAGS CFLAGS="$CFLAGS $X_CFLAGS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { ; return 0; } _ACEOF The whole problem was a result of the way I installed my development support on CentOS, which was by installing the gtk3-devel package with yum (dnf). This installed the X development packages necessary for gtk, but it didn't install the (obsolescent) libXt-devel package. Installing that allowed a gui compilation. Perhaps this check in the configure script needs to be updated. Anyway, I now have a working GUI vim! Thanks again! -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAPKXbB4RA38NW0yF6C4cyUG3_ed3_e9Vq2wLFEdKYFTAGwqQoQ%40mail.gmail.com.