[Mono-list] xsp, and gtk# install problems on Mac

Malcolm Schonfield mschonfield@virtutis.com
Mon, 21 Feb 2005 17:05:55 +0100


Hi,
I have a problem with xsp (version 1.0.6.0). I can start the server:
$ sudo mono /usr/lib/mono/1.0/xsp.exe --port 8081
xsp
Listening on port: 8081
Listening on address: 0.0.0.0
Root directory: /usr/share/doc/xsp/test
Hit Return to stop the server.

,  however I get the following whenever xsp receives a request:
System.InvalidOperationException: Process has not been started.
in <0x00084> System.Diagnostics.Process:get_ExitCode ()
in <0x0006c> (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_ExitCode ()
in <0x002a0> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
(System.CodeDom.Compiler.CompilerParameters,string[])
in (unmanaged) (wrapper xdomain-dispatch)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,strin
g,byte[],string)
in <0x00108> (wrapper xdomain-dispatch)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,strin
g,byte[],string)
in <0x0029c> (wrapper xdomain-invoke)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string)
in <0x0013c> (wrapper remoting-invoke-with-check)
Mono.ASPNET.XSPApplicationHost:ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string)
in <0x0059c> Mono.ASPNET.XSPWorker:Run (object)

I get this when XSP is requested a ASP.NET page or even a simple flat
html page. I'm running mono on Mac OS X 10.3, I have mono 1.1.4
installed.=20
I've looked around for previous encounters of this problem and found two
references:
1) Try removing contents of .wapi directory
	No joy
2) Make sure $PATH contains mcs

$ echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:.
$ mcs --version
Mono C# compiler version 1.1.4.0

So i guess that's not the problem.
Now I have a reason to try out the mono debugger!=20

Otherwise, my simple console hello world app works. I'm a bit stuck in
installing gtk# on the mac. For the full story:=20
http://www.gotmono.com/cgi-bin/yabb/YaBB.pl?board=3Dnews;action=3Ddisplay=
;nu
m=3D1108662398;start=3D0=20


Thanks for any help on this!