Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11719 closed defect (fixed)

at-spi fails on missing header directory (/usr/X11R6/include/X11/Xlib.h)

Reported by: piotr@… Owned by: rhwood@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: piotr@… rhwood@…
Port:

Description

I'm trying to build at-spi whicht fails with the following output:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/atk-1.0 -L/opt/local/lib -I/opt/local/include -g -O2 -MT accessible.lo -MD -MP -MF ".deps/accessible.Tpo" -c -o accessible.lo accessible.c; \ then mv -f ".deps/accessible.Tpo" ".deps/accessible.Plo"; else rm -f ".deps/accessible.Tpo"; exit 1; fi

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DORBIT2=1 -D_REENTRANT -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/atk-1.0 -L/opt/local/lib -I/opt/local/include -g -O2 -MT accessible.lo -MD -MP -MF .deps/accessible.Tpo -c accessible.c -fno-common -DPIC -o .libs/accessible.o

In file included from ../libspi/devicelistener.h:30,

from ../libspi/libspi.h:45, from accessible.c:30:

../libspi/keymasks.h:27:22: error: X11/Xlib.h: No such file or directory make[3]: * [accessible.lo] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

It seems that the gcc command misses the -I/usr/X11R6/include/ . When I run it by hand with the -I/usr/X11R6/include/ it compiles. I tried to fix the problem myself but don't know gnu automake, configure and macports well enough to know where it should be fixed.

thanks.

Change History (4)

comment:1 Changed 17 years ago by pguyot (Paul Guyot)

Owner: changed from macports-dev@… to rhwood@…

comment:2 Changed 17 years ago by rhwood@…

Cc: piotr@… added; piotr@… removed
Milestone: Port Bugs
Resolution: fixed
Status: newclosed
Version: 1.4

I think I have this fixed in changeset:24285

Please reopen this bug if it is not or is fixed incorrectly.

comment:3 Changed 17 years ago by piotr@…

It works! thanks!

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.