Am 13.01.2009 um 00:06 schrieb Peter Dyballa:
X11 fails to launch in the same manner as my self-compiled X11R7.4:
This is still true! The first launch after compilation corrects the fonts cache:
I looked at the output of port and found errors: /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 - DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../include -I/opt/ local/include -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/ opt/local/include -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -Wall - Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing- declarations -Wnested-externs -fno-strict-aliasing -Wbad-function- cast -O2 -MT register.lo -MD -MP -MF .deps/register.Tpo -c -o register.lo register.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../ include -I/opt/local/include -D_BSD_SOURCE -DHAS_FCHOWN - DHAS_STICKY_DIR_BIT -I/opt/local/include -DICE_t -DTRANS_CLIENT - DTRANS_SERVER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fno-strict- aliasing -Wbad-function-cast -O2 -MT register.lo -MD -MP -MF .deps/ register.Tpo -c register.c -fno-common -DPIC -o .libs/register.o register.c:48: error: conflicting types for 'IceRegisterForProtocolSetup' /opt/local/include/X11/ICE/ICElib.h:220: error: previous declaration of 'IceRegisterForProtocolSetup' was here register.c:148: error: conflicting types for 'IceRegisterForProtocolReply' /opt/local/include/X11/ICE/ICElib.h:235: error: previous declaration of 'IceRegisterForProtocolReply' was here make[2]: *** [register.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xor g-libice/work/libICE-1.0.5" && nice -n 20 make all " returned error 2 Command output: mv -f .deps/listenwk.Tpo .deps/listenwk.Plo And for the second time: /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 - DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../include -I/opt/ local/include -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/ opt/local/include -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -Wall - Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing- declarations -Wnested-externs -fno-strict-aliasing -Wbad-function- cast -O2 -MT register.lo -MD -MP -MF .deps/register.Tpo -c -o register.lo register.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../ include -I/opt/local/include -D_BSD_SOURCE -DHAS_FCHOWN - DHAS_STICKY_DIR_BIT -I/opt/local/include -DICE_t -DTRANS_CLIENT - DTRANS_SERVER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fno-strict- aliasing -Wbad-function-cast -O2 -MT register.lo -MD -MP -MF .deps/ register.Tpo -c register.c -fno-common -DPIC -o .libs/register.o register.c:48: error: conflicting types for 'IceRegisterForProtocolSetup' /opt/local/include/X11/ICE/ICElib.h:220: error: previous declaration of 'IceRegisterForProtocolSetup' was here register.c:148: error: conflicting types for 'IceRegisterForProtocolReply' /opt/local/include/X11/ICE/ICElib.h:235: error: previous declaration of 'IceRegisterForProtocolReply' was here make[2]: *** [register.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for xorg-libice): org.macports.destroot org.macports.build DEBUG: invalid command name "::ui_init" while executing "::ui_init $priority $prefix $channels $message" ("uplevel" body line 2) invoked from within "uplevel 1 $body" Error: Unable to upgrade port: 1 This is repeated a second and third time, then more output is emitted that finally it looks like success. Sorry! Next time I'll check the output better. 'diff /usr/X11/include/X11/ICE/ICElib.h /opt/local/include/X11/ICE/ ICElib.h' gives: 217c217 < const char ** /* authNames */, ---
char ** /* authNames */,
229c229 < const char ** /* authNames */, ---
char ** /* authNames */,
-rw-r--r-- 2 root admin 10021 18. Dez 00:49 /opt/local/include/X11/ ICE/ICElib.h -rw-r--r-- 1 pete admin 10031 15. Dez 19:34 /usr/X11/include/X11/ICE/ ICElib.h -- Greetings Pete And always remember the last words of my grandfather, who said: “A truck!” — Emo Phillips