On 28/04/12 01:23, Bovy, Stephen wrote:
Which Version of X11  should we be using

X11R6  OR  X11R66   ??

Manager.h  Does Not exist in X11R6



There is no X11R66 yet. “Releases 6.7 and later are brought to you by the X.Org Foundation.” (sic, from the X(7) manpage installed here). The version currently distributed with the current openSUSE Linux distro + all Online Updates is 7.6 (i.e., sub-version 6 of X11R7).

I see the line

# include <Xm/Manager.h>

only once in the source, at src/gui_xmebw.c line 33, and ifdef'fed as follows:

26: #ifdef FEAT_TOOLBAR
30: #if defined(HAVE_XM_TRAITP_H) && defined(HAVE_XM_MANAGER_H) \
31:     && defined(HAVE_XM_UNHIGHLIGHTT_H) && defined(HAVE_XM_XPMP_H)

If FEAT_TOOLBAR is unset the whole gui_xmebw.c is skipped, except for an #include "vim.h".

The more complex #if has an #else branch with only

38: # include <X11/xpm.h>

in it.


That gui_xmebw module is not compiled into my GTK2/Gnome2 gvim; it seems to be part of the Motif GUI.

As a temporary stopgap measure, you can try to remove

defined(FEAT_GUI_MOTIF) ||

at line 760 of src/feature.h; but a better fix would be to find what is wrong with your Motif packages, or maybe use a different GUI.


Best regards,
Tony.
--
A Riverside, California, health ordinance states that two persons may
not kiss each other without first wiping their lips with carbolized
rosewater.

--
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

Raspunde prin e-mail lui