Ticket #11855 (closed defect: fixed)
libgnomekbd does not compile because of wrong X11 include directory
| Reported by: | piotr@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | High | Milestone: | Port Bugs |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
libgnomekbd doesn't compile for the same reason as at-spi failed to build: ticket #11719
I fixed it the same way as at-spi was fixed by rhwood@… in changeset:24285
output of the failing build
Command output: Making all in libgnomekbd
make all-am
make[3]: Nothing to be done for `all-am'.
Making all in test
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -L/opt/local/lib -I/opt/local/include -I/opt/local/include -Wall -Wmissing-prototypes -I.. -Wall -Werror -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -O2 -MT gkbd_config_registry_server-gkbd-config-registry-server.o -MD -MP -MF ".deps/gkbd_config_registry_server-gkbd-config-registry-server.Tpo" -c -o gkbd_config_registry_server-gkbd-config-registry-server.o `test -f 'gkbd-config-registry-server.c' || echo './'`gkbd-config-registry-server.c; \
then mv -f ".deps/gkbd_config_registry_server-gkbd-config-registry-server.Tpo" ".deps/gkbd_config_registry_server-gkbd-config-registry-server.Po"; else rm -f ".deps/gkbd_config_registry_server-gkbd-config-registry-server.Tpo"; exit 1; fi
gkbd-config-registry-server.c:23:22: error: X11/Xlib.h: No such file or directory
In file included from /opt/local/include/libxklavier/xklavier.h:29,
from gkbd-config-registry-server.c:24:
/opt/local/include/libxklavier/xkl_engine.h:125: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:162: error: parse error before '*' token
/opt/local/include/libxklavier/xkl_engine.h:292: error: parse error before 'XEvent'
/opt/local/include/libxklavier/xkl_engine.h:311: error: parse error before 'xkl_engine_get_current_window'
cc1: warnings being treated as errors
/opt/local/include/libxklavier/xkl_engine.h:311: warning: type defaults to 'int' in declaration of 'xkl_engine_get_current_window'
/opt/local/include/libxklavier/xkl_engine.h:311: warning: data definition has no type or storage class
/opt/local/include/libxklavier/xkl_engine.h:331: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:345: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:356: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:366: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:380: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:393: error: parse error before 'Window'
/opt/local/include/libxklavier/xkl_engine.h:408: error: parse error before 'Window'
In file included from /opt/local/include/libxklavier/xklavier.h:30,
from gkbd-config-registry-server.c:24:
/opt/local/include/libxklavier/xkl_config_rec.h:165: error: parse error before 'Atom'
/opt/local/include/libxklavier/xkl_config_rec.h:187: error: parse error before 'Atom'
make[2]: *** [gkbd_config_registry_server-gkbd-config-registry-server.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

