Blank index.aspx (WAS Re: [Mono-list] ModMono.dll build problems)

Gonzalo Paniagua Javier gonzalo@ximian.com
Sun, 14 Sep 2003 13:24:25 +0200


El lun, 01-09-2003 a las 17:07, Jeremiah McElroy escribió:
> On Mon, 2003-09-01 at 10:12, Jeremiah McElroy wrote: 
> > mod_mono builds correctly until I get to the 'make -f makedll.mak'
> > stage.  At this point I see the following:
> > 
> > mcs /debug+ /debug:full /nologo /r:System.Web.dll /target:library
> > /out:ModMono.dll ApacheApplicationHost.cs ApacheWorkerRequest.cs
> > MonoWorkerRequest.cs IApplicationHost.cs Request.cs
> > MonoWorkerRequest.cs(264) error CS0103: The name `Math.Min' could not
> > be found
> > in `Mono.ASPNET.MonoWorkerRequest'
> > Compilation failed: 1 error(s), 0 warnings
> > make: *** [ModMono.dll] Error 1
> 
> I managed to fix this error by replacing Math.Min with System.Math.Min. 
> The error disappeared, and I was able to compile completely.  I ran into
> a few more errors, but nothing that a quick search of the list couldn't
> solve.  
> 
> However, at this stage, I am getting an empty page when I view
> http://127.0.0.1:8080/mono/index.aspx.  I've double checked my
> configuration against what is described in the mod_mono INSTALL file,
> but I cannot figure out what could be causing this.  If anyone has
> input, I would appreciate it.

Try using mod_mono_unix. It's much easier to configure/deploy as the
module itself does not depend on mono libraries.

-Gonzalo