Re: [Xquartz-dev] xorg-server on Macports (works with Tiger)
Am 11.01.2009 um 16:00 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: X11.app: main(): argc=2 argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin argv[1] = -psn_0_14680065 Waiting for startup parameters via Mach IPC. X11.app: Could not connect to server (DISPLAY is not set). Starting X server. X11.app: Launching /opt/local/bin/startx: argv[0] = /bin/sh argv[1] = -c argv[2] = /opt/local/bin/startx font_cache: Scanning user font directories to generate X11 font caches bootstrap_look_up(): 1102l font_cache: Making fonts.dir for updated directories. xauth: creating new authority file /Users/pete/.serverauth.21048 X11.app: do_start_x11_server(): argc=8 argv[0] = /opt/local/bin/X argv[1] = :1 argv[2] = -nolisten argv[3] = tcp argv[4] = -dpi argv[5] = 100 argv[6] = -auth argv[7] = /Users/pete/.serverauth.21048 2009-01-12 22:52:34.099 X11.bin[21034] Could not connect the action apps_table_cancel: to target of class X11Controller X11.app: Debug Info: kKLuchrData failed, trying kKLKCHRData. If you are using a 3rd party keyboard layout, please see http:// xquartz.macosforge.org/trac/ticket/154 Xquartz starting: X.Org X Server 1.4.2-apple31 Build Date: 20090112 (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base Could not init font path element /opt/local/share/fonts/misc/, removing from list! Could not init font path element /opt/local/share/fonts/TTF/, removing from list! Could not init font path element /opt/local/share/fonts/OTF, removing from list! Could not init font path element /opt/local/share/fonts/Type1/, removing from list! Could not init font path element /opt/local/share/fonts/100dpi/, removing from list! Could not init font path element /opt/local/share/fonts/75dpi/, removing from list! Could not init font path element /Library/Fonts, removing from list! Could not init font path element /System/Library/Fonts, removing from list! Fatal server error: could not open default font 'fixed' AbortDDX Quitting Xquartz... Xquartz: start_x11_server: (ipc/mig) server died giving up. xinit: Connection refused (errno 61): unable to connect to X server xinit: No such process (errno 3): Server error. font_cache: Updating FC cache <some time passes, maybe a minute or two> font_cache: Done The next and all following tries yield: X11.app: main(): argc=2 argv[0] = /Applications/MacPorts/X11.app/Contents/MacOS/X11.bin argv[1] = -psn_0_14811137 Waiting for startup parameters via Mach IPC. X11.app: Could not connect to server (DISPLAY is not set). Starting X server. X11.app: Launching /opt/local/bin/startx: argv[0] = /bin/sh argv[1] = -c argv[2] = /opt/local/bin/startx font_cache: Scanning user font directories to generate X11 font caches bootstrap_look_up(): 1102l font_cache: Updating FC cache xauth: creating new authority file /Users/pete/.serverauth.21111 waiting for X server to begin accepting connections X11.app: do_start_x11_server(): argc=8 argv[0] = /opt/local/bin/X argv[1] = :1 argv[2] = -nolisten argv[3] = tcp argv[4] = -dpi argv[5] = 100 argv[6] = -auth argv[7] = /Users/pete/.serverauth.21111 2009-01-12 22:58:06.399 X11.bin[21098] Could not connect the action apps_table_cancel: to target of class X11Controller X11.app: Debug Info: kKLuchrData failed, trying kKLKCHRData. If you are using a 3rd party keyboard layout, please see http:// xquartz.macosforge.org/trac/ticket/154 Xquartz starting: X.Org X Server 1.4.2-apple31 Build Date: 20090112 (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base (EE) XKB: Couldn't open rules file /opt/local/share/X11/xkb/rules/base Could not init font path element /opt/local/share/fonts/misc/, removing from list! Could not init font path element /opt/local/share/fonts/TTF/, removing from list! Could not init font path element /opt/local/share/fonts/OTF, removing from list! Could not init font path element /opt/local/share/fonts/Type1/, removing from list! Could not init font path element /opt/local/share/fonts/100dpi/, removing from list! Could not init font path element /opt/local/share/fonts/75dpi/, removing from list! Could not init font path element /Library/Fonts, removing from list! Could not init font path element /System/Library/Fonts, removing from list! Fatal server error: could not open default font 'fixed' AbortDDX Quitting Xquartz... Xquartz: start_x11_server: (ipc/mig) server died giving up. xinit: Connection refused (errno 61): unable to connect to X server xinit: No such process (errno 3): Server error. font_cache: Done The X11 jumps up and down a few times, then it vanishes. The result is the same independent of the presence of a ~/.xinitrc file. (My ~/.xserverrc is already moved away sinced the up-to-date X11.app is using my screen's resolution.) -- Greetings Pete I love deadlines. I love the whooshing noise they make as they go by. – Douglas Adams
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
participants (1)
-
Peter Dyballa