You are not logged in.

#1 2023-07-17 10:48:31

yarb
Member
Registered: 2023-07-17
Posts: 3

VIM gui version fails to compile

Hi all!

I'm trying to compile vim with GUI (gvim) on my freshly installed system, but finally I got

E25: GUI cannot be used: Not enabled at compile time

Before compilation I added gtk3 with

pacman -s gtk3

and uncommented the next lines in Makefile

CONF_OPT_GUI = --enable-gui=gtk3
GUI_TESTARG = GUI_FLAG=-g

But the result is negative.

When I compilу vim with GUI on my Debian machine I usually install some GTK+ dev packages, but can't find their analogues on Arch.
Please, point me at proper direction to solve my task with vim GUI compilation.

Thanks in advance.

Last edited by yarb (2023-07-17 11:07:26)

Offline

#2 2023-07-17 12:21:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,557
Website

Re: VIM gui version fails to compile

Gvim is already available from the [extra] repository, if you need to modify the compilation options I advise you use the PKGBUILD as a starting point.

https://wiki.archlinux.org/title/Arch_build_system
https://gitlab.archlinux.org/archlinux/ … ckages/vim


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-07-17 12:29:46

yarb
Member
Registered: 2023-07-17
Posts: 3

Re: VIM gui version fails to compile

OK, thanks! I will explore this information.

Offline

#4 2023-07-18 12:42:26

yarb
Member
Registered: 2023-07-17
Posts: 3

Re: VIM gui version fails to compile

WorMzy, thanks for your help. I've managed to build GVIM with my own desired compilation options, but it still looks like magic to me.

Offline

Board footer

Powered by FluxBB