[Mono-list] RE: Mono-list Digest, Vol 2, Issue 3

BMC Jonathan McCullagh jmccullagh at beeches.bmc.n-i.nhs.uk
Fri Jun 3 04:10:17 EDT 2005


Thanks Joshua for all the help so far,
OK - I removed my "inverted commas" from the httpd.conf file and restarted apache and did some tests and got some good results but before that I will list my my httpd.conf (now without inverted commas) again:

LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so

MonoServerPath /usr/lib/mono/1.0/mod-mono-server.exe
MonoExecutablePath /usr/bin/mono
MonoApplications /mono:/usr/share/doc/xsp/test

Alias /mono /usr/share/doc/xsp/test

DirectoryIndex index.aspx

AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx


Now when I type www.mydomain.com/mono
I get the default mono aspx page :-) with working examples

However, when I try to load an aspx page at one of my vhosts I still get:
Not Found
The requested document was not found on this server. 

...so I checked the error_log:
Directory /etc/httpd/conf/mod-mono-applications does not exist.
[Thu Jun 02 21:56:54 2005] [error] No application found for /punctual.aspx

I'm not sure where it is getting the mod-mono-applications directive from as it is not in the httpd.conf

Anyway I think I need to put something into my httpd.conf so that all vhosts can use aspx or else I need to add directives to each vhost conf file, Either way I'd appreciate advice or an example directive - I do not want to slow my whole server down just because there are a few aspx pages in a few sites? But I think mono is only initiated when an actual aspx page is called
- am I right?

I am quite close so thanks for the help once again.
j


*******************************
Jonny McCullagh
Web Developer
The Beeches Management Centre
12 Hampton Manor Drive
Belfast
BT7 3EN
Tel: 028 9069 0404
Fax: 028 9049 1855
Mobile: 077 8842 6130
jmccullagh at beeches.bmc.n-i.nhs.uk
www.bmc.n-i.nhs.uk
*******************************


-----Original Message-----
From: mono-list-request at lists.ximian.com [mailto:mono-list-request at lists.ximian.com] 
Sent: 02 June 2005 18:54
To: mono-list at lists.ximian.com
Subject: Mono-list Digest, Vol 2, Issue 3

Send Mono-list mailing list submissions to
	mono-list at lists.ximian.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.ximian.com/mailman/listinfo/mono-list
or, via email, send a message with subject or body 'help' to
	mono-list-request at lists.ximian.com

You can reach the person managing the list at
	mono-list-owner at lists.ximian.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mono-list digest..."


Today's Topics:

   1. Re: Summer code: Managed Direct3D (Manuel Alejandro Ceron Estrada)
   2. Re: mod_mono Service Temporarily Unavailable
      (BMC Jonathan McCullagh)
   3. Re: problems running debugger on amd64 (Norbert Berzen)
   4. Re: problems running debugger on amd64 (Michal Moskal)
   5. Re: Re: mod_mono Service Temporarily Unavailable (Joshua Tauberer)
   6. Shadow copying (Korn?l P?l)
   7. RE: Mono-list Digest, Vol 2, Issue 2 (Orin Walker)
   8. Re: RE: Mono-list Digest, Vol 2, Issue 2 (Ben Maurer)
   9. System.Drawing.GDIPlus is it a common problem? (David Broome)


----------------------------------------------------------------------

Message: 1
Date: Wed, 01 Jun 2005 17:46:14 -0500
From: Manuel Alejandro Ceron Estrada <ceronman at gmail.com>
Subject: Re: [Mono-list] Summer code: Managed Direct3D
To: Korn?l P?l <kornelpal at hotmail.com>
Cc: mono-list at lists.ximian.com
Message-ID: <429E3AB6.7050605 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I thing it is a great project. You can work on the top of Tao.OpenGL in 
order to get Hardware Aceleration.

Manuel.

Kornél Pál wrote:
>> Is this an acceptable project?
> 
> 
> Mono is primary for Linux. As I know it is used on Windows only by
> developers to ensure chross-runtime compatibility and exists on Windows to
> test the portability of the runtime.
> 
> I you want to implemet something that is not based on DirectX it will 
> result
> in worse performance than a layer that is hardware based like DirectX.
> 
> There are some hardware based (I think proprietary, but there may be open
> source as well) DirectX API implementations for Linux that can be used as
> the base of your work to provide better performance.
> 
> If there is a need for DirectX compatible managed interface on Linux this
> work can be useful.
> 
> Kornél
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 

-- 
· Manuel Alejandro Cerón Estrada <ceronman at gmail.com>
· http://ceronman.blogspot.com


------------------------------

Message: 2
Date: Thu, 2 Jun 2005 09:12:31 +0100
From: "BMC Jonathan McCullagh" <jmccullagh at beeches.bmc.n-i.nhs.uk>
Subject: [Mono-list] Re: mod_mono Service Temporarily Unavailable
To: <mono-list at lists.ximian.com>
Message-ID:
	<081BD00532D9D611817F000347B0E1B894D719 at mail.beeches.bmc.n-i.nhs.uk>
Content-Type: text/plain;	charset="US-ASCII"

