Friday, March 13, 2009

Solving "E25: GUI cannot be used: Not enabled at compile time" on CentOS

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

When you run vim -g , you may encounter the above error "E25: GUI cannot be used: Not enabled at compile time".

Do note that at CentOS, the equivalent of vim -g is gvim. However, there is no package called gvim on CentOS 4 and CentOS 5. To have the gvim equivalent, do the following.

Step 1: yum install vim-enhanced (To install the fuller package of vim)
Step 2: yum install vim-X11 (To installed the equivalent of gvim)
Step 3: Just type gvim......and you have it

1 comment:

Alan said...

If you found your way here after encountering this issue running kzrnote on RHEL, then here is how i resolved it.

1. First follow the instructions of this post to install gvim.

2. Before installing, edit kzrnote.py and change this line to 'gvim'.

VIM = 'gvim'.

3. sudo ./install

Thanks to the OP.