[Mono-list] mono installation problem on RedHat9
Hello Friends, I am trying to install Mono 1.0 Release: Red Hat Linux 9.0, x86 . I have downloaded zip file mono-all.zip which contains lot of RPM files. but have problem that when i try to install some rpm, i have this error message: for example i execute: rpm - i mono-ms-enterprise-1.0-1.xmian.6.1.i386.rpm and result i get: error: mono-ms-enterprise-1.0-1.xmian.6.1.i386.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 20480 count 4096 error: mono-ms-enterprise-1.0-1.xmian.6.1.i386.rpm cannot be installed could somebody help me how to install mono on RedHat9 ? it's possible ? or need i choose different linux distribution ? many thanks for help Ivan Turcan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] gtk-sharp on macos
Hi, I had this problem too, but then I updated my /etc/mono/config file with some extra dll maps like this: dllmap dll=libgtk-win32-2.0-0.dll target=libgtk-x11-2.0.so.0/ dllmap dll=libgobject-2.0-0.dll target=libgobject-2.0.so.0/ dllmap dll=libglade-2.0-0.dll target=libglade-2.0.so.0/ dllmap dll=libgdk_pixbuf-2.0-0.dll target=libgdk_pixbuf-2.0.so.0/ dllmap dll=libpango-1.0-0.dll target=libpango-1.0.so.0/ dllmap dll=gtkhtml-3.0 target=libgtkhtml-3.1.so/ It seems to work fine now. Hope this helps. Jamil On Tue, 2004-12-07 at 15:05 -0600, Javier Diaz wrote: Hello guys I've just compiled and installed gtk-sharp-1.0.4 on my macos system, I also have Mono 1.0.4 $ pkg-config --libs gtk-sharp -r:/Library/Frameworks/Mono.framework/Versions/1.0.4/lib/mono/gtk-sharp/glib-sharp.dll -r:/Library/Frameworks/Mono.framework/Versions/1.0.4/lib/mono/gtk-sharp/pango-sharp.dll -r:/Library/Frameworks/Mono.framework/Versions/1.0.4/lib/mono/gtk-sharp/atk-sharp.dll -r:/Library/Frameworks/Mono.framework/Versions/1.0.4/lib/mono/gtk-sharp/gdk-sharp.dll -r:/Library/Frameworks/Mono.framework/Versions/1.0.4/lib/mono/gtk-sharp/gtk-sharp.dll the programs compile fine, but mono, can't ecxecute them $ ./make.sh Checking for package gtk-sharp...yes Checking for package glade-sharp...yes mkdir -p ./build/bin mcs -target:exe -out:CalcGladeApp.exe -resource:./gui.glade,gui.glade -pkg:gtk-sharp -pkg:glade-sharp ./Main.cs ./AssemblyInfo.cs \ cp CalcGladeApp.exe ./build/bin/. Compilation succeeded $ mono bin/Debug/CalcGladeApp.exe Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll in 0x000dc (wrapper managed-to-native) Gtk.Application:gtk_init (int,intptr) in 0x0004c Gtk.Application:Init () in 0x0007c GladeApp:.ctor (string[]) in 0x0003c GladeApp:Main (string[]) $ echo $DYLIB_LIBRARY_PATH :/Library/Frameworks/Mono.framework/Versions/1.0.4/lib:/Users/javierdiaz/usr/lib:/sw/lib is it ok that mono looks for libgtk-win32-2.0-0.dll ? Any ideas ? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] IHttpModule and xsp
Gonzalo, Very good, I shall wait until the next release, I will also update my libglib at the same time and see if that remedies all that is that is awry on my server. Many thanks for your help. Regards, Shawn Gonzalo Paniagua Javier wrote: On Tue, 2004-12-07 at 19:57 -0500, Shawn Vose wrote: Gonzalo, In response to what version I am running of mono and xsp I am running 1.04. I noticed when I fire up xsp I get the following message You can either grab what we have in svn or wait until next release (may be just a few days more). [EMAIL PROTECTED] voseman]$ xsp --version (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2129 (g _strsplit): assertion `string != NULL' failed (/usr/local/bin/xsp.exe:22063): GLib-CRITICAL **: file gstrfuncs.c: line 2241 (g _strjoinv): assertion `str_array != NULL' failed xsp.exe 1.0.4.0 That does not look good at all. May be you have an old libglib? -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] installation Mono on RedHat9 ...again
Hi friends, again i would like to ask about installation.. i have installed it success. but need to tell that is crazy to find right order which i have to follow for install rpm's.. exists some installation script which will install rpm's correctly with right order ? or it's strange manual work ? many thanks btw. have tried my .Net remoting project and it work's without to change line of code , so it's very good job from mono programmers... many thanks for that Ivan ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] System.Net.TcpClient and IIS6?
Hi all I've been doing a little experiment with TcpClient (my first time ;)) and seem to have stumbled across a difference between mono and ms.NET when talking to IIS6 servers. I've attached the source below (apologies for bad code - it's just a quick experiment to get used to the System.Net stuff) If I do.. mono client.exe www.forgecom.info 80 / under mono (1.0.4 on FC3), the output cuts out in the middle of the response (not sure of the exact position (though it seems consistent). under .NET (1.1 on windows 2000), the output is complete. I've not tested it using mono on win32, by the way. I've compiled the source using the command: mcs -t:exe -out:client.exe TcpClient.cs under mono (1.0.4 on FC3) and run the same resulting exe on both systems. From my tests so far, mono only seems to have a problem when talking to IIS6. IIS5 and apache seem ok! Is this a bug or am I missing something? Cheers, Rus. using System; using System.Net; using System.Net.Sockets; using System.Text; class MyClient { public static void Main(string[] args) { string host = args[0]; Int32 port = Convert.ToInt32(args[1]); string request = String.Format(GET {0} HTTP/1.1\r\nHost: {1}\r\nConnection: Close\r\n\r\n, args[2], host); Console.WriteLine(host={0}, port={1}, request={2}, host, port, request); string result = Get(host, port, request); Console.WriteLine(result); } public static string Get(string Hostname, Int32 Port, string request) { string result = ; int bufferSize; TcpClient client = new TcpClient(Hostname, Port); NetworkStream net = client.GetStream(); using(client) { Byte[] sendBytes = Encoding.ASCII.GetBytes(request); net.Write(sendBytes, 0, sendBytes.Length); byte[] readBytes; do { bufferSize = client.ReceiveBufferSize; readBytes = new byte[bufferSize]; net.Read(readBytes, 0, bufferSize); result += Encoding.ASCII.GetString(readBytes); } while(net.DataAvailable); } net.Close(); client.Close(); return(result); } }
Re: [Mono-list] installation Mono on RedHat9 ...again
On Wed, 8 Dec 2004 15:09:40 +0100, Ivan Turcan [EMAIL PROTECTED] wrote: Hi friends, again i would like to ask about installation.. i have installed it success. but need to tell that is crazy to find right order which i have to follow for install rpm's.. exists some installation script which will install rpm's correctly with right order ? or it's strange manual work ? Fedora legacy has a utility called Yum that will allow you to continue getting updates for your now unsupported version of Red Hat Linux. If you install Yum you may be able to then add a line to /etc/yum.conf that has this as a repo location: [mono] name=mono baseurl=http://www.go-mono.com/archive/1.0.4/redhat-9-i386 I don't know if that will work with rhl9 but I know it works with FC1 and FC2. *If* it does work you can then just do yum install mono-complete to get everything in one step. By the way, if you search google, you can find instructions for doing an in-place upgrade to FC1. I upgraded from RH 8 to FC1 without even doing a reboot. -- Matthew Nuzum [EMAIL PROTECTED] www.followers.net - Makers of Elite Content Management System View samples of Elite CMS in action by visiting http://www.followers.net/portfolio/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Creating a Gnome Applet with Mono
Greetings, I'd like to put an icon of my application into the notification area. How do I do that? best regards, mfg ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mod_mono No application found for error
I've setup apache2 to use mod_mono here's a part of my config file: 205 Directory /home/*/pubwww 206 SetHandler mono 207 Options +Indexes 208 Allow from all 209 /Directory I get the following error in error_log: [Wed Dec 08 18:52:22 2004] [notice] Apache/2.0.52 (Gentoo/Linux) PHP/4.3.9 mod_mono/1.0.4 configured -- resuming normal operations [Wed Dec 08 18:52:24 2004] [error] No application found for /~jonas/test.aspx -- Jonas Geiregat [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Creating a Gnome Applet with Mono
Hi Andreas, There are two forms, using libegg# or implement all code. See this applications in C# to look how make gnome applets: http://www.beatniksoftware.com/tomboy/ this note application cam implement a gnome applet and some other cool things. http://www.atoker.com/switcher/ is a tray applet for dynamically changing the XFree86 display mode, it uses egg#. http://www.atoker.com/evolver/ another application that uses egg#. Best regards, Everaldo. Em Qua, 2004-12-08 s 15:34 +0100, Andreas Sliwka escreveu: Greetings, I'd like to put an icon of my application into the notification area. How do I do that? best regards, mfg ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mod_mono No application found for error
Being a complete newbe to C#, mono, etc.. I may be totally wrong, but I just set up mod_mono and I had the same issue. I forgot to add the MonoApplications Directive: MonoApplications [path on server]:[path on disk] Directory .. .. /Directory Works for me, but I not doing virtual user directories. Jonas Geiregat wrote: I've setup apache2 to use mod_mono here's a part of my config file: 205 Directory /home/*/pubwww 206 SetHandler mono 207 Options +Indexes 208 Allow from all 209 /Directory I get the following error in error_log: [Wed Dec 08 18:52:22 2004] [notice] Apache/2.0.52 (Gentoo/Linux) PHP/4.3.9 mod_mono/1.0.4 configured -- resuming normal operations [Wed Dec 08 18:52:24 2004] [error] No application found for /~jonas/test.aspx ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] System.Net.TcpClient and IIS6?
On Wed, 2004-12-08 at 14:05 +, rus wrote: Hi all I've been doing a little experiment with TcpClient (my first time ;)) and seem to have stumbled across a difference between mono and ms.NET when talking to IIS6 servers. I've attached the source below (apologies for bad code - it's just a quick experiment to get used to the System.Net stuff) If I do.. mono client.exe www.forgecom.info 80 / under mono (1.0.4 on FC3), the output cuts out in the middle of the response (not sure of the exact position (though it seems consistent). under .NET (1.1 on windows 2000), the output is complete. I've not tested it using mono on win32, by the way. I've compiled the source using the command: mcs -t:exe -out:client.exe TcpClient.cs under mono (1.0.4 on FC3) and run the same resulting exe on both systems. From my tests so far, mono only seems to have a problem when talking to IIS6. IIS5 and apache seem ok! Is this a bug or am I missing something? The problem is in your test code: do { bufferSize = client.ReceiveBufferSize; readBytes = new byte[bufferSize]; net.Read(readBytes, 0, bufferSize); result += Encoding.ASCII.GetString(readBytes); } while(net.DataAvailable); The condition 'net.DataAvailable' might be false at a certain point. Ie, there might not be data to read but it will be there soon. You better use Read (or may be Poll/Read). -Gonzalo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] docs
Hello, The idea is to host this on Monkeyguide, so we are self contained. This sounds like a good idea to me, but I'm concerned about keeping the Monkeyguide organized in such a way that people can find what they need. At least at present, it seems like new/en/articles/ would be the place for it. I think there should be a chapter for this subject at some point, documentation is a key part of Mono, and we should keep this updated on a moving-forward basis. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list