Opened 18 years ago

Closed 17 years ago

Last modified 16 years ago

#11856 closed defect (fixed)

gdm does not compile because of missing X11 header directory directive

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

Description

Same problem as #11855 and #11719, but now with gdm.

--->  Building gdm with target all
Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_gdm/work/gdm-2.18.0" && make all " returned error 2
Command output: Making all in happygnome-list
LC_ALL=C ../../../../intltool-merge -d -u -c ../../../../po/.intltool-merge-cache ../../../../po GdmGreeterTheme.desktop.in GdmGreeterTheme.desktop
Found cached translation database
Merging translations into GdmGreeterTheme.desktop.
make[5]: Nothing to be done for `all-am'.
Making all in modules
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -DGDMCONFDIR=\"/opt/local/etc/gdm\" -DGNOMELOCALEDIR=\""/opt/local/share/locale"\" -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2    -I/opt/local/include -L/opt/local/lib -I/opt/local/include  -O2 -Wall -Wmissing-prototypes  -MT keymouselistener.lo -MD -MP -MF ".deps/keymouselistener.Tpo" -c -o keymouselistener.lo keymouselistener.c; \
then mv -f ".deps/keymouselistener.Tpo" ".deps/keymouselistener.Plo"; else rm -f ".deps/keymouselistener.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -DGDMCONFDIR=\"/opt/local/etc/gdm\" -DGNOMELOCALEDIR=\"/opt/local/share/locale\" -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -L/opt/local/lib -I/opt/local/include -O2 -Wall -Wmissing-prototypes -MT keymouselistener.lo -MD -MP -MF .deps/keymouselistener.Tpo -c keymouselistener.c  -fno-common -DPIC -o .libs/keymouselistener.o
keymouselistener.c: In function 'event_time':
keymouselistener.c:544: error: 'XDeviceKeyEvent' undeclared (first use in this function)
keymouselistener.c:544: error: (Each undeclared identifier is reported only once
keymouselistener.c:544: error: for each function it appears in.)
keymouselistener.c:544: error: parse error before ')' token
keymouselistener.c:547: error: 'XDeviceButtonEvent' undeclared (first use in this function)
keymouselistener.c:547: error: parse error before ')' token
keymouselistener.c: In function 'keycodes_equal':
keymouselistener.c:570: error: 'XDeviceKeyEvent' undeclared (first use in this function)
keymouselistener.c:570: error: parse error before ')' token
keymouselistener.c:570: error: parse error before ')' token
keymouselistener.c: In function 'key_gesture_compare_func':
keymouselistener.c:603: error: 'XDeviceButtonEvent' undeclared (first use in this function)
keymouselistener.c:603: error: parse error before ')' token
keymouselistener.c: In function 'gestures_filter':
keymouselistener.c:626: warning: unused variable 'xinput_device'
make[3]: *** [keymouselistener.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Attachments (1)

gdm_fix.diff (436 bytes) - added by piotr@… 18 years ago.
Fixes the portfile

Download all attachments as: .zip

Change History (4)

Changed 18 years ago by piotr@…

Attachment: gdm_fix.diff added

Fixes the portfile

comment:1 Changed 17 years ago by markd@…

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

Assign to maintainer.

comment:2 Changed 17 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

This fix has already been committed.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.