In relation to my trying to get mod_mono running on FC2 with my vhosts -
the httpd error_log shows the following:

[Wed Jun 01 21:25:03 2005] [error] Failed running '\x93/usr/bin/mono\x94
\x93/usr/lib/mono/1.0/mod-mono-server.exe\x94 --filename
/tmp/mod_mono_server --applications
\x93/mono:/usr/share/doc/xsp/test\x94 --nonstop --appconfigdir
/etc/httpd/conf/mod-mono-applications (null) (null) (null) (null)'.
Reason: No such file or directory
[Wed Jun 01 21:25:06 2005] [error] Failed connecting. No such file or
directory

it looks a bit weird to me but i checked the files they all seem to
exist except:
/tmp/mod_mono_server ???
/etc/httpd/conf/mod-mono-applications  ?? (I have a mod_mono.conf in
/etc/httpd/conf.d/ which are all included in the main httpd.conf)
 
So I am guessing the problem lies with the file supposedly in /tmp/ or
with this mod-mono-applications command supposedly in conf
 
I appreciate any help you can provide.
j




------------------------------

Message: 3
Date: Thu, 02 Jun 2005 10:36:48 +0200
From: Norbert Berzen <norbert at spice.gia.rwth-aachen.de>
Subject: Re: [Mono-list] problems running debugger on amd64
To: mono-list at lists.ximian.com
Message-ID: <1117701407.23005.27.camel at spice.gia.rwth-aachen.de>
Content-Type: text/plain

Hi Michal,

I have exactly the same problem, but with a ordinary athlon system. Just
out of curiosity: Did you compile mono/mcs/debugger yourself, or do you
use precompiled mono packages? Not for saying too much, but I think
there is something seriously wrong with the debugger. You even cannot
compile it. Last monday (20050530) I fetched mono/mcs/debugger from svn.
Mono/mcs compiles fine. But debugger did not! AFAIR in "Interpreter.cs"
there is a reference to "Mono.Debugger.ThreadManager.TargetOutputEvent"
but "Mono.Debugger.ThreadManager" does not define such beast. I'm
wondering how all the other people get it compiled and running ;-). Not
for saying too much but all parts of mono (mono-svn-20050530,
mcs-svn-20050530, monodoc-1.0.6, xsp-1.0.9, gecko-sharp-2.0-0.10
gtk-sharp-1.9.5, monodevelop-0.7, gtksourceview-sharp-2.0-0.10) are
running like charm for me, with the exception of the debugger: The
debugger simply looses! Last time I got the debugger up and running as
almost one year ago. May be I'am making some serious mistakes! Perhaps
one of the mono experts can give us some hint on making the debugger
work! Having a >>working<< debugger would be really great!


Greetings,
-- 
Dr. Norbert Berzen              Tel.:   +49 241 80-95292
Geodaet. Institut, RWTH Aachen  Fax.:   +49 241 80-92142
Templergraben 55, 52062 Aachen  E-Mail: norbert at spice.gia.rwth-aachen.de



------------------------------

Message: 4
Date: Thu, 2 Jun 2005 11:05:59 +0200
From: Michal Moskal <michal.moskal at gmail.com>
Subject: Re: [Mono-list] problems running debugger on amd64
To: mono-list <mono-list at lists.ximian.com>
Message-ID: <b323bb98050602020550b1970d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 6/2/05, Norbert Berzen <norbert at spice.gia.rwth-aachen.de> wrote:
> Hi Michal,
> 
> I have exactly the same problem, but with a ordinary athlon system. Just
> out of curiosity: Did you compile mono/mcs/debugger yourself, or do you
> use precompiled mono packages? 

Debugger is in precompiled packages? I didn't know. I compiled it myself.

> Not for saying too much, but I think
> there is something seriously wrong with the debugger. You even cannot
> compile it. Last monday (20050530) I fetched mono/mcs/debugger from svn.
> Mono/mcs compiles fine. But debugger did not! AFAIR in "Interpreter.cs"
> there is a reference to "Mono.Debugger.ThreadManager.TargetOutputEvent"
> but "Mono.Debugger.ThreadManager" does not define such beast.

I did a fresh svn checkout on Jun 1 and it compiled fine.

> Having a >>working<< debugger would be really great!

True.

-- 
   Michal Moskal,
   http://nemerle.org/~malekith/


------------------------------

Message: 5
Date: Thu, 02 Jun 2005 07:22:01 -0400
From: Joshua Tauberer <tauberer at for.net>
Subject: Re: [Mono-list] Re: mod_mono Service Temporarily Unavailable
To: BMC Jonathan McCullagh <jmccullagh at beeches.bmc.n-i.nhs.uk>
Cc: mono-list at lists.ximian.com
Message-ID: <429EEBD9.7010203 at for.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed

BMC Jonathan McCullagh wrote:
> [Wed Jun 01 21:25:03 2005] [error] Failed running '\x93/usr/bin/mono\x94
> (snip)
> Reason: No such file or directory

I don't think it's lying.  :)  What are these '\x93' and '\x94's doing? 
  Do you have weird curly quotes in your httpd.conf, instead of regular 
straight quotes?

