[Mono-list] Mono compilation problems (Solaris 8, SPARC)

Gonzalo Paniagua Javier gonzalo.reply.to.the.list.iam.subscribed@ximian.com
Wed, 01 Sep 2004 11:58:56 -0400


On Wed, 2004-09-01 at 08:10, Harry Sufehmi wrote:
> Thanks to Jeremy and Mono team for releasing Mono v1.0.1, I've been able 
> to compile Mono and XSP webserver successfully on a Sun server running 
> Solaris 8.
> 
> However, when I tried to run the XSP webserver, I got the following 
> error message:
> 
> ==============================
> bash-2.99# /bcc/mono-1.0.1/bin/mono /usr/local/xsp-1.0.1/bin/xsp.exe 
> --port 40000
> xsp
> Adding applications '/:.'...
> Registering application:
>      Host:          any
>      Port:          any
>      Virtual path:  /
>      Physical path: /usr/local/xsp-1.0.1/share/doc/xsp/test
> Listening on port: 40000
> Listening on address: 0.0.0.0
> Root directory: /usr/local/xsp-1.0.1/share/doc/xsp/test
> 
> Unhandled Exception: System.Net.Sockets.SocketException: Invalid arguments
> in <0x009e8> System.Net.Sockets.Socket:Select 
> (System.Collections.IList,System.Collections.IList,System.Collections.IList,int)
> in <0x00118> Mono.ASPNET.ApplicationServer:RunServer ()
> in <0x0008c> (wrapper delegate-invoke) 
> System.MulticastDelegate:invoke_void ()
> 
> Hit Return to stop the server.
> ==============================
> 
> I'm clueless at the moment as what to do now to resolve this problem.
> 
> If you have any idea about it, do please let me know.
> 

Yes. Solaris does not support setting the timeout on a socket. Try CVS
version of xsp, as that exception is ignored now in case it happens.

-Gonzalo