[Xquartz-dev] Re: libX11 compile question

Ben Byer bbyer at apple.com
Mon Dec 10 21:07:34 PST 2007

On Dec 10, 2007, at 6:29 PM, Jeremy Huddleston wrote:

> I asked you this before but never really responded to your  
> response.  I'm having trouble compiling a working libX11 on my own.   
> Your compiled 1.1.3 version works fine, but when I drop in the one I  
> compile, I get breakage:
> (17:23:05 Mon Dec 10 2007 jeremy at tifa i386)
> ~/src/freedesktop/src $ xterm
> _X11TransSocketINETConnect() can't get address for /tmp/launch- 
> R9Xor0/:6000: nodename nor servname provided, or not known
> xterm Xt error: Can't open display: /tmp/launch-R9Xor0/:0
> I compiled it using:
> --disable-xf86bigfont --without-xcb --disable-static
> CFLAGS="-Wall -O2 -arch i386 -arch ppc -arch x86_64 -arch ppc64 - 
> I also have the latest git of xtrans (which is where  
> _X11TransSocketINETConnect() comes from).  What am I missing here?

Nothing jumps out at me as obvious -- I assume you've checked using  
otool -L to make sure that xterm is really linking against the correct  
libX11 (and not one from MacPorts, or something -- although we should  
fix that in MacPorts, too :))

Can you put up the binary you're generating for libX11 somewhere?    
I'll disassemble it and compare it to what I get when I build with  
those flags.
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer

More information about the Xquartz-dev mailing list