Announce EX11 release 2.5

Bengt Kleberg <>
Wed May 12 16:59:05 CEST 2004


Joe Armstrong wrote:

>On Wed, 12 May 2004, Bengt Kleberg wrote:
>
>  
>
...deleted

>  
>
>>on a more serious note:
>>is ex11 supposed to be useable on solaris (sunos 5.8)?
>>    
>>
>
>It's never been tested on Solaris - it might work - I have done
>nothing with the unix-domain socket stuff - just go it working
>on my linux boxes. If the domain sockets fails on Solaris delete
>the entire domain sockets dioretory and try again - ex11 will then use
>TCP sockets
>
>  
>
should this go to Scott Lystig Fritchie, too?

the unixdom-0.1/src/Makefile needed updating for ERLDIR and CC. since my 
CC was cc i needed to change CFLAGS. here i removed ''-Wall -pedantic''. 
at first i tried to replace them with the cc equivalents ''-v -Xc'', but 
this produced way too many warnings.
moreover, i needed to replace ''-pict -shared'' with -G to create a 
shared library (.so).

after having built everything i tested with example0:start(). this crashed.
=ERROR REPORT==== 12-May-2004::16:29:26 ===
Error in process <0.45.0> with exit value: 
{badarg,[{erlang,hd,[[]]},{ex11_lib_utils,mk_colorfun,2},{ex11_lib_control,init,1}]}

the reason for this crash is that visuals is empty here:
lib/ex11_lib_utils.erl:178:    V = hd(D#depth.visuals),

this is the whole depths list:

                   {depth,1,0,[]},
                   {depth,8,
                          10,
                          [{visual,32,3,0,0,0,8,256},
                           {visual,33,3,0,0,0,8,256},
                           {visual,34,2,7,56,192,8,256},
                           {visual,35,0,0,0,0,8,256},
                           {visual,36,1,0,0,0,8,256},
                           {visual,37,4,7,56,192,8,8},
                           {visual,38,5,7,56,192,8,8},
                           {visual,39,0,0,0,0,8,256},
                           {visual,46,3,0,0,0,8,256},
                           {visual,47,3,0,0,0,8,255}]},
                   {depth,24,
                          6,
                          [{visual,40,4,255,65280,16711680,8,256},
                           {visual,41,4,255,65280,16711680,8,256},
                           {visual,42,5,255,65280,16711680,8,256},
                           {visual,43,5,255,65280,16711680,8,256},
                           {visual,44,4,255,65280,16711680,8,256},
                           {visual,45,4,255,65280,16711680,8,256}]}

is this ok? do you need more info?

>>while it is simple to replace CC, CFLAGS and LIBS in lib/Makefile i have 
>>not been able to locate ''jpeglib.h''. this file is included from 
>>lib/ex11_lib_read_jpeg.c.
>>
>>    
>>
>
>Ahh - the jpeg stuff is experimental and I havn't tryed this for a long
>time.
>
>  
>
several local ericsson people explained where this is installed. thank 
you all.


bengt



More information about the erlang-questions mailing list