Re: [Mono-dev] gtk-sharp ./configure quick question (Very puzzled)
Hi, /usr/include/vte/vte.h:35: error: syntax error before typedef Supposedly, there is a bug in recent vte releases that doesn't specify correct dependencies to pkg-config so that it can build correct CFLAGS values. I don't know if this has been filed upstream to the vte folks, but that's the problem. It's filed as a bug with gnome http://bugzilla.gnome.org/show_bug.cgi?id=325030 TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] My monoupdater script has been updated *again*
Hi, My somewhat popular monoupdater script has been updated again to include a bugfix, a requested option (the very first) and a bit of a code rejig. Changes from 0.91c (last uploaded version) -- Bugfix - mcs was included when performing a make install. Added option - download. Just checks out the updates/source Code rejig - Partly to sort out the bug listed above, the build is now performed so that libgdiplus is built and installed before anything else and the checkout now works for both the download option and when it was originally used. About the script It was written to save me time, but has grown since then as lots of people seem to be using it (it's had more than 9000 downloads since I originally put it up in all guises). The script takes the form monoupdater.sh options where the options can be listed via the help option. It is 64 bit happy and can take multiple options on the command line. While it's not the most amazing script ever, it does help those who want to dabble in shell scripting as it's pretty well documented and easy to understand. Download http://www.all-the-johnsons.co.uk/mono/monoupdater.sh The script is released under the GPL version 2 (or above) licence. Unless you're from SCO in which case bugger off. It's mine and you can't have it and if you want it, show the world the 298 jumped up, nonsensical and downright asinine infringements. :-D TTFN Paul -- main(t,_,a) char*a;{return!0t?t3?main(-79,-13,a+main(-87,1-_,main(-86, 0,a+1 )+a)):1,t_?main(t+1,_,a ):3,main (-94,-27+t,a)t==2?_13?main(2, _+1,%s %d %d\n):9:16:t0?t-72?main(_,t,@n'+,#'/*{}w+/w#cdnr/+,{}r/*de} +,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl] '/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n 'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{} rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}## (!!/):t-50?_==*a?putchar(31[a]):main(-65,_,a+1):main((*a=='/')+t,_,a+1 ):0t?main(2,2,%s):*a=='/'||main(0,main(-61,*a,!ek;dc [EMAIL PROTECTED]'(q)-[w]*%n+r3#l ,{}:\nuwloca-O;m .vpbks,fxntdCeghiry),a+1);} signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] WebServices with Mono on ARM / Nokia 770
Hi, C# / mono seems to be a very good solution for programming business applications on the Nokia 770 I try with success some GTK# samples (compile on pc and use on N770) (I use the mono-nokia.tgz from http://www.mono-project.com/Mono:ARM ) Now I need WebServices in c# in my N770 I made a small sample from http://www.mono-project.com/Webservices_and_GtkSharp on pc/linux with success. And I tried it on my Nokia 770 (cf my sample at the end of this mail) I added some files it ask for: System.Web.dll, System.Web.Services.dll, System.EnterpriseServices.dll and /usr/local/etc/mono/... files (machine.config) And finally I get the following error: Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. in 0x0 unknown method in 0x0 unknown method (I also tried to compile mono (1.1.9 or 1.1.10) in the scratchbox (0.9.8.5) without success) So, is it possible today to use mono web services in c# on Nokia770? What should I do? Thanks for your answer, Marc. // -- My minimum webservice program: RemoteWebService ws = new RemoteWebService (); string res = ws.Add (firstNumber, secondNumber).ToString (); And WSAppProxy.cs (from wsdl.exe) // -- // autogenerated // This code was generated by a tool. // Mono Runtime Version: 1.1.4322.2032 // /autogenerated // -- namespace GtkWebService { [System.Web.Services.WebServiceBinding(Name=RemoteWebServiceSoap, Namespace=http://tempuri.org/)] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute(code)] public class RemoteWebService : System.Web.Services.Protocols.SoapHttpClientProtocol { public RemoteWebService() { this.Url = ""> } [System.Web.Services.Protocols.SoapDocumentMethodAttribute(http://tempuri.org/Add, RequestNamespace=http://tempuri.org/, ResponseNamespace=http://tempuri.org/, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int Add(int firstNumber, int secondNumber) { object[] results = this.Invoke(Add, new object[] { firstNumber, secondNumber}); return ((int)(results[0])); } public System.IAsyncResult BeginAdd(int firstNumber, int secondNumber, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke(Add, new object[] { firstNumber, secondNumber}, callback, asyncState); } public int EndAdd(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } } } //-- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Debugging Mono
Hello What is the prefered way to debug a Mono application? I've tried using mono directly using the following command: mono -v --break MWFTestApplication.MainWindow:Main swf-hello.exe and I just get a series of exceptions. I've tried using gdb using gdb mono then run swf-hello.exe to run the application and I just get a list of (no debug symbols found). Do I need to build mono itself with debug info? If I build mono with debug info, then inside gdb, would I issue a: run --break MWFTestApplication.MainWindow:Main swf-hello.exe to break at a specific point in the application I want to debug. I have also tried to use mdb (I build it from svn), I run mdb swf-hello.exe then inside mdb I issue a run command then I just get the following error: Mono Debugger (mdb) run Starting program: swf-hello.exe ** Message: WARNING: Running mdb as root may be a problem because setuid() and seteuid() do nothing. See http://primates.ximian.com/~martin/blog/entry_150.html for details. The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory. Process @1 terminated normally. Note, the application, swf-hello.exe runs fine by itself using mono, in fact, all the winforms test applications run fine, I just can not debug them. I am doing someting wrong any help would be greatly appreciated. thanks ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] WebServices with Mono on ARM / Nokia 770
Try to copy the debug-symbol files for the assemblies (.mdb) alongside them and run mono --debug yourprogram.exe, to see if the stack trace comes with some usefull information, and post here again. Fun, On 12/28/05, marc.bordessoule [EMAIL PROTECTED] wrote: Hi, C# / mono seems to be a very good solution for programming business applications on the Nokia 770 I try with success some GTK# samples (compile on pc and use on N770) (I use the mono-nokia.tgz from http://www.mono-project.com/Mono:ARM ) Now I need WebServices in c# in my N770 I made a small sample from http://www.mono-project.com/Webservices_and_GtkSharp on pc/linux with success. And I tried it on my Nokia 770 (cf my sample at the end of this mail) I added some files it ask for: System.Web.dll, System.Web.Services.dll, System.EnterpriseServices.dll and /usr/local/etc/mono/... files (machine.config) And finally I get the following error: Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. in 0x0 unknown method in 0x0 unknown method (I also tried to compile mono (1.1.9 or 1.1.10) in the scratchbox (0.9.8.5) without success) So, is it possible today to use mono web services in c# on Nokia770? What should I do? Thanks for your answer, Marc. // -- My minimum webservice program: … RemoteWebService ws = new RemoteWebService (); string res = ws.Add (firstNumber, secondNumber).ToString (); … And WSAppProxy.cs (from wsdl.exe) // -- // autogenerated // This code was generated by a tool. // Mono Runtime Version: 1.1.4322.2032 // /autogenerated // -- namespace GtkWebService { [System.Web.Services.WebServiceBinding(Name=RemoteWebServiceSoap, Namespace=http://tempuri.org/;)] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute(code)] public class RemoteWebService : System.Web.Services.Protocols.SoapHttpClientProtocol { public RemoteWebService() { this.Url = http://localhost:8081/index.asmx;; } [System.Web.Services.Protocols.SoapDocumentMethodAttribute(http://tempuri.org/Add;, RequestNamespace=http://tempuri.org/;, ResponseNamespace=http://tempuri.org/;, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)] public int Add(int firstNumber, int secondNumber) { object[] results = this.Invoke(Add, new object[] { firstNumber, secondNumber}); return ((int)(results[0])); } public System.IAsyncResult BeginAdd(int firstNumber, int secondNumber, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke(Add, new object[] { firstNumber, secondNumber}, callback, asyncState); } public int EndAdd(System.IAsyncResult asyncResult) { object[] results = this.EndInvoke(asyncResult); return ((int)(results[0])); } } } //-- ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Rafael Monoman Teixeira --- As I'm currently working a lot with Java and even fixing Java VMs (JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the title (Javaman) from my friend Bruno Souza and become the MonoNJavaMan. Yeah, I may currently be crazier than usual... ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] AppDomain.CurrentDomain.BaseDirectory
Hi, There is slight difference between the implementation of AppDomain.CurrentDomain.BaseDirectory and MS.NET. When run on Windows - returns [ApplicationDirectory]/ while when run on MONO - returns [aplicationDirectory] ( no slash in end ). Please take note of it. -Yogendra Thakur ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list