Re: [Gambas-user] configure and gb.qte
Benoît Minisini schrieb: 2009/5/15 Rolf-Werner Eilert eilert-sprac...@t-online.de I just downloaded the 2.13 release. Trying to compile it, I ran into this old error of gb.qte. Here is the rest of the ./configure messages where it eventually stops: checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag F77 to libtool checking for QT meta-object compiler... /usr/lib/qt3/bin/moc checking for QT/Embedded component headers... /usr/lib/qt3/include/ checking for QT/Embedded component libraries... no configure: WARNING: Unable to find file: libqte-mt.so configure: WARNING: *** QT/Embedded component is disabled configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: src/Makefile.in configure: error: ./configure failed for gb.qte As this is an old problem, I thought you guys might meanwhile have a solution for this? The system here is a Suse 10.3, up to now there has been no problem with Gambas compilations, as far as I remember. R It's a new problem with 2.13. You can use ./configure --disable-qte as a workaround Regards José L. OK, I found the problem. I'm currently uploading a new 2.13.0 source package that should fix that. Regards, Thank you! Probably this was what I installed on the notebook, and it ran fine. But unfortunately on my office system it doesn't run, I include an archive with configure.txt and make.txt so you can see what went wrong. Regards Rolf error.tgz Description: application/compressed-tar -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] configure and gb.qte
Benoît Minisini schrieb: Benoît Minisini schrieb: 2009/5/15 Rolf-Werner Eilert eilert-sprac...@t-online.de I just downloaded the 2.13 release. Trying to compile it, I ran into this old error of gb.qte. Here is the rest of the ./configure messages where it eventually stops: checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag F77 to libtool checking for QT meta-object compiler... /usr/lib/qt3/bin/moc checking for QT/Embedded component headers... /usr/lib/qt3/include/ checking for QT/Embedded component libraries... no configure: WARNING: Unable to find file: libqte-mt.so configure: WARNING: *** QT/Embedded component is disabled configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: src/Makefile.in configure: error: ./configure failed for gb.qte As this is an old problem, I thought you guys might meanwhile have a solution for this? The system here is a Suse 10.3, up to now there has been no problem with Gambas compilations, as far as I remember. R It's a new problem with 2.13. You can use ./configure --disable-qte as a workaround Regards José L. OK, I found the problem. I'm currently uploading a new 2.13.0 source package that should fix that. Regards, Thank you! Probably this was what I installed on the notebook, and it ran fine. But unfortunately on my office system it doesn't run, I include an archive with configure.txt and make.txt so you can see what went wrong. Regards Rolf I think you forgot to redirect the error output in yout log files, and that you got the compile error depicted in the previous Leanordo's mail. Regards, Oooops - sorry... I include another archive that contains the error messages from the terminal at compile time (error.txt). Does it help? Rolf error.tgz Description: application/compressed-tar -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Signal 11 with some ByRef conditions
Hi! Call this function; Public Function Test(a1 As Object, ByRef a2 As Long, a3 As Long, a4 As Long, a5 As Boolean, a6 As Boolean, a7 As Long, a8 As Long, a9 As Boolean, Optional ByRef a10 As Long, Optional ByRef a11 As Long, Optional ByRef a12 As Long, Optional ByRef a13 As Long, Optional ByRef a14 As Long) As Boolean Dim SomeVariable As Integer End in anyway, and you got strange error message, unpredictable behaviour or signal 11. I called it this way: Test(Null, 1, 1, 1, False, False, 1, 1, False) And got message, which doesn't make much sense: Type mismatch: wanted String, got Void instead. Bug occurs on Ubuntu 9.04 64bit with Gambas 3 revision 1954. Jussi OK, the bug should be fixed in revision #1964. Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] gambas2-2.13 build failing
I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto: I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? I've the same problem on Slackware 12.2, GTK2 2.12.12. It seems that our GTK2 libs are outdated. Stefano --- --- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto: I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? I've the same problem on Slackware 12.2, GTK2 2.12.12. It seems that our GTK2 libs are outdated. Stefano The fix is in the revision #1963. If someone can test it and confirm me that it is valid, I will be able to release a 2.13.1 version! Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Il lunedì 18 maggio 2009 17:05:33 Benoît Minisini ha scritto: Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto: I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? I've the same problem on Slackware 12.2, GTK2 2.12.12. It seems that our GTK2 libs are outdated. Stefano The fix is in the revision #1963. If someone can test it and confirm me that it is valid, I will be able to release a 2.13.1 version! Regards, Ok. I'm going to test it. Stefano -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Running test right now... on rev 1904. Will report back in a bit On May 18, 2009 10:16 AM, Stefano Palmeri rospolo...@tiscali.it wrote: Il lunedì 18 maggio 2009 17:05:33 Benoît Minisini ha scritto: Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto:I'm trying to upgrade to 2.13.0 and ... Ok. I'm going to test it. Stefano -- Crystal Reports - Ne... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Ok. My test on svn rev 1964 reveals success. So it is fixed. I will wait for the official 2.13.1 to build again because this is the official package for our distro. But again... it seems fixed in svn now... make succeeded On May 18, 2009 10:18 AM, M0E Lnx m0e@gmail.com wrote: Running test right now... on rev 1904. Will report back in a bit On May 18, 2009 10:16 AM, Stefano Palmeri rospolo...@tiscali.it wrote: Il lunedì 18 mag... Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto:I'm trying to upgrade to 2.13.0 and ... Ok. I'm going to test it. Stefano -- Crystal Reports - Ne... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] a Debug question
Benoît Minisini ha scritto: If one puts in a breakpoint, and is stepping through the code one line at a time to check values of variables etc, is there any way or re-setting to a line in the same subroutine prior to the current line you have stopped on. I've found sometimes I'm trying to find a bug, and I put in multiple break points so that I can skip from one to another, and then want to check something in the middle that I've gone past, but have to stop the entire program and start again. Alas you cannot go back in time in debuggers yet. I've heard about people thinking about it, but I don't think you will never see it in Gambas! This is a serious problem, tough. There are programs which, for one reason or another, are a little difficult to debug using the internal gambas debugger. For example, think at a data-entry form, with a lot of controls, each having validation (perhaps, put on top of a database). If you want to debug the final action of the form (the Apply button, may be), then you have to fill in all the values. Every time you discover a bug, even a stupid one, you must restart the program from the beginning; and, may be, that form is nested deep in the program logic - you have to step through many menus and dialogs to arrive at the point of interest. Other times, you don't have a clear idea of the algorithm you have to write, so you try again and again. In these situations, the more you can do through the debugger, the more time you save. There could be some improvements to the debugger: - the possibility to assign new values to variables (perhaps not the structured, but only the simplest ones) This is planned, but some function is yet missing in the gb.eval command to implement ot. - the possibility to modify the program text and continue debugging (perhaps without adding/deleting lines) I think I can't do that. This is too much work for something that is not really useful. - the possibility to change the program counter (perhaps with constraints) I don't find that useful at all, but I think it may be possible to implement. - the possibility to add debug code, which is compiled in only when a special debug run is invoked This is planned. - conditional breakpoints / break on the Nth occurence This is not planned, but it is possible to implement. I will note that. ...and may be other which does'nt come to my mind at the moment. We already discussed a little about this: I know this is somehow hard to implement, but having the gambas virtual machine ready in memory should help... I mean: if the debugger knows how to obtain the value of a variable, and how to display it, then perhaps it is possible to [relatively] easily assign a new value. Or, the possibility to modify the source and continue debugging, seems to me not very hard to do (but I could be wrong, of course). I know that I am biased, because for my work I go deep to the processor hardware, and the debugger lets me do nearly everything I want, but you could consider whether any improvement could be done to the gambas debugger. Hope I did'nt annoyed you, they were simply ideas. You didn't annoyed me. :-) Regards, -- Benoît -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas2-2.13 build failing
Il lunedì 18 maggio 2009 17:05:33 Benoît Minisini ha scritto: Il lunedì 18 maggio 2009 16:23:25 M0E Lnx ha scritto: I'm trying to upgrade to 2.13.0 and my build is failing during the gb.gtk build process. Here is a link to the error details http://nopaste.com/p/aUCCbdxsqb This is VectorLinux 6.0 (based on slackware 12.1) gtk version is 2.12.9 Any ideas? I've the same problem on Slackware 12.2, GTK2 2.12.12. It seems that our GTK2 libs are outdated. Stefano The fix is in the revision #1963. If someone can test it and confirm me that it is valid, I will be able to release a 2.13.1 version! Regards, Ok. Tested revision 1964. Compiled and installed with no errors. Thanks Benoit. Stefano -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] kdesu vs gksu
Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to get it to work. Is there a way to choose between either gksu o kdesu commands at runtime? I've figured it out if it could be something like: SHELL gksu | kdesu -u root 'some_command' or SHELL gksu -u root 'some_command' | kdesu -u root 'some_command' Regards Jesús -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] kdesu vs gksu
Hi, If Application.Env[KDE_FULL_SESSION] Then Shell kdesu Command Else If Application.Env[GNOME_DESKTOP_SESSION_ID] Then Shell gksu Command Endif Saludos -- David - Original Message From: Jesus Guardon jguar...@telefonica.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Monday, May 18, 2009 3:20:29 PM Subject: [Gambas-user] kdesu vs gksu Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to get it to work. Is there a way to choose between either gksu o kdesu commands at runtime? I've figured it out if it could be something like: SHELL gksu | kdesu -u root 'some_command' or SHELL gksu -u root 'some_command' | kdesu -u root 'some_command' Regards Jesús -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Conect to Firebird with ODBC
Hello. Anyone managed to connect to Firebird through ODBC?. Do you know what steps to do it?. Regards -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] kdesu vs gksu
Hey, thanks for your quick reply, David I'm going to test it now. I didn't know of these constants before. Just in case they match, because I've found in OpenSuSe 11.1 with KDE 4 that it is the opposite, it comes with gksu (at least in my testing VM). Also, we may use which gksu to know if it is installed, otherwise we can assume kdesu is. Hmmm... Thanks a lot! Saludos Jesús David Villalobos Cambronero escribió: Hi, If Application.Env[KDE_FULL_SESSION] Then Shell kdesu Command Else If Application.Env[GNOME_DESKTOP_SESSION_ID] Then Shell gksu Command Endif Saludos -- David - Original Message From: Jesus Guardon jguar...@telefonica.net To: mailing list for gambas users gambas-user@lists.sourceforge.net Sent: Monday, May 18, 2009 3:20:29 PM Subject: [Gambas-user] kdesu vs gksu Yes, I know it may be a little off-topic, but the question is: I need to launch a process with root privileges from SHELL command in Gambas. Users of my application can have Gnome or KDE, so I don't know which command I must issue to get it to work. Is there a way to choose between either gksu o kdesu commands at runtime? I've figured it out if it could be something like: SHELL gksu | kdesu -u root 'some_command' or SHELL gksu -u root 'some_command' | kdesu -u root 'some_command' Regards Jesús -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A web page for Gambas applications
Je le teste de temps en temps Merci Jacky pour ce magnifique soft :) -- From: Jack jsc...@wanadoo.fr Sent: Monday, May 18, 2009 7:16 PM To: mailing list for gambas users gambas-user@lists.sourceforge.net Subject: Re: [Gambas-user] A web page for Gambas applications Salut Benoit, Name: Jacky Tripoteau Application: Laurux Description: An french ERP for small french firms. Complete and adjustable. Url: http://www.laurux.fr Screenshot: Table of product Best regards Jacky. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user