|
Re: ANNOUNCE ex11 release two: msg#00257lang.erlang.general
"Vlad Dumitrescu" <vlad_dumitrescu@xxxxxxxxxxx> writes: > One problem though: it doesn't work for me :-) > > It tries to initialize the X server, and seemingly hangs after displaying the As far as I can see all "bullet proof" xlibs use unix-domain sockets. TCP-based ones never work on my computers. So here is a small ex11 patch that adds support for using unix-domain sockets. This makes it work on my Debian box at least. This uses unix sockets only if a) the 'unixdom2' module is loadable and b) the DISPLAY is of the form ":0.0" (i.e. has number but no host). It requires Scott Fritchie's unixdom-0.1 from erlang.org contributions. To make that compile you need to add $ERL/usr/include/obsolete/ to CFLAGS to find driver.h (patch for that attached too.)
+++ /home/luke/src/unixdom-0.1/src/Makefile 2004-01-22 14:42:53.000000000 +0100 @@ -6,7 +6,7 @@ CPPFLAGS= LDFLAGS= LIBS= -CFLAGS=-g -I$(ERLDIR)/usr/include +CFLAGS=-g -I$(ERLDIR)/usr/include -I$(ERLDIR)/usr/include/obsolete ERL=erl ERLC=erlc @@ -47,7 +47,7 @@ ERL_FLAGS = DRIVER_H_DIR = /usr/local/lib/erlang/usr/include -CFLAGS = -g -I$(DRIVER_H_DIR) -DNEED_EXTRA_FUNCS -Wall -pedantic +CFLAGS += -g -I$(DRIVER_H_DIR) -DNEED_EXTRA_FUNCS -Wall -pedantic .SUFFIXES: .jam .beam .erl .so .c |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: OS scheduling vs. VM scheduling: 00257, todd |
|---|---|
| Next by Date: | Re: ANNOUNCE ex11 release two: 00257, Vlad Dumitrescu |
| Previous by Thread: | Re: ANNOUNCE ex11 release twoi: 00257, Vlad Dumitrescu |
| Next by Thread: | Re: ANNOUNCE ex11 release two: 00257, Vlad Dumitrescu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |