[MacPorts] #17558: _X11TransSocketUNIXConnect: Cannot connect to non-local host ???D
MacPorts
noreply at macports.org
Tue Dec 9 18:32:01 PST 2008
#17558: _X11TransSocketUNIXConnect: Cannot connect to non-local host ???D
---------------------------------+------------------------------------------
Reporter: vinc17@… | Owner: jeremyhu@…
Type: defect | Status: assigned
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: crash | Port: xorg-libX11
---------------------------------+------------------------------------------
Comment(by jeremyhu@…):
My hunch is that xorg-libX11 is building with the xtrans in /usr/X11
rather than ${prefix}
Can someone test out this beep.c:
{{{
#include <X11/Xlib.h>
int main() {
Display *dpy = XOpenDisplay(NULL);
XBell(dpy, 100);
XFlush(dpy);
return 0;
}
}}}
{{{
gcc -o beep_system -L/usr/X11R6/lib -I/usr/X11/include beep.c -lX11
gcc -o beep_macports -L/opt/local/lib -I/opt/local/include beep.c -lX11
}}}
I assume the 'beep_macports' will fail.
Next, uninstall xorg-libX11, then mv /usr/X11R6/include
/usr/X11R6/include.bak, then reinstall xorg-libX11
If my assumption is right, beep_macports will now work...
--
Ticket URL: <http://trac.macports.org/ticket/17558#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list