Btw, if you installed from RPMs, or (I think) if you compiled mod_mono 
with --prefix=/usr, you don't need MonoServerPath and MonoExecutablePath 
at all.

-- 
- Joshua Tauberer

http://taubz.for.net

** Nothing Unreal Exists **




------------------------------

Message: 6
Date: Thu, 2 Jun 2005 13:50:56 +0200
From: Korn?l P?l <kornelpal at hotmail.com>
Subject: [Mono-list] Shadow copying
To: <mono-devel-list at lists.ximian.com>, <mono-list at lists.ximian.com>
Message-ID: <BAY22-DAV15F9944BAB3C0F3187B20FA3060 at phx.gbl>
Content-Type: text/plain; format=flowed; charset="iso-8859-2";
	reply-type=original

Hi,

Does the Mono runtime implement shadow copying of assemblies?

Kornél



------------------------------

Message: 7
Date: Thu, 2 Jun 2005 09:48:11 -0400
From: "Orin Walker" <Orin.Walker at datamaxx.com>
Subject: [Mono-list] RE: Mono-list Digest, Vol 2, Issue 2
To: <mono-list at lists.ximian.com>
Message-ID:
	<54D82C06BCF7CC4AA921F39D98BA504814A6DD at EX-TR-CLUSTGR.datamaxx.corp>
Content-Type: text/plain; charset="iso-8859-1"

Can someone please advise me how to get monodevelop installed. I am running SuSe 9.1 personal. I have downloaded red-carpet but I'm unable to find a Mono channel listed. I've downloaded the installer (mono-1.1.7-1-installer.bin) but when I run it nothing happens. I have tried running the installer in both the GTK graphics mode and the xwindow mode. I installed mono-complete using apt but I don't find monodevelop listed there either. I have also searched using YaST but once again, I can't find it. I have all of the rpms downloaded but there are dependencies that cannot be resolved since rpm cannot resolve them using the rpms that are downloaded from the mono-project website (rpm -Uvh *.rpm).

Any help would be greatly appreciated,

Orin Walker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2853 bytes
Desc: not available
Url : http://galactus.ximian.com/pipermail/mono-list/attachments/20050602/846743a0/attachment-0001.bin

------------------------------

Message: 8
Date: Thu, 02 Jun 2005 13:44:13 -0400
From: Ben Maurer <bmaurer at ximian.com>
Subject: Re: [Mono-list] RE: Mono-list Digest, Vol 2, Issue 2
To: Orin Walker <Orin.Walker at datamaxx.com>
Cc: mono-list at lists.ximian.com
Message-ID: <1117734254.7374.5.camel at linux.site>
Content-Type: text/plain

On Thu, 2005-06-02 at 09:48 -0400, Orin Walker wrote:
> Can someone please advise me how to get monodevelop installed. I am
> running SuSe 9.1 personal. I have downloaded red-carpet but I'm unable
> to find a Mono channel listed. I've downloaded the installer
> (mono-1.1.7-1-installer.bin) but when I run it nothing happens. I have
> tried running the installer in both the GTK graphics mode and the
> xwindow mode. I installed mono-complete using apt but I don't find
> monodevelop listed there either. I have also searched using YaST but
> once again, I can't find it. I have all of the rpms downloaded but
> there are dependencies that cannot be resolved since rpm cannot
> resolve them using the rpms that are downloaded from the mono-project
> website (rpm -Uvh *.rpm).

SUSE 9.1 is no longer supported from red carpet. The mono rpms will
work, as they are cross distro, however gtk# ones won't.

SUSE 9.1 probably has GTK 2.2, which is too old for MD. 

-- Ben



------------------------------

Message: 9
Date: Thu, 02 Jun 2005 10:49:28 -0700
From: David Broome <dbroome at finearts.uvic.ca>
Subject: [Mono-list] System.Drawing.GDIPlus is it a common problem?
To: mono-list at lists.ximian.com
Message-ID: <1117734568.429f46a8ddd8e at www2.finearts.uvic.ca>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

I am new to MONO and MDID2 (a Mono app) but I wonder if it have stumbled on a
common problem.

I have a working MONO 1.17 / Mod-mono 1.0.9 / MDID2 0.5.0 server with one
problem.

The problem is the MDID2 "Print View" and "Flash Cards" fails with a:

System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
libgdiplus.so

But yes I have libdgiplus.so in the /usr/local/lib directory (my target was
/usr/local/)

I see from the installwatch that both mono 1.1.7 and the libgdiplus 1.1.7 each
installed it.

I found a few old references to this on the mono list and followed the
suggestion to add it to the mono config as such:

<dllmap dll="gdiplus.dll" target="libgdiplus.so" />

But no luck..   Is this an unresolved issue or do people have suggestions?

The system is ubuntu linux 5 'hoary'.

Dave,
--
David Broome   Programmer_Analyst.FineArts.UVic.CA  /BSc /CNA /MCP
250.721-6307   dbroome at finearts.uvic.ca                FIA 221


------------------------------

_______________________________________________
Mono-list mailing list
Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


End of Mono-list Digest, Vol 2, Issue 3
***************************************



More information about the Mono-list mailing list