From support at ...2529... Wed Aug 1 01:37:46 2012 From: support at ...2529... (John Spikowski) Date: Tue, 31 Jul 2012 16:37:46 -0700 Subject: [Gambas-user] Holidays In-Reply-To: <5018301B.20700@...1887...> References: <5017E6CA.1050802@...1...> <5018301B.20700@...1887...> Message-ID: <1343777866.2271.2.camel@...1833...> On Tue, 2012-07-31 at 15:20 -0400, Kevin Fishburne wrote: > I'd be shaking like a junkie in a jail cell if I were away for that > long. That one is going in my favorite quotes folder! How true is that? I'm trying to decide what would be worse, no smokes or no internet connection. ;-) From gambas at ...2524... Wed Aug 1 06:33:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 01 Aug 2012 04:33:12 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip Message-ID: <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 294 by adamn... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 1) Describe the problem. The attached project has a tabstrip with three panels. On each one there is a sidepanel. The sidepanel on tab A is hidden by the .form file, i.e the Hidden property is set in the IDE Properties. The sidepanel on tab B is hidden by the Form_Open event code. The sidepanel on tab C is hidden by the event handler for the "Hide C" button. So fundamentally, the sidepanels are all hidden by code at different stages of the forms life. The issue is when any sidepanel is hidden by code, it jumps to tab A. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 / GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Run the project. When the form opens, click the Hide C button. Screenshot attached is what I get. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: sidepanels-0.0.1.tar.gz 4.7 KB sidepanels_029.png 5.4 KB From wally at ...2037... Wed Aug 1 11:53:13 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 11:53:13 +0200 Subject: [Gambas-user] Gambas3 on Debian ? Message-ID: <2105551.Fti6l8qi4o@...46...> installation on debian weezy looks good but : wally at ...2889...:~$ gambas3 gambas3 gambas3.gambas wally at ...2889...:~$ gambas3 ** INTERNAL ERROR ** ** GB.Push: unknown datatype ** Program aborting. Sorry! :-( wally at ...2889...:~$ any ideas ? thanks wally From lists at ...2828... Wed Aug 1 11:59:07 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 1 Aug 2012 11:59:07 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <5017E6CA.1050802@...1...> Message-ID: <000001cd6fcc$4e747940$0f00a8c0@...2829...> > I leave Paris, my computer and Internet for a week. I will be back on > August, 6th. > > So you have six days to fill my mailbox with hundreds of bug reports. Hope you enjoy your holiday! /CJ From basic.gambas at ...626... Wed Aug 1 12:01:17 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:01:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2105551.Fti6l8qi4o@...46...> References: <2105551.Fti6l8qi4o@...46...> Message-ID: <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> Le 1 ao?t 2012 ? 11:53, wally a ?crit : > installation on debian weezy looks good but : > > wally at ...2889...:~$ gambas3 > gambas3 gambas3.gambas > wally at ...2889...:~$ gambas3 > > ** INTERNAL ERROR ** > ** GB.Push: unknown datatype > ** Program aborting. Sorry! :-( > wally at ...2889...:~$ > > > any ideas ? The only person who is able to fix that is Benoit. And currently he's in holliday :) . He comes back August, 6th. However, you already start a report bug by collecting information about this bug. Have a look at gambas website for use GDB and Valgrind if needed. then, send it to mailing list. > > thanks wally > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboege01 at ...1601... Wed Aug 1 12:13:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 12:13:20 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2105551.Fti6l8qi4o@...46...> References: <2105551.Fti6l8qi4o@...46...> Message-ID: <20120801101319.GA477@...2774...> On Wed, 01 Aug 2012, wally wrote: > installation on debian weezy looks good but : > > wally at ...2889...:~$ gambas3 > gambas3 gambas3.gambas > wally at ...2889...:~$ gambas3 > > ** INTERNAL ERROR ** > ** GB.Push: unknown datatype > ** Program aborting. Sorry! :-( > wally at ...2889...:~$ > > > any ideas ? > > thanks wally > If you hadn't shown the error I would have insisted that this one could never be risen... :-) Bad timing, too... I don't know if I could help but I would be interested in the output with this patch applied: [gbx_api.c.patch] --8<--------------- Index: main/gbx/gbx_api.c =================================================================== --- main/gbx/gbx_api.c (revision 5004) +++ main/gbx/gbx_api.c (working copy) @@ -579,7 +579,7 @@ break; default: - ERROR_panic("GB.Push: unknown datatype"); + ERROR_panic("GB.Push: unknown datatype: %x", type); break; } --8<--------------- Just save it in your trunk working copy and do: $ patch main/gbx/gbx_api.c gbx_api.c.patch $ make # make install Regards, Tobi From wally at ...2037... Wed Aug 1 12:18:10 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 12:18:10 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> References: <2105551.Fti6l8qi4o@...46...> <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> Message-ID: <3015596.HEq91bDzbh@...46...> On Wednesday 01 August 2012 12:01:17 Fran?ois Gallo wrote: > Le 1 ao?t 2012 ? 11:53, wally a ?crit : > > installation on debian weezy looks good but : > > > > wally at ...2889...:~$ gambas3 > > gambas3 gambas3.gambas > > wally at ...2889...:~$ gambas3 > > > > ** INTERNAL ERROR ** > > ** GB.Push: unknown datatype > > ** Program aborting. Sorry! :-( > > wally at ...2889...:~$ > > > > > > any ideas ? > > The only person who is able to fix that is Benoit. > And currently he's in holliday :) . He comes back August, 6th. > > However, you already start a report bug by collecting information > about this bug. Have a look at gambas website for use GDB and Valgrind > if needed. > > then, send it to mailing list. this sounds as you assume its an gambas bug. are you sure ? From wally at ...2037... Wed Aug 1 12:25:12 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 12:25:12 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <20120801101319.GA477@...2774...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> Message-ID: <1884651.tbPUkTj527@...46...> On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: > On Wed, 01 Aug 2012, wally wrote: > > installation on debian weezy looks good but : > > > > wally at ...2889...:~$ gambas3 > > gambas3 gambas3.gambas > > wally at ...2889...:~$ gambas3 > > > > ** INTERNAL ERROR ** > > ** GB.Push: unknown datatype > > ** Program aborting. Sorry! :-( > > wally at ...2889...:~$ > > > > > > any ideas ? > > > > thanks wally > > If you hadn't shown the error I would have insisted that this one could > never be risen... :-) Bad timing, too... > I don't know if I could help but I would be interested in the output > with this patch applied: > > [gbx_api.c.patch] > --8<--------------- > Index: main/gbx/gbx_api.c > =================================================================== > --- main/gbx/gbx_api.c (revision 5004) > +++ main/gbx/gbx_api.c (working copy) > @@ -579,7 +579,7 @@ > break; > > default: > - ERROR_panic("GB.Push: unknown datatype"); > + ERROR_panic("GB.Push: unknown datatype: %x", > type); break; > } > > --8<--------------- > > Just save it in your trunk working copy and do: > > $ patch main/gbx/gbx_api.c gbx_api.c.patch > $ make > # make install > > Regards, > Tobi > Tobi, this is a repo install from ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ the normal svn build loks also good up to sudo make install this gives a info at the end only: can nott complile gambas3 during reconf-all, configure -C, make i did not have erors. i'm used to work on OpenSue, no problem at all. Now on Debian i do not really now yet how things works. wally From basic.gambas at ...626... Wed Aug 1 12:26:11 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:26:11 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <3015596.HEq91bDzbh@...46...> References: <2105551.Fti6l8qi4o@...46...> <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> <3015596.HEq91bDzbh@...46...> Message-ID: <8AB3ED83-63BC-4C0A-AE68-E454346EDCB0@...626...> Le 1 ao?t 2012 ? 12:18, wally a ?crit : > On Wednesday 01 August 2012 12:01:17 Fran?ois Gallo wrote: >> Le 1 ao?t 2012 ? 11:53, wally a ?crit : >>> installation on debian weezy looks good but : >>> >>> wally at ...2889...:~$ gambas3 >>> gambas3 gambas3.gambas >>> wally at ...2889...:~$ gambas3 >>> >>> ** INTERNAL ERROR ** >>> ** GB.Push: unknown datatype >>> ** Program aborting. Sorry! :-( >>> wally at ...2889...:~$ >>> >>> >>> any ideas ? >> >> The only person who is able to fix that is Benoit. >> And currently he's in holliday :) . He comes back August, 6th. >> >> However, you already start a report bug by collecting information >> about this bug. Have a look at gambas website for use GDB and Valgrind >> if needed. >> >> then, send it to mailing list. > > > this sounds as you assume its an gambas bug. > are you sure ? ** INTERNAL ERROR ** ** GB.Push: unknown datatype Yes, that's a bug. > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lists at ...2828... Wed Aug 1 12:28:12 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 1 Aug 2012 12:28:12 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <501429A3.4030206@...1...> Message-ID: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> With some luck and Google I managed to compile a shared version of the C library to RaspberryPi I/O by Mike McCauley and it seems to work (at least partly) within Gambas3 using the EXTERN function. I started with the simplest function there was in the library and that was pretty strait forward and it works fine in Gambas3 using the code below... ' Declare external function Public Extern delay(millis As Integer) In "libbcm2835" ' Delay 2 sec delay(2000) Next up was to declare an actual I/O function to toggle I/O pins and looks like this in the C code (bcm2835.c from the library at http://www.open.com.au/mikem/bcm2835/index.html)... ... // Set putput pin void bcm2835_gpio_set(uint8_t pin) { volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; uint8_t shift = pin % 32; bcm2835_peri_write(paddr, 1 << shift); } ... Since my C knowledge is very limited I wonder what to declare "uint8_t" as? According to Google it seems to be the same as unsigned char so I tried to use Byte in the declaration but no go, I get segmentation fault when calling that function. Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" Anyone have any ideas what I am doing wrong? BTW: Let me know if anyone wants the shared library file and I will upload it somewhere, it's compiled in Debain Squeeze. /CJ From tobiasboege01 at ...1601... Wed Aug 1 12:49:17 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 12:49:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <1884651.tbPUkTj527@...46...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> Message-ID: <20120801104917.GB477@...2774...> On Wed, 01 Aug 2012, wally wrote: > On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: > > On Wed, 01 Aug 2012, wally wrote: > > > installation on debian weezy looks good but : > > > > > > wally at ...2889...:~$ gambas3 > > > gambas3 gambas3.gambas > > > wally at ...2889...:~$ gambas3 > > > > > > ** INTERNAL ERROR ** > > > ** GB.Push: unknown datatype > > > ** Program aborting. Sorry! :-( > > > wally at ...2889...:~$ > > > > > > > > > any ideas ? > > > > > > thanks wally > > > > If you hadn't shown the error I would have insisted that this one could > > never be risen... :-) Bad timing, too... > > I don't know if I could help but I would be interested in the output > > with this patch applied: > > > > [gbx_api.c.patch] > > --8<--------------- > > Index: main/gbx/gbx_api.c > > =================================================================== > > --- main/gbx/gbx_api.c (revision 5004) > > +++ main/gbx/gbx_api.c (working copy) > > @@ -579,7 +579,7 @@ > > break; > > > > default: > > - ERROR_panic("GB.Push: unknown datatype"); > > + ERROR_panic("GB.Push: unknown datatype: %x", > > type); break; > > } > > > > --8<--------------- > > > > Just save it in your trunk working copy and do: > > > > $ patch main/gbx/gbx_api.c gbx_api.c.patch > > $ make > > # make install > > > > Regards, > > Tobi > > > > Tobi, > > this is a repo install from > ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ > > the normal svn build loks also good up to > sudo make install > this gives a info at the end only: can nott complile gambas3 > during reconf-all, configure -C, make i did not have erors. > > i'm used to work on OpenSue, no problem at all. > Now on Debian i do not really now yet how things works. > > wally Oh. Since I have neither an ARM nor a Debian-based distro, I can't even dare to guess further... There is, however, one thing that makes me curious: When you cannot compile "gambas3", this means that you don't have the necessary components installed. This in turn means that you don't have the necessary packages to compile these components. Now, you installed a .deb - so you should have everything right there to compile gambas3, no? Because if packages are still missing now for compiling gambas3, your installation must be broken... Am I wrong in any point? Regards, Tobi From basic.gambas at ...626... Wed Aug 1 12:57:17 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:57:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <20120801104917.GB477@...2774...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> <20120801104917.GB477@...2774...> Message-ID: <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> Le 1 ao?t 2012 ? 12:49, Tobias Boege a ?crit : > On Wed, 01 Aug 2012, wally wrote: >> On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: >>> On Wed, 01 Aug 2012, wally wrote: >>>> installation on debian weezy looks good but : >>>> >>>> wally at ...2889...:~$ gambas3 >>>> gambas3 gambas3.gambas >>>> wally at ...2889...:~$ gambas3 >>>> >>>> ** INTERNAL ERROR ** >>>> ** GB.Push: unknown datatype >>>> ** Program aborting. Sorry! :-( >>>> wally at ...2889...:~$ >>>> >>>> >>>> any ideas ? >>>> >>>> thanks wally >>> >>> If you hadn't shown the error I would have insisted that this one could >>> never be risen... :-) Bad timing, too... >>> I don't know if I could help but I would be interested in the output >>> with this patch applied: >>> >>> [gbx_api.c.patch] >>> --8<--------------- >>> Index: main/gbx/gbx_api.c >>> =================================================================== >>> --- main/gbx/gbx_api.c (revision 5004) >>> +++ main/gbx/gbx_api.c (working copy) >>> @@ -579,7 +579,7 @@ >>> break; >>> >>> default: >>> - ERROR_panic("GB.Push: unknown datatype"); >>> + ERROR_panic("GB.Push: unknown datatype: %x", >>> type); break; >>> } >>> >>> --8<--------------- >>> >>> Just save it in your trunk working copy and do: >>> >>> $ patch main/gbx/gbx_api.c gbx_api.c.patch >>> $ make >>> # make install >>> >>> Regards, >>> Tobi >>> >> >> Tobi, >> >> this is a repo install from >> ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ >> >> the normal svn build loks also good up to >> sudo make install >> this gives a info at the end only: can nott complile gambas3 >> during reconf-all, configure -C, make i did not have erors. >> >> i'm used to work on OpenSue, no problem at all. >> Now on Debian i do not really now yet how things works. >> >> wally > > Oh. Since I have neither an ARM nor a Debian-based distro, I can't even dare > to guess further... > > There is, however, one thing that makes me curious: When you cannot compile > "gambas3", this means that you don't have the necessary components > installed. This in turn means that you don't have the necessary packages > to compile these components. Now, you installed a .deb - so you should have > everything right there to compile gambas3, no? Because if packages are > still missing now for compiling gambas3, your installation must be broken... > Am I wrong in any point? you're wrong :) . In this case, it's not a problem about missing packages for its installation. It's a bug into language itself. Probably memory address error. Our friend wishes to run the gambas on ARM architecture. If it was a problem with a missing packages, the output doesn't say that :) . The error would be more about gambas programming language. > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboege01 at ...1601... Wed Aug 1 13:10:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 13:10:20 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> <20120801104917.GB477@...2774...> <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> Message-ID: <20120801111020.GC477@...2774...> A non-text attachment was scrubbed... Name: not available Type: text/plain-8bit Size: 3533 bytes Desc: not available URL: From wally at ...2037... Wed Aug 1 13:12:49 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 13:12:49 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> References: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> Message-ID: <9399894.83gIc5ENKn@...46...> On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: > With some luck and Google I managed to compile a shared version of the > C library to RaspberryPi I/O by Mike McCauley and it seems to work > (at least partly) within Gambas3 using the EXTERN function. > > I started with the simplest function there was in the library and that > was pretty strait forward and it works fine in Gambas3 using the > code below... > > ' Declare external function > Public Extern delay(millis As Integer) In "libbcm2835" > > ' Delay 2 sec > delay(2000) > > Next up was to declare an actual I/O function to toggle I/O pins > and looks like this in the C code (bcm2835.c from the library at > http://www.open.com.au/mikem/bcm2835/index.html)... > > ... > // Set putput pin > void bcm2835_gpio_set(uint8_t pin) > { > volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; > uint8_t shift = pin % 32; > bcm2835_peri_write(paddr, 1 << shift); > } > ... > > Since my C knowledge is very limited I wonder what to declare "uint8_t" > as? According to Google it seems to be the same as unsigned char so I > tried to use Byte in the declaration but no go, I get segmentation > fault when calling that function. > > Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" > > Anyone have any ideas what I am doing wrong? > > BTW: Let me know if anyone wants the shared library file and I will > upload it somewhere, it's compiled in Debain Squeeze. > > /CJ Hi, your posting is very interesting, thank you I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. 1st step was to make a Virtual machine of debian. 2nd is to get Gmabs3 working on it ... but this failed. Your information sounds as you successfully run ganbas3 on debian. How did you install Gambas3 ? > BTW: Let me know if anyone wants the shared library file and I will > upload it somewhere, it's compiled in Debain Squeeze. Yes, i will interested soon i think. wally From rmorgan62 at ...626... Wed Aug 1 15:11:58 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 1 Aug 2012 06:11:58 -0700 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <9399894.83gIc5ENKn@...46...> References: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> <9399894.83gIc5ENKn@...46...> Message-ID: On Wed, Aug 1, 2012 at 4:12 AM, wally wrote: > On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: >> With some luck and Google I managed to compile a shared version of the >> C library to RaspberryPi I/O by Mike McCauley and it seems to work >> (at least partly) within Gambas3 using the EXTERN function. >> >> I started with the simplest function there was in the library and that >> was pretty strait forward and it works fine in Gambas3 using the >> code below... >> >> ' Declare external function >> Public Extern delay(millis As Integer) In "libbcm2835" >> >> ' Delay 2 sec >> delay(2000) >> >> Next up was to declare an actual I/O function to toggle I/O pins >> and looks like this in the C code (bcm2835.c from the library at >> http://www.open.com.au/mikem/bcm2835/index.html)... >> >> ... >> // Set putput pin >> void bcm2835_gpio_set(uint8_t pin) >> { >> volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; >> uint8_t shift = pin % 32; >> bcm2835_peri_write(paddr, 1 << shift); >> } >> ... >> >> Since my C knowledge is very limited I wonder what to declare "uint8_t" >> as? According to Google it seems to be the same as unsigned char so I >> tried to use Byte in the declaration but no go, I get segmentation >> fault when calling that function. >> >> Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" >> >> Anyone have any ideas what I am doing wrong? >> >> BTW: Let me know if anyone wants the shared library file and I will >> upload it somewhere, it's compiled in Debain Squeeze. >> >> /CJ > > Hi, > > your posting is very interesting, thank you > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > 1st step was to make a Virtual machine of debian. > 2nd is to get Gmabs3 working on it ... > but this failed. > > Your information sounds as you successfully run ganbas3 on debian. > How did you install Gambas3 ? > >> BTW: Let me know if anyone wants the shared library file and I will >> upload it somewhere, it's compiled in Debain Squeeze. > > Yes, i will interested soon i think. > > wally > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user uint8_t is a type as specified by the _t in the naming. u = unsigned and int = integer 8 = eight bits. So this declares an unsigned integer of 8 bits. Hope this helps. -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rterry at ...1823... Wed Aug 1 15:33:44 2012 From: rterry at ...1823... (richard) Date: Wed, 01 Aug 2012 23:33:44 +1000 Subject: [Gambas-user] Gridview row height question Message-ID: <50193038.8090801@...1823...> I seem to remember a posting in recent times about how to set the row height to automatically adjust to the height of wrapped text ?possible thanks in anticipation Richard From gambas.fr at ...626... Wed Aug 1 21:07:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Aug 2012 21:07:11 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <50193038.8090801@...1823...> References: <50193038.8090801@...1823...> Message-ID: 2012/8/1 richard > I seem to remember a posting in recent times about how to set the row > height to automatically adjust to the height of wrapped text > > ?possible > > thanks in anticipation# > > Richard > it was about rows header... but everything can became possible as gridview is in gb now. tell your needs > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From math.eber at ...221... Wed Aug 1 22:29:12 2012 From: math.eber at ...221... (Matti) Date: Wed, 01 Aug 2012 22:29:12 +0200 Subject: [Gambas-user] TAB and TextArea Message-ID: <50199198.6090306@...221...> Recently, there was a question about the TAB Focus. Testing this, I saw: In every control the TAB key is used to move the cursor to the next control. But TextArea behaves different: the TAB key inserts spaces into the control and doesn't move the cursor. I'm not sure if this is wanted behaviour or not. Should the TAB key switch to the next control, should it insert spaces, or should there be an option? Regards Matti From tobiasboege01 at ...1601... Wed Aug 1 22:45:22 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 22:45:22 +0200 Subject: [Gambas-user] TAB and TextArea In-Reply-To: <50199198.6090306@...221...> References: <50199198.6090306@...221...> Message-ID: <20120801204521.GE477@...2774...> On Wed, 01 Aug 2012, Matti wrote: > Recently, there was a question about the TAB Focus. Testing this, I saw: > In every control the TAB key is used to move the cursor to the next control. > But TextArea behaves different: the TAB key inserts spaces into the control and > doesn't move the cursor. > I'm not sure if this is wanted behaviour or not. > Should the TAB key switch to the next control, should it insert spaces, or > should there be an option? > Regards Matti > I'm sure, nobody would like to miss the ability to insert tabs/spaces using the Tab key. It is not default in Gambas to indent using Tabs (actually, you can indent with the Tab key in the source code editor but it is filled with spaces, right?) but think of other Editors/programming languages where the Tab is a fundamental character for indentation. Essentially: yes, I'm sure it is intentional. However, if you feel to not allow the Tab key to insert tabs, you have sort of an option to do so: Public Sub TextArea1_KeyPress() If Key.Code = Key["Tab"] Then ' Move focus to next control somehow Stop Event ' Stop insertion of the Tab character Endif End I don't know if this code works and how to move the focus to the next controls (Is there any representation of this Hierarchy tab from the form editor somewhere at runtime?) but you got the idea, hopefully. This could be turned into an property-like option for the TextArea and related controls but it's not me to decide that. Regards, Tobi From math.eber at ...221... Wed Aug 1 23:05:16 2012 From: math.eber at ...221... (Matti) Date: Wed, 01 Aug 2012 23:05:16 +0200 Subject: [Gambas-user] TAB and TextArea In-Reply-To: <20120801204521.GE477@...2774...> References: <50199198.6090306@...221...> <20120801204521.GE477@...2774...> Message-ID: <50199A0C.7030601@...221...> I agree. It was just the "oops"-feeling when you move through a form with TAB and don't get further. But then you have the mouse. I think, indentation is more important - leave it this way. Am 01.08.2012 22:45, schrieb Tobias Boege: > On Wed, 01 Aug 2012, Matti wrote: >> Recently, there was a question about the TAB Focus. Testing this, I saw: >> In every control the TAB key is used to move the cursor to the next control. >> But TextArea behaves different: the TAB key inserts spaces into the control and >> doesn't move the cursor. >> I'm not sure if this is wanted behaviour or not. >> Should the TAB key switch to the next control, should it insert spaces, or >> should there be an option? >> Regards Matti >> > > I'm sure, nobody would like to miss the ability to insert tabs/spaces using > the Tab key. It is not default in Gambas to indent using Tabs (actually, you > can indent with the Tab key in the source code editor but it is filled with > spaces, right?) but think of other Editors/programming languages where the > Tab is a fundamental character for indentation. > Essentially: yes, I'm sure it is intentional. > > However, if you feel to not allow the Tab key to insert tabs, you have sort > of an option to do so: > > Public Sub TextArea1_KeyPress() > If Key.Code = Key["Tab"] Then > ' Move focus to next control somehow > Stop Event ' Stop insertion of the Tab character > Endif > End > > I don't know if this code works and how to move the focus to the next > controls (Is there any representation of this Hierarchy tab from the form > editor somewhere at runtime?) but you got the idea, hopefully. > > This could be turned into an property-like option for the TextArea and > related controls but it's not me to decide that. > > Regards, > Tobi From rterry at ...1823... Thu Aug 2 00:43:53 2012 From: rterry at ...1823... (Richard Terry) Date: Thu, 02 Aug 2012 08:43:53 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> Message-ID: <5019B129.8060407@...1823...> Fabien Bodard wrote: > 2012/8/1 richard > > >> I seem to remember a posting in recent times about how to set the row >> height to automatically adjust to the height of wrapped text >> >> ?possible >> >> thanks in anticipation# >> >> Richard >> >> > it was about rows header... but everything can became possible as gridview > is in gb now. > > tell your needs > > > >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> on ubuntu 12 grid text wraps ok, but the internal row height is wrong (QT) - see the picture enclosed - the text is cut off at top and bottom when wrapped. Interestingly on Ubuntu 9 which is my main programming computer the text dosn't wrap at all, but that dosn't matter (its my old laptop - nearly clapped out and overheating so I'll be upgrading soon). > > -------------- next part -------------- A non-text attachment was scrubbed... Name: allergy_grid.png Type: image/png Size: 5577 bytes Desc: not available URL: From gambas.fr at ...626... Thu Aug 2 09:58:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 09:58:41 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <5019B129.8060407@...1823...> References: <50193038.8090801@...1823...> <5019B129.8060407@...1823...> Message-ID: 2012/8/2 Richard Terry > Fabien Bodard wrote: > >> 2012/8/1 richard >> >> >> >>> I seem to remember a posting in recent times about how to set the row >>> height to automatically adjust to the height of wrapped text >>> >>> ?possible >>> >>> thanks in anticipation# >>> >>> Richard >>> >>> >>> >> it was about rows header... but everything can became possible as gridview >> is in gb now. >> >> tell your needs >> >> >> >> >>> ------------------------------**------------------------------** >>> ------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/**sfrnl04242012/114/50122263/ >>> ______________________________**_________________ >>> Gambas-user mailing list >>> Gambas-user at ...720...**net >>> https://lists.sourceforge.net/**lists/listinfo/gambas-user >>> >>> >>> >> on ubuntu 12 grid text wraps ok, but the internal row height is wrong > (QT) - see the picture enclosed - the text is cut off at top and bottom > when wrapped. > > Interestingly on Ubuntu 9 which is my main programming computer the text > dosn't wrap at all, but that dosn't matter (its my old laptop - nearly > clapped out and overheating so I'll be upgrading soon). > with the same gambas version ? > > > > >> >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Fabien Bodard From gambas.fr at ...626... Thu Aug 2 10:03:05 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:03:05 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <000001cd6fcc$4e747940$0f00a8c0@...2829...> References: <5017E6CA.1050802@...1...> <000001cd6fcc$4e747940$0f00a8c0@...2829...> Message-ID: 2012/8/1 Christer Johansson > > > I leave Paris, my computer and Internet for a week. I will be back on > > August, 6th. > > > > So you have six days to fill my mailbox with hundreds of bug reports. > > Hope you enjoy your holiday! > > /CJ > > I think hollidays, are with no internet, no phone, no tv... no smoke. In a little house on a mountain, ... just nature and me ! (and good food, good wine, good cognac...) ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Thu Aug 2 10:15:42 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:15:42 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: <20120731204608.GA503@...2774...> References: <20120731204608.GA503@...2774...> Message-ID: Just add a Value to each card if hplaingCard.Value > hPlayingCard2.Value 'To declare them (class CCard) What is a card ? Public Id as integer Public Value as integer Public {Picture} as Picture So to load them (32 card) Private AllCards as CCard[] public sub Main dim hCard as CCard dim v as integer For i = 0 to 31 hCard = new CCard hCard.Id = i 'here i manage the 7 cards value hCard.Value = v inc v if v > 6 then v=0. ' hCard.Picture = Picture.Load("img/card & i & ".png") allCard.Add(hCard) next end then you can compare by comparing value 2012/7/31 Tobias Boege > On Tue, 31 Jul 2012, Patrik Karlsson wrote: > > I'm writing a class for Playing cards and would like to compare them > with: > > =,<,>. > > > > While hPlayingCard1=hPlayingCard2 works just fine, > > hPlayingCard1hPlayingCard2 do not. > > > > The program stops with: > > #6: Type mismatch: wanted Number, Date or String, got PlayingCard instead > > > > My _compare is simple: > > Public Function _compare(OtherObject As PlayingCard) As Integer > > > > Return 0 > > > > End > > > > What can I do to make comparing with <,> possible? > > > > /patrik > > If I got the documentation[0] right, the <,> are only valid for the native > classes you are given in the error message: Number, Date, String. > It is also said[1] that _compare() is used for sorting arrays of objects on > a class or finding those. It could likely mean - ignoring the "for example" > in that sentence - that these arithmetic operators are not related to the > _compare() method. > > IIRC, there was discussion[2] about a new special method _operator() on the > gambas-devel list which will enable you to use any operator on a _native > class_. Actually, this seems to be implemented in the gb.gsl classes > already. I don't know if it is intended for classes written in Gambas, too. > At least, there is no documentation about it (at the usual place) and the > commit messages didn't show me anything. > > [0] http://gambasdoc.org/help/cat/arithop?v3 > [1] http://gambasdoc.org/help/lang/special/compare?v3 > [2] http://old.nabble.com/About-gb.gsl-components-td34130245.html > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Thu Aug 2 10:17:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:17:36 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: References: <20120731204608.GA503@...2774...> Message-ID: the _compare event is for the sort function in arrays http://gambasdoc.org/help/lang/special/compare?en&v3 i think my way is the more simple From fulippo_fulippo at ...152... Thu Aug 2 11:21:54 2012 From: fulippo_fulippo at ...152... (fulippo_fulippo at ...152...) Date: Thu, 2 Aug 2012 11:21:54 +0200 (CEST) Subject: [Gambas-user] Object matrix problem Message-ID: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> Hi All i came from VB6 world , and i apreciate Gambas for linux I try to create a program , but i have problem on object matrix In vb i can do this : text1(1).text ,text1(2).text,text1(3).text...... text1(n). text , can i control textbox in this way on Gambas , there is similar solution ? Thanks in advances for your time Best Regards Francesco Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/ From rterry at ...1823... Thu Aug 2 11:37:07 2012 From: rterry at ...1823... (richard) Date: Thu, 02 Aug 2012 19:37:07 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> <5019B129.8060407@...1823...> Message-ID: <501A4A43.90309@...1823...> On 02/08/12 17:58, Fabien Bodard wrote: > 2012/8/2 Richard Terry > >> Fabien Bodard wrote: >> >>> 2012/8/1 richard >>> >>> >>> >>>> I seem to remember a posting in recent times about how to set the row >>>> height to automatically adjust to the height of wrapped text >>>> >>>> ?possible >>>> >>>> thanks in anticipation# >>>> >>>> Richard >>>> >>>> >>>> >>> it was about rows header... but everything can became possible as gridview >>> is in gb now. >>> >>> tell your needs >>> >>> >>> >>> >>>> ------------------------------**------------------------------** >>>> ------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/**sfrnl04242012/114/50122263/ >>>> ______________________________**_________________ >>>> Gambas-user mailing list >>>> Gambas-user at ...720...**net >>>> https://lists.sourceforge.net/**lists/listinfo/gambas-user >>>> >>>> >>>> >>> on ubuntu 12 grid text wraps ok, but the internal row height is wrong >> (QT) - see the picture enclosed - the text is cut off at top and bottom >> when wrapped. >> >> Interestingly on Ubuntu 9 which is my main programming computer the text >> dosn't wrap at all, but that dosn't matter (its my old laptop - nearly >> clapped out and overheating so I'll be upgrading soon). >> > with the same gambas version ? Probably 12, but I've 7 workstations at work running mostly kde 10 and 11, a couple 12. Richard > >> >> >> >>> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > From gambas.fr at ...626... Thu Aug 2 12:42:58 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 12:42:58 +0200 Subject: [Gambas-user] Object matrix problem In-Reply-To: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> References: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> Message-ID: 2012/8/2 fulippo_fulippo at ...152... > Hi All > i came from VB6 world , and i apreciate Gambas for linux > > I try > to create a program , but i have problem on object matrix > In vb i can > do this : text1(1).text ,text1(2).text,text1(3).text...... text1(n). > text , can i control textbox in this way on Gambas , there is similar > solution ? > > Thanks in advances for your time > > Best Regards > > Francesco > > > > Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? > di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! > Un amico al mese e parli e navighi sempre gratis: > http://freelosophy.tiscali.it/ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > You need to register these objects in an array to do that private Textes1 as New TextBox[] Public sub _New dim hobj as Object for each hObj in me.Children If hObj is TextBox then Textes1.Add(hObj) endif end Then you can use Textes1[1].Text -- Fabien Bodard From mike.crean at ...2897... Thu Aug 2 12:34:42 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 2 Aug 2012 03:34:42 -0700 (PDT) Subject: [Gambas-user] Raspberry Pi Message-ID: <1343903682.65686.YahooMailNeo@...2899...> Well my Rpi has turned up and it works very well with Raspbian (Debian wheezy) on it. I am happy to say it performs much faster than I expected. I have down loaded & install Gambas3 with the Rpi. sudo apt-get update sudo apt-get install gambas3 sudo gambas3 All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went to 100% and the Rpi hung. Any one have GB3 running on Raspbian and any idea why GB3 hangs for me. Regards to all Mike From wally at ...2037... Thu Aug 2 14:15:33 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 14:15:33 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1343903682.65686.YahooMailNeo@...2899...> References: <1343903682.65686.YahooMailNeo@...2899...> Message-ID: <4907329.PSjVm2YRp5@...46...> On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > Well my Rpi has turned up and it works very well with Raspbian (Debian > wheezy) on it. I am happy to say it performs much faster than I expected. > I have down loaded & install Gambas3 with the Rpi. > > sudo apt-get update > sudo apt-get install gambas3 > sudo gambas3 > > All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went > to 100% and the Rpi hung. > > Any one have GB3 running on Raspbian and any idea why GB3 hangs for me. > > Regards to all > Mike Hello Mike, similar problem here but on qemu and raspian. sudo apt-get update sudo apt-get install gambas3 gambas3 //<- i tried as user CPU usage 100% nothing else happens a long time wally From lists at ...2828... Thu Aug 2 14:40:39 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 14:40:39 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <4907329.PSjVm2YRp5@...46...> Message-ID: <000001cd70ac$0be25300$0f00a8c0@...2829...> > -----Original Message----- > From: wally [mailto:wally at ...2037...] > Sent: Thursday, August 02, 2012 2:16 PM > To: Mike Crean; mailing list for gambas users > Subject: Re: [Gambas-user] Raspberry Pi > > > On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > > Well my Rpi has turned up and it works very well with > Raspbian (Debian > > wheezy) on it. I am happy to say it performs much faster > than I expected. > > I have down loaded & install Gambas3 with the Rpi. > > > > sudo apt-get update > > sudo apt-get install gambas3 > > sudo gambas3 > > > > All seem to install OK and no errors. When I run GB3 the > Rpi CPU usage went > > to 100% and the Rpi hung. > > > > Any one have GB3 running on Raspbian and any idea why GB3 > hangs for me. > > > > Regards to all > > Mike > > Hello Mike, > > similar problem here but on qemu and raspian. > > sudo apt-get update > sudo apt-get install gambas3 > gambas3 //<- i tried as user > > CPU usage 100% > nothing else happens a long time I had the samee problems when trying the Gambas3 from the Debian repository so something is broken. Instead I downloaded and installed a Gambas3 3.1.1 package made available by a guy named "tomtor" and it works fine on my Raspi running Debian Squeeze and Xfce. http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb Install it with... sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install Kudos should go to tomtor and not me, you can find the original thread here... http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=2434&hilit=gambas2& start=50#p70883 Anyone know if a similar ARM package exists for the latest stable Gambas3 3.2.1? /CJ From lists at ...2828... Thu Aug 2 14:48:14 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 14:48:14 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <9399894.83gIc5ENKn@...46...> Message-ID: <000101cd70ad$175e94e0$0f00a8c0@...2829...> Hi Wally, > your posting is very interesting, thank you > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > 1st step was to make a Virtual machine of debian. > 2nd is to get Gmabs3 working on it ... > but this failed. > > Your information sounds as you successfully run ganbas3 on debian. > How did you install Gambas3 ? Se separate message posted just a minute ago > > BTW: Let me know if anyone wants the shared library file and I will > > upload it somewhere, it's compiled in Debain Squeeze. > > Yes, i will interested soon i think. Attached is a shared lib version of bcm2835 for Raspberri Pi made by Mike McCauley. You find more info about bcm2835 here... http://www.open.com.au/mikem/bcm2835/index.html Copy the attached file to "/usr/local/lib", then run "ldconfig" and you should be good to go. I'm still trying to figure out how to use it from Gambas3 and the only thing I've got working so far is the delay function so please post to the list if you get other functions declared correctly. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: libbcm2835.so Type: application/octet-stream Size: 18252 bytes Desc: not available URL: From wally at ...2037... Thu Aug 2 14:58:20 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 14:58:20 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000101cd70ad$175e94e0$0f00a8c0@...2829...> References: <000101cd70ad$175e94e0$0f00a8c0@...2829...> Message-ID: <2658502.BV2pChKTRI@...46...> On Thursday 02 August 2012 14:48:14 Christer Johansson wrote: > Hi Wally, > > > your posting is very interesting, thank you > > > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > > > 1st step was to make a Virtual machine of debian. > > 2nd is to get Gmabs3 working on it ... > > but this failed. > > > > Your information sounds as you successfully run ganbas3 on debian. > > How did you install Gambas3 ? > > Se separate message posted just a minute ago > > > > BTW: Let me know if anyone wants the shared library file and I will > > > upload it somewhere, it's compiled in Debain Squeeze. > > > > Yes, i will interested soon i think. > > Attached is a shared lib version of bcm2835 for Raspberri Pi made > by Mike McCauley. > > You find more info about bcm2835 here... > > http://www.open.com.au/mikem/bcm2835/index.html > > Copy the attached file to "/usr/local/lib", then run "ldconfig" and you > should be good to go. > > I'm still trying to figure out how to use it from Gambas3 and the > only thing I've got working so far is the delay function so please > post to the list if you get other functions declared correctly. > > /CJ Hi Christopher, thank you. Of course i've seen your recent posting, but i do not understand the line, but i'm do not know apt-get in details. sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install we are talking about gambas3. wally From lists at ...2828... Thu Aug 2 15:11:03 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 15:11:03 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <2658502.BV2pChKTRI@...46...> Message-ID: <000001cd70b0$480255c0$0f00a8c0@...2829...> > Of course i've seen your recent posting, but i do not understand the > line, but i'm do not know apt-get in details. > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > we are talking about gambas3. tomtors install example was for Gambas2. Just replace the name of the deb-file with the one downloaded like... sudo dpkg -i gambas3_3.1.1-1_armel.deb ; sudo apt-get -f install /CJ From wally at ...2037... Thu Aug 2 15:18:16 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 15:18:16 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd70b0$480255c0$0f00a8c0@...2829...> References: <000001cd70b0$480255c0$0f00a8c0@...2829...> Message-ID: <1556206.xZJKyLHqyM@...46...> On Thursday 02 August 2012 15:11:03 Christer Johansson wrote: > > Of course i've seen your recent posting, but i do not understand the > > line, but i'm do not know apt-get in details. > > > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > > > we are talking about gambas3. > > tomtors install example was for Gambas2. > > Just replace the name of the deb-file with the one downloaded like... > > sudo dpkg -i gambas3_3.1.1-1_armel.deb ; sudo apt-get -f install > > /CJ I was to do that, thank you :) From vuott at ...325... Thu Aug 2 17:11:08 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 2 Aug 2012 16:11:08 +0100 (BST) Subject: [Gambas-user] DesktopWindow.FullScreen..... Message-ID: <1343920268.11201.YahooMailClassic@...2789...> Hello, did someone use: DesktopWindow.FullScreen ? How do I have to use it exactly ? Best regards Vuotttttttt From vuott at ...325... Thu Aug 2 17:17:11 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 2 Aug 2012 16:17:11 +0100 (BST) Subject: [Gambas-user] R: DesktopWindow.FullScreen..... In-Reply-To: <1343920268.11201.YahooMailClassic@...2789...> Message-ID: <1343920631.64012.YahooMailClassic@...2758...> ...No problem, I have solved. --- Gio 2/8/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] DesktopWindow.FullScreen..... > A: Gambas-user at lists.sourceforge.net > Data: Gioved? 2 agosto 2012, 17:11 > Hello, > > did someone use: DesktopWindow.FullScreen ? > > How do I have to use it exactly ? > > Best regards > Vuotttttttt > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lknetpl at ...626... Fri Aug 3 00:28:50 2012 From: lknetpl at ...626... (LK) Date: Thu, 02 Aug 2012 22:28:50 +0000 Subject: [Gambas-user] Failed to find gb.form component In-Reply-To: <1343920631.64012.YahooMailClassic@...2758...> References: <1343920631.64012.YahooMailClassic@...2758...> Message-ID: <501AFF22.2010802@...626...> Hello! When compiling my program the command 'configure' prints the error: "configure: error: Failed to find gb.form component.". All libraries that I had in gambas folder, copied to /usr/lib/gambas2. The system is Tiny Core. Best regards, LeszeKK From abbat.81 at ...787... Thu Aug 2 22:49:22 2012 From: abbat.81 at ...787... (abbat) Date: Thu, 2 Aug 2012 13:49:22 -0700 (PDT) Subject: [Gambas-user] label multiline property Message-ID: <34248091.post@...1379...> Does label has some feature like multi-line? -- View this message in context: http://old.nabble.com/label-multiline-property-tp34248091p34248091.html Sent from the gambas-user mailing list archive at Nabble.com. From richard.j.walker at ...247... Thu Aug 2 23:20:13 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 2 Aug 2012 22:20:13 +0100 Subject: [Gambas-user] label multiline property In-Reply-To: <34248091.post@...1379...> References: <34248091.post@...1379...> Message-ID: Hi Abbat, I have just checked the two provided label types; TextLabel and Label They behave slightly differently in providing multi-line text (which is possible for both). If you enter multi-line text using the Properties form in the IDE in Label1.Text then the lines will appear as entered in the label on your form. If you enter multi-line text using the Properties form in the IDE in TextLabel1.Text then the linefeeds are used as word breaking space and the text is formatted with the words wrapping according to the width and height of the label on your form. If that isn't clear then just try it with your own label examples. And don't forget you can quickly change a label from one type to the other and instantly see the effect that will have on your form layout. Just select the label in the form design view and right-click to get the context menu where the 3rd option is "Change into...". Richard From rterry at ...1823... Fri Aug 3 02:30:20 2012 From: rterry at ...1823... (Richard Terry) Date: Fri, 03 Aug 2012 10:30:20 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> Message-ID: <501B1B9C.8070100@...1823...> Fabien Bodard wrote: All my gambas versions are 3.2 + (whatever the latest svn is) richard > 2012/8/1 richard > > >> I seem to remember a posting in recent times about how to set the row >> height to automatically adjust to the height of wrapped text >> >> ?possible >> >> thanks in anticipation# >> >> Richard >> >> > it was about rows header... but everything can became possible as gridview > is in gb now. > > tell your needs > > > >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > From lists at ...2828... Fri Aug 3 09:31:24 2012 From: lists at ...2828... (Christer Johansson) Date: Fri, 3 Aug 2012 09:31:24 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd714a$01038960$0f00a8c0@...2829...> > uint8_t is a type as specified by the _t in the naming. u = unsigned > and int = integer 8 = eight bits. So this declares an unsigned integer > of 8 bits. Thanks for the clarification Randall but question remains, how should I declare a uint8_t in Gambas3 when using the EXTERN command? The only byte sized datatypes in Gambas3 are Boolean and Byte and Boolean is clearly not the one to use since it's only TRUE/FALSE but using Byte as below give a "Segmentation Fault" when calling the function in libbcm2835. ' Declare shared library Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" ' Call the function bcm2835_gpio_set(17) /CJ From gambas.fr at ...626... Fri Aug 3 09:38:03 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 3 Aug 2012 09:38:03 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <501B1B9C.8070100@...1823...> References: <50193038.8090801@...1823...> <501B1B9C.8070100@...1823...> Message-ID: 2012/8/3 Richard Terry > Fabien Bodard wrote: > > All my gambas versions are 3.2 + (whatever the latest svn is) > > richard > > > 2012/8/1 richard > > > > > >> I seem to remember a posting in recent times about how to set the row > >> height to automatically adjust to the height of wrapped text > >> > >> ?possible > >> > >> thanks in anticipation# > >> > >> Richard > >> > >> > > it was about rows header... but everything can became possible as > gridview > > is in gb now. > > > > tell your needs > > > > > > > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > As a workaround, Set the Row height at -1 after setting the text... I think Benoit need do a little change at this part of code. gvwView[10, 0].RichText = "Gambas almost means BASic!
La nuit tous les chats sont bleux!" gvwView.Rows[10].Height = -1 -- Fabien Bodard From rterry at ...1823... Fri Aug 3 09:50:31 2012 From: rterry at ...1823... (Richard Terry) Date: Fri, 03 Aug 2012 17:50:31 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> <501B1B9C.8070100@...1823...> Message-ID: <501B82C7.6020306@...1823...> Fabien Bodard wrote: > 2012/8/3 Richard Terry > > >> Fabien Bodard wrote: >> >> All my gambas versions are 3.2 + (whatever the latest svn is) >> >> richard >> >> >>> 2012/8/1 richard >>> >>> >>> >>>> I seem to remember a posting in recent times about how to set the row >>>> height to automatically adjust to the height of wrapped text >>>> >>>> ?possible >>>> >>>> thanks in anticipation# >>>> >>>> Richard >>>> >>>> >>>> >>> it was about rows header... but everything can became possible as >>> >> gridview >> >>> is in gb now. >>> >>> tell your needs >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. >>>> >> Discussions >> >>>> will include endpoint security, mobile security and the latest in >>>> >> malware >> >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > As a workaround, > > Set the Row height at -1 after setting the text... I think Benoit need do a > little change at this part of code. > > gvwView[10, 0].RichText = "Gambas almost means BASic!
La nuit > tous les chats sont bleux!" > gvwView.Rows[10].Height = -1 > > > Thanks, I'll try that this weekend. From gambas at ...2524... Fri Aug 3 12:11:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 03 Aug 2012 10:11:35 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance Message-ID: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Status: New Owner: gambas... at ...626... Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 295 by gambas... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 Operating system: Linux Distribution: ArchLinux Architecture: x86_64 GUI component: QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. Done 4) If your project needs a database, try to provide it, or part of it. No 5) Explain clearly how to reproduce the bug or the crash. Just add a class named GridView with export keyword, then add a form with a tableview and execute or try the attached file 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: Bug_Inheritance_2-0.0.1.tar.gz 4.6 KB From richard.j.walker at ...247... Fri Aug 3 20:02:44 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Fri, 3 Aug 2012 19:02:44 +0100 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd714a$01038960$0f00a8c0@...2829...> References: <000001cd714a$01038960$0f00a8c0@...2829...> Message-ID: Pardon me for butting in, but I wonder if you have tried a Gambas short (16 bits). The last time I can recall seeing a byte or character passed as an 8bit value I was using a Z80! I have a vague recollection that the Lattice C compiler for the MC68008 used the bottom word (16 bits) in a register for a char and I may be re-inventing history, but something tells me the MC68020 needed a long word (32 bits)! If this is a matter of the wrong amount of storage being allocated and written to, I would certainly try both short and long. R From lists at ...2828... Sat Aug 4 12:27:52 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 4 Aug 2012 12:27:52 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd722b$d11818f0$0f00a8c0@...2829...> > Pardon me for butting in, but I wonder if you have tried a Gambas > short (16 bits). > > The last time I can recall seeing a byte or character passed as an > 8bit value I was using a Z80! I have a vague recollection that the > Lattice C compiler for the MC68008 used the bottom word (16 bits) in a > register for a char and I may be re-inventing history, but something > tells me the MC68020 needed a long word (32 bits)! > > If this is a matter of the wrong amount of storage being allocated and > written to, I would certainly try both short and long. Richard, your input is appreciated, I will test with short as well as long. /CJ From emil.lenngren at ...626... Sat Aug 4 13:54:24 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 4 Aug 2012 13:54:24 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd722b$d11818f0$0f00a8c0@...2829...> References: <000001cd722b$d11818f0$0f00a8c0@...2829...> Message-ID: Does somebody have a compiled version of Gambas for the Raspberry Pi? (I don't have time to compile my own...) /Emil 2012/8/4 Christer Johansson > > > Pardon me for butting in, but I wonder if you have tried a Gambas > > short (16 bits). > > > > The last time I can recall seeing a byte or character passed as an > > 8bit value I was using a Z80! I have a vague recollection that the > > Lattice C compiler for the MC68008 used the bottom word (16 bits) in a > > register for a char and I may be re-inventing history, but something > > tells me the MC68020 needed a long word (32 bits)! > > > > If this is a matter of the wrong amount of storage being allocated and > > written to, I would certainly try both short and long. > > Richard, your input is appreciated, I will test with short as well as long. > > /CJ > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From emil.lenngren at ...626... Sat Aug 4 14:09:25 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 4 Aug 2012 14:09:25 +0200 Subject: [Gambas-user] JIT bug 7 In-Reply-To: References: Message-ID: OK, it should work now. 2012/7/28 Emil Lenngren > Can't really do anything right now. I am in Venice now on Vacation :) > I come home in 8 days or something. > > If you want, you can post the llvm output, gdb stacktrace or whatever... > > /Emil > > 2012/7/28 Jussi Lahtinen > >> Before continuing my vacation again in countryside... >> Here is some JIT bug. See attachment. >> >> Gambas 3 rev 4995 @ Xubuntu 12.04 64bit >> >> Jussi >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > From gambas at ...2524... Sat Aug 4 19:10:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Aug 2012 17:10:05 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox Message-ID: <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 296 by johang... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 when click in combobox dont see the list of items ubuntu 12.04 gambas 3.2.1 From tobiasboege01 at ...1601... Sun Aug 5 01:01:41 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 01:01:41 +0200 Subject: [Gambas-user] Remove individual buttons from Window header Message-ID: <20120804230141.GC497@...2774...> Hi, is it possible to not have individual buttons in the Window's header? I specifically talk about disabling/removing the "Close" button but keep the others (minimise/maximise) intact. I haven't really used a graphical system for a long time but this layout (min/max/close) is also configurable, right? As far as I can tell, this is more related to the window manager and Gtk+ resp. Qt but since we have components for either one there must be people who know about it. I do not a bit and I don't really concern about it but Hans does hence I ask for him. I stopped googling when I read something about "WindowHints" and thought that I have to talk here (although I would continue on my own if you had not the time). Regards, Tobi From lists at ...2828... Sun Aug 5 10:56:48 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 10:56:48 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd72e8$43ceae10$0f00a8c0@...2829...> > Does somebody have a compiled version of Gambas for the Raspberry Pi? (I > don't have time to compile my own...) I use this one at the moment, just like you I have not had enough time to compile latest final build on RasPi yet. http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb One question regarding compiling, if I set up and compile final Gambas3 3.2.1 how do I tell it to make a complete deb-package to share with others? /CJ From abbat.81 at ...787... Sun Aug 5 12:06:42 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 03:06:42 -0700 (PDT) Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) Message-ID: <34257082.post@...1379...> Dim TimeS as String = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) We get a string like "9:8:4" But it would be better this way: "09:08:04" Thanks -- View this message in context: http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html Sent from the gambas-user mailing list archive at Nabble.com. From lists at ...2828... Sun Aug 5 12:07:06 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 12:07:06 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> > Does somebody have a compiled version of Gambas for the > Raspberry Pi? (I don't have time to compile my own...) Jyst a FYI... Since it's raining here today I decided to set things up so I can compile Gambas3 3.2.1 on my Raspberry Pi. So if everything works out OK and I figure out how to make a DEB-package out of it I will post a link to it later... /CJ From emil.lenngren at ...626... Sun Aug 5 12:09:34 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 5 Aug 2012 12:09:34 +0200 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) In-Reply-To: <34257082.post@...1379...> References: <34257082.post@...1379...> Message-ID: Try Dim TimeS As String = Format$(Now, "hh:nn:ss") Read more at: http://gambasdoc.org/help/lang/userformat?v3 /Emil 2012/8/5 abbat > > > Dim TimeS as String = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) > > We get a string like "9:8:4" > But it would be better this way: "09:08:04" > > Thanks > -- > View this message in context: > http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Sun Aug 5 12:25:39 2012 From: rterry at ...1823... (richard) Date: Sun, 05 Aug 2012 20:25:39 +1000 Subject: [Gambas-user] Combo drop down height question Message-ID: <501E4A23.5090708@...1823...> Hi, I wondered if there was any way to programatically set the height of the drop down list which pops up when the combo box is clicked? Regards richard From mike.crean at ...2897... Sun Aug 5 12:27:43 2012 From: mike.crean at ...2897... (Mike Crean) Date: Sun, 5 Aug 2012 03:27:43 -0700 (PDT) Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> References: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> Message-ID: <1344162463.93157.YahooMailNeo@...2900...> Hi will it be setup to install & run on Raspbian or only Squeeze ? Mike ________________________________ From: Christer Johansson To: 'mailing list for gambas users' Sent: Sunday, 5 August 2012 6:07 PM Subject: Re: [Gambas-user] Declaring external C libraries > Does somebody have a compiled version of Gambas for the > Raspberry Pi? (I don't have time to compile my own...) Jyst a FYI... Since it's raining here today I decided to set things up so I can compile Gambas3 3.2.1 on my Raspberry Pi. So if everything works out OK and I figure out how to make a DEB-package out of it I will post a link to it later... /CJ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sun Aug 5 14:45:48 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 5 Aug 2012 13:45:48 +0100 (BST) Subject: [Gambas-user] R: Time Format in 00:00:00 (Two digits) In-Reply-To: <34257082.post@...1379...> Message-ID: <1344170748.41611.YahooMailClassic@...2691...> Hello, try: Public Sub .......() Dim TimeS As String TimeS = Format(Hour(Now), "0#") & ":" & Format(Minute(Now), "0#") & ":" & Format(Second(Now), "0#") Print TimeS End --- Dom 5/8/12, abbat ha scritto: > Da: abbat > Oggetto: [Gambas-user] Time Format in 00:00:00 (Two digits) > A: gambas-user at lists.sourceforge.net > Data: Domenica 5 agosto 2012, 12:06 > > > Dim TimeS as String = Hour(Now) & ":" & Minute(Now) > & ":" & Second(Now) > > We get a string like "9:8:4" > But it would be better this way: "09:08:04" > > Thanks > -- > View this message in context: http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html > Sent from the gambas-user mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...981... Sat Aug 4 18:58:16 2012 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 04 Aug 2012 12:58:16 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... Message-ID: <501D54A8.2070908@...981...> Fedora 13 Gambas 3.2.90 Gnome 2 Four input boxes are arranged on a tab, lets call them TextBox1, TextBox2, TextBox3 and TextBox4, and this this is the order in which they appear in the hierarchy. On the form they are arranged in two columns, the first column contains TextBox1 and TextBox 2, the second Column TextBox3 and TextBox4. When the user is entering data I want them to enter everything in the first column (TextBox1 and TextBox2), then the second Column (TextBox3 and TextBox4), which is the order of the controls in the hierarchy. Alas this does not transpire. After entering data in TextBox1 the user presses TAB and the focus is given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is the last one. Does the Hierarchy not also enforce the tab order/z order of the controls? Kindest regards Steve. From adamnt42 at ...626... Sun Aug 5 15:20:30 2012 From: adamnt42 at ...626... (Adam Ant) Date: Sun, 5 Aug 2012 22:50:30 +0930 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) Message-ID: And if you want to be even more confused, try this: Public Sub Main() Dim sTime As String = Time(Now()) Print sTime Print Time(Now()) End The bind moggles! Bruce From abbat.81 at ...787... Sun Aug 5 15:31:15 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:31:15 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) Message-ID: <34257551.post@...1379...> A have an existing Panel1 which contains a few controls. How to add a new control to existing panel? I could not find anything in properies of panel(list of controls or something else) Thanks -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html Sent from the gambas-user mailing list archive at Nabble.com. From tobiasboege01 at ...1601... Sun Aug 5 15:36:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 15:36:20 +0200 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257551.post@...1379...> References: <34257551.post@...1379...> Message-ID: <20120805133620.GB496@...2774...> On Sun, 05 Aug 2012, abbat wrote: > > A have an existing Panel1 which contains a few controls. > How to add a new control to existing panel? > I could not find anything in properies of panel(list of controls or > something else) > Thanks > -- > View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Actually, there is the Panel.Children collection but as I understood, this is read-only. The best way I can think of would be to create the new control with the Panel as its parent, if possible: (for exmaple, a new Button into the Panel) Dim hNewButton As New Button(Panel1) As "ButtonName" Regards, Tobi From abbat.81 at ...787... Sun Aug 5 15:41:11 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:41:11 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <20120805133620.GB496@...2774...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> Message-ID: <34257601.post@...1379...> Thanks Oh, this is way to create a controls by code, but there any way to do it in Designer? Tobias Boege wrote: > > On Sun, 05 Aug 2012, abbat wrote: >> >> A have an existing Panel1 which contains a few controls. >> How to add a new control to existing panel? >> I could not find anything in properies of panel(list of controls or >> something else) >> Thanks >> -- >> View this message in context: >> http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > Actually, there is the Panel.Children collection but as I understood, this > is read-only. > The best way I can think of would be to create the new control with the > Panel as its parent, if possible: > > (for exmaple, a new Button into the Panel) > Dim hNewButton As New Button(Panel1) As "ButtonName" > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257601.html Sent from the gambas-user mailing list archive at Nabble.com. From adamnt42 at ...626... Sun Aug 5 15:41:13 2012 From: adamnt42 at ...626... (Adam Ant) Date: Sun, 5 Aug 2012 23:11:13 +0930 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257551.post@...1379...> References: <34257551.post@...1379...> Message-ID: On Sun, Aug 5, 2012 at 11:01 PM, abbat wrote: > > A have an existing Panel1 which contains a few controls. > How to add a new control to existing panel? > I could not find anything in properies of panel(list of controls or > something else) > Thanks > -- > View this message in context: > http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html > Sent from the gambas-user mailing list archive at Nabble.com. > > Dim MyControl as TextBox ' or whatever MyControl = New TextBox(Panel1) Abbat, I can't access the help at the moment to give you a link, but you need to read and understand completely what that syntax means. Bruce From tobiasboege01 at ...1601... Sun Aug 5 15:47:09 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 15:47:09 +0200 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257601.post@...1379...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> <34257601.post@...1379...> Message-ID: <20120805134709.GC496@...2774...> On Sun, 05 Aug 2012, abbat wrote: > > Thanks > Oh, this is way to create a controls by code, but there any way to do it in > Designer? > > I always did it like this: - Select the control you want to move into the Panel - Ctrl+X - Select Panel to move the control into - Ctrl+V BTW, you can also add existing controls to a new container at runtime via Control.Reparent(). I just had this strong desire to improve my first answer ;-) Regards, Tobi From abbat.81 at ...787... Sun Aug 5 15:56:28 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:56:28 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <20120805134709.GC496@...2774...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> <34257601.post@...1379...> <20120805134709.GC496@...2774...> Message-ID: <34257660.post@...1379...> Thanks a lot, that's what I was looking for Tobias Boege wrote: > > On Sun, 05 Aug 2012, abbat wrote: >> >> Thanks >> Oh, this is way to create a controls by code, but there any way to do it >> in >> Designer? >> >> > > I always did it like this: > - Select the control you want to move into the Panel > - Ctrl+X > - Select Panel to move the control into > - Ctrl+V > > BTW, you can also add existing controls to a new container at runtime via > Control.Reparent(). I just had this strong desire to improve my first > answer ;-) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257660.html Sent from the gambas-user mailing list archive at Nabble.com. From lists at ...2828... Sun Aug 5 18:19:22 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 18:19:22 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <1344162463.93157.YahooMailNeo@...2900...> Message-ID: <000001cd7326$1902ae50$0f00a8c0@...2829...> > Hi will it be setup to install & run on Raspbian or only Squeeze ? It will be compiled on Debian Squeeze so I doub't it will install on Raspbian? I've decided to stick to Squeeze for time being since Raspbian is WIP. BTW, the test compilation of Gambas3 3.2.1 on the RasPi worked fine but I'm stuck trying to figure out how to make a DEB-package out of it. I'm following this guide... http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.htm l But when entering "dpkg-depcheck -d ./configure" to get dependencies I receive following error... # dpkg-depcheck -d ./configure strace: ./configure: command not found Running strace failed (command line: strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure Any ideas? /CJ From tobiasboege01 at ...1601... Sun Aug 5 18:25:35 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 18:25:35 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd7326$1902ae50$0f00a8c0@...2829...> References: <1344162463.93157.YahooMailNeo@...2900...> <000001cd7326$1902ae50$0f00a8c0@...2829...> Message-ID: <20120805162535.GD496@...2774...> On Sun, 05 Aug 2012, Christer Johansson wrote: > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > It will be compiled on Debian Squeeze so I doub't it will install on > Raspbian? I've decided to stick to Squeeze for time being since Raspbian > is WIP. > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi worked fine but > I'm stuck trying to figure out how to make a DEB-package out of it. > > I'm following this guide... > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.htm > l > > But when entering "dpkg-depcheck -d ./configure" to get dependencies I > receive > following error... > > # dpkg-depcheck -d ./configure > > strace: ./configure: command not found > Running strace failed (command line: > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > Any ideas? > > /CJ It would be interesting where you run that command. The guide says to issue it in the sources folder so I would blindly issue it at top-level gambas source directory and I indeed have a ./configure script there. Regards, Tobi From emil.lenngren at ...626... Sun Aug 5 18:33:55 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 5 Aug 2012 18:33:55 +0200 Subject: [Gambas-user] Gambas has Gosub now! In-Reply-To: <500CB01E.7060707@...1...> References: <4F52B1E0.4070204@...1...> <4F52C42D.5000106@...1...> <4F533304.1060905@...1...> <4F53FEE3.5010802@...1...> <4F5561AB.8040400@...1...> <4F556FC2.8090201@...1...> <4F56C78B.8040509@...1887...> <4FFA0CF3.60500@...1...> <500B43B2.3030306@...1...> <500C8487.3050800@...1...> <500CB01E.7060707@...1...> Message-ID: If there is a pending gosub + a catch, the gosub things on the stack are erased, so when returning back, invalid values are copied from the stack. So at stack unwinding, the gosub slots must be kept. This crashes the interpreter now (or puts it in an infinite loop): Public Sub Main() Dim i As Integer With [1] For i = 1 To 2 GoSub lbl Next End With Return lbl: Error.Raise("Hello") Catch Print "catching";; Error.Text Return End 2012/7/23 Beno?t Minisini > Le 23/07/2012 01:14, Emil Lenngren a ?crit : > > It was this line I was worried about: > > while (SP > (BP + FP->n_local + FP->n_ctrl)) > > > > /Emil > > > > I think it's ok... Failing during a Gosub is not different from failing > inside a deep expression evaluation. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From wally at ...2037... Sun Aug 5 18:38:22 2012 From: wally at ...2037... (wally) Date: Sun, 05 Aug 2012 18:38:22 +0200 Subject: [Gambas-user] Make Installation Package ? Message-ID: <3241612.idrQZEWV3i@...46...> i want to try to "Make Installation Package" on GB3 V 3.2.90 on OpenSuse 12.1 "makepkg" is missing Package.MakeDebPackage.767: 'dpkg-buildpackage' has failed. where to find mor info on this feature and its needs ? wally From gambas.fr at ...626... Sun Aug 5 20:18:13 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 5 Aug 2012 20:18:13 +0200 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) In-Reply-To: References: Message-ID: The Emil version is the good one Le 5 ao?t 2012 15:21, "Adam Ant" a ?crit : > And if you want to be even more confused, try this: > > Public Sub Main() > Dim sTime As String = Time(Now()) > Print sTime > Print Time(Now()) > End > > The bind moggles! > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Sun Aug 5 21:09:49 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 5 Aug 2012 20:09:49 +0100 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: <3241612.idrQZEWV3i@...46...> References: <3241612.idrQZEWV3i@...46...> Message-ID: Wally, You have made me curious. I always thought that OpenSuse used RPM type packages. Is it the case that you are building for an alien (to OpenSuse) distribution? Richard From wally at ...2037... Sun Aug 5 21:21:47 2012 From: wally at ...2037... (wally) Date: Sun, 05 Aug 2012 21:21:47 +0200 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: References: <3241612.idrQZEWV3i@...46...> Message-ID: <9814251.VIbsZz5ZZK@...46...> On Sunday 05 August 2012 20:09:49 RICHARD WALKER wrote: > Wally, > You have made me curious. I always thought that OpenSuse used RPM type > packages. Is it the case that you are building for an alien (to > OpenSuse) distribution? > > Richard Richard, yes, Open Suse is rpm based. I also was curious and just palyed around a little bit. I need a gambas3 runtime for a Debian System (Raspberry/ Raspian etc.) to run gambas3 projects developed on OpenSuse. I tried a lot of things and this was the last idea i tested. Stupid idea i assume. Anyway , i would like to read more about this feature and asked for source of information here. wally From richard.j.walker at ...247... Sun Aug 5 22:35:20 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 5 Aug 2012 21:35:20 +0100 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: <9814251.VIbsZz5ZZK@...46...> References: <3241612.idrQZEWV3i@...46...> <9814251.VIbsZz5ZZK@...46...> Message-ID: Hi Wally, Colour me curious too. I just checked my package manager to see if these "migration" tools are available and the answer is no; not for Mageia at any rate. I did see that my "Make Installation package" Gambas wizard indicates "makepkg" is needed for Archlinux and only "debhelper" for Debian (and *buntu). If Debian is your target, have you seen this: http://rpm.pbone.net/index.php3/stat/4/idpl/6715710/dir/opensuse/com/debian-debhelper-6.0.8-7.2.i586.rpm.html From lists at ...2828... Mon Aug 6 07:34:53 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 6 Aug 2012 07:34:53 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <20120805162535.GD496@...2774...> Message-ID: <000001cd7395$390ff1c0$0f00a8c0@...2829...> > -----Original Message----- > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > Sent: Sunday, August 05, 2012 6:26 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > > > It will be compiled on Debian Squeeze so I doub't it will install on > > Raspbian? I've decided to stick to Squeeze for time being > since Raspbian > > is WIP. > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > worked fine but > > I'm stuck trying to figure out how to make a DEB-package out of it. > > > > I'm following this guide... > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > u-debian.htm > > l > > > > But when entering "dpkg-depcheck -d ./configure" to get > dependencies I > > receive > > following error... > > > > # dpkg-depcheck -d ./configure > > > > strace: ./configure: command not found > > Running strace failed (command line: > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > > > Any ideas? > > > > /CJ > > It would be interesting where you run that command. The guide > says to issue it in the sources folder so I would blindly issue it at > top-level gambas source directory and I indeed have a ./configure script there. I tried to enter it both in the /debian directory and also top-level gambas source directory but it gives the same error. /CJ From charlie at ...2793... Mon Aug 6 10:15:39 2012 From: charlie at ...2793... (Cogier) Date: Mon, 6 Aug 2012 01:15:39 -0700 (PDT) Subject: [Gambas-user] Inputbox Message-ID: <34259974.post@...1379...> Is there a way to centre the InputBox on the screen as I always see it in the top left hand corner and it is missed by the user? -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34259974.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Mon Aug 6 14:46:53 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 12:46:53 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE Message-ID: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 1) Describe the problem. Can't compare strings that contains "[]" using LIKE 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2.1 3) Provide a little project that reproduces the bug or the crash. Dim a As String = "/music/album-[artist]-song" Dim b As String = "documents/music/album-[artist]-song.ogg" 'return false here: Debug b Like "*" & a & "*" 'it also says that [a] = [a], 'but [a] like [a] also returns false! -------- Maybe it is an expected behaviour, but how can accomplish that task? From gambas at ...2524... Mon Aug 6 14:48:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 12:48:35 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #1 on issue 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Changing "[" to "(" and "]" to ")" works. From gambas at ...2524... Mon Aug 6 15:30:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 13:30:50 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #2 on issue 297 by gambas... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Try \\ before braquets to escape th? character And read the doc of like http://gambasdoc.org/help/lang/like?v3 From gambas at ...2524... Mon Aug 6 16:19:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 14:19:40 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) Message-ID: <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 298 by ron.mcin... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 1) Describe the problem. If you have a ColumnView with the Mode set to Multi then using Ctrl-Click or Shift-Click does not allow selection of multiple items when using gtk+ (Ctrl-A does select all items). When changing the project to qt4 it does work. I did a little further investigation and found that the GridView control does NOT have the same problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2.1 (also seen in 3.1.*) Operating system: Linux Distribution: Mint (Debian version) Architecture: x86 GUI component: GTK+ (dpkg reports version 2.24.10-1) Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Attached (Project should start with GTK+ selected). 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. 1. Run project. Attempt to use Ctrl-Click on columnview (only single select will occur). Using Ctrl-Click on gridview will successfully select multiple items. 2. Stop run change from GTK+ to QT4. 3. Run again and both columnview and gridview allow multi-select. Thanks in advance. Ron Attachments: DemoError.tar.gz 6.0 KB From tobiasboege01 at ...1601... Mon Aug 6 16:35:32 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Mon, 6 Aug 2012 16:35:32 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd7395$390ff1c0$0f00a8c0@...2829...> References: <20120805162535.GD496@...2774...> <000001cd7395$390ff1c0$0f00a8c0@...2829...> Message-ID: <20120806143532.GB487@...2774...> On Mon, 06 Aug 2012, Christer Johansson wrote: > > > > -----Original Message----- > > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > > Sent: Sunday, August 05, 2012 6:26 PM > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Declaring external C libraries > > > > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > > > > > It will be compiled on Debian Squeeze so I doub't it will install on > > > Raspbian? I've decided to stick to Squeeze for time being > > since Raspbian > > > is WIP. > > > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > > worked fine but > > > I'm stuck trying to figure out how to make a DEB-package out of it. > > > > > > I'm following this guide... > > > > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > > u-debian.htm > > > l > > > > > > But when entering "dpkg-depcheck -d ./configure" to get > > dependencies I > > > receive > > > following error... > > > > > > # dpkg-depcheck -d ./configure > > > > > > strace: ./configure: command not found > > > Running strace failed (command line: > > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > > > > > Any ideas? > > > > > > /CJ > > > > It would be interesting where you run that command. The guide > > says to issue it in the sources folder so I would blindly issue it at > > top-level gambas source directory and I indeed have a ./configure script > there. > > I tried to enter it both in the /debian directory and also top-level gambas > source directory but it gives the same error. > > /CJ > Well, I think Laurent Carlier would know better but my random shot: ./configure is initially generated by ./reconf-all. Did you run $ ./reconf-all before following the guide? Regards, Tobi From gambas at ...2524... Mon Aug 6 16:55:41 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 14:55:41 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #3 on issue 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Thanks, changing the pattern using a="/music/album-\\[artist\\]-song" works. But, i'm using that for a long list of items, should i call replace() everytime or there is a faster way? From richard.j.walker at ...247... Mon Aug 6 17:43:16 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 6 Aug 2012 16:43:16 +0100 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications Message-ID: I have an application which interacts with two or three other non-gambas applications and daemons and I am not absolutely certain these interactions are completely robust. I had littered the code with PRINT statements to get console output at various critical points of the application. Soon it got too much and I thought I would replace the PRINT with DEBUG (getting location information in the output) and giving me a way to turn these messages on or off, leaving the reduced number of PRINT statements to appear in a "cleaner" console output. So far so good. The DEBUG statements have proved invaluable in helping me to get the code into a working state, but they do not appear at all when I run the compiled application in a console. I never did find the way, which I thought must exist, to turn these messages on and off. The manual suggests it is possible to see DEBUG output in the compiled app's console but is completely silent on how this might be achieved. Any suggestions? Richard From tobiasboege01 at ...1601... Mon Aug 6 17:54:33 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Mon, 6 Aug 2012 17:54:33 +0200 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: References: Message-ID: <20120806155433.GC487@...2774...> On Mon, 06 Aug 2012, RICHARD WALKER wrote: > I have an application which interacts with two or three other > non-gambas applications and daemons and I am not absolutely certain > these interactions are completely robust. > > I had littered the code with PRINT statements to get console output at > various critical points of the application. Soon it got too much and I > thought I would replace the PRINT with DEBUG (getting location > information in the output) and giving me a way to turn these messages > on or off, leaving the reduced number of PRINT statements to appear in > a "cleaner" console output. > > So far so good. The DEBUG statements have proved invaluable in helping > me to get the code into a working state, but they do not appear at all > when I run the compiled application in a console. I never did find the > way, which I thought must exist, to turn these messages on and off. > > The manual suggests it is possible to see DEBUG output in the compiled > app's console but is completely silent on how this might be achieved. > > Any suggestions? > > Richard > Quoting the doc: "Prints expressions to the standard error output, only if your program is compiled with debugging informations." Have you tried: $ gbc3 -ga $ gbx3 in your project source directory? I think, the IDE compiles your project with debugging symbols per default, because it can debug it. Per default, when creating an executable, these are stripped, I assume. If the above works, can you find the little checkbox in the "Create executable" dialog which says to include debugging information? If I remember correctly, it is there... Regards, Tobi From emil.lenngren at ...626... Mon Aug 6 18:05:41 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 6 Aug 2012 18:05:41 +0200 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: What exactly are you trying to do? Using Like/Regexp is probably much slower than anything else. /Emil 2012/8/6 > > Comment #3 on issue 297 by Kokok... at ...626...: square bracket and LIKE > http://code.google.com/p/gambas/issues/detail?id=297 > > Thanks, changing the pattern using a="/music/album-\\[artist\\]-song" > works. > > But, i'm using that for a long list of items, should i call replace() > everytime or there is a faster way? > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Mon Aug 6 18:11:46 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 6 Aug 2012 17:11:46 +0100 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: <20120806155433.GC487@...2774...> References: <20120806155433.GC487@...2774...> Message-ID: Perfect! That's the one. I don't think I have ever seen that checkbox before. It must. I'm not sure what those cryptic commands do >$ gbc3 -ga >$ gbx3 but I will look them up and learn a bit more. Thanks Tobi. From emil.lenngren at ...626... Mon Aug 6 18:21:08 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 6 Aug 2012 18:21:08 +0200 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: References: <20120806155433.GC487@...2774...> Message-ID: g means to enable debugging information. a means to recompile everything. Omitting a means only compile files that have new changes. 2012/8/6 RICHARD WALKER > Perfect! That's the one. I don't think I have ever seen that checkbox > before. It must. > > I'm not sure what those cryptic commands do > >$ gbc3 -ga > >$ gbx3 > > but I will look them up and learn a bit more. > > Thanks Tobi. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Mon Aug 6 20:10:53 2012 From: math.eber at ...221... (Matti) Date: Mon, 06 Aug 2012 20:10:53 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34259974.post@...1379...> References: <34259974.post@...1379...> Message-ID: <502008AD.6020103@...221...> What is your Gambas version and your environment? Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. But as a workaround, you can easily create a tiny form for the input and open it with 'xyz.ShowModal'. That is surely centered, and it takes about the same amount of code. Am 06.08.2012 10:15, schrieb Cogier: > > Is there a way to centre the InputBox on the screen as I always see it in the > top left hand corner and it is missed by the user? > From gambas at ...2524... Mon Aug 6 22:16:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 20:16:35 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #4 on issue 297 by benoit.m... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Please use the mailing-list for questions about Gambas syntax. From gambas at ...2524... Mon Aug 6 22:18:07 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 20:18:07 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) In-Reply-To: <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-3.2.0 GUI-GTK Comment #1 on issue 298 by benoit.m... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 (No comment was entered for this change.) From pata.karlsson at ...626... Mon Aug 6 23:24:58 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 6 Aug 2012 23:24:58 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: References: <20120731204608.GA503@...2774...> Message-ID: 2012/8/2 Fabien Bodard > the _compare event is for the sort function in arrays > http://gambasdoc.org/help/lang/special/compare?en&v3 > > i think my way is the more simple > Thank you Tobias and Fabien for your input. For now, I am using the _compare function by calling it directly and not with <>. I guess I will rename it so I will not use <> on my objects in the future. :) /patrik From gambas at ...2524... Mon Aug 6 23:27:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:27:15 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) In-Reply-To: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 298 by benoit.m... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 Fixed in revision #5013. From gambas at ...2524... Mon Aug 6 23:31:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:31:29 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #1 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 Please provide the requested information when filling a bug, otherwise I can't fix it. From gambas at ...2524... Mon Aug 6 23:37:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:37:55 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip In-Reply-To: <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-3.2.0 GUI-QT4 Comment #1 on issue 294 by benoit.m... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 WTF? From gambas at ...2524... Tue Aug 7 00:50:27 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 22:50:27 +0000 Subject: [Gambas-user] Issue 299 in gambas: IDE: CComponent logic and libraries that export forms Message-ID: <0-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 299 by adamn... at ...626...: IDE: CComponent logic and libraries that export forms http://code.google.com/p/gambas/issues/detail?id=299 1) Describe the problem. (Welcome back Benoit, hope the holiday was enjoyable.) If a project is a library and it has a form that is exported the IDE cannot open the project. It provides an error pointing at line 612 of CComponent: For Each sClass In Hiddens If Classes.Exist(sClass) Then Classes[Key &/ sClass].InitControl() <----! iPos = Controls.Find(sClass) If iPos >= 0 Then Controls.Remove(iPos) Endif Next I have stepped through the code with the debugger and the error is raised when the Key is "$". I have hacked up a work around as follows: For Each sClass In Hiddens If Classes.Exist(sClass) Then If Key <> "$" Then Classes[Key &/ sClass].InitControl() iPos = Controls.Find(sClass) If iPos >= 0 Then Controls.Remove(iPos) Endif Endif Next but I don't believe that to be a true fix. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Just try to open the project in the IDE 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: aslibrary1-0.0.1.tar.gz 4.7 KB From wally at ...2037... Tue Aug 7 08:53:39 2012 From: wally at ...2037... (wally) Date: Tue, 07 Aug 2012 08:53:39 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? Message-ID: <8846846.2CpdmD2K9L@...46...> What minimum do i need to run a Gambas3 project, developed on OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? So far i installed gb3-runtime on the debian system and tried to run a project.gambas executable using gbr3 ./project.gambas, but this does not work. "No project file in 'project.gambas' thank you wally From lists at ...2828... Tue Aug 7 11:51:16 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 7 Aug 2012 11:51:16 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <20120806143532.GB487@...2774...> Message-ID: <000001cd7482$e46e5960$0f00a8c0@...2829...> > -----Original Message----- > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > Sent: Monday, August 06, 2012 4:36 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Mon, 06 Aug 2012, Christer Johansson wrote: > > > > > > > -----Original Message----- > > > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > > > Sent: Sunday, August 05, 2012 6:26 PM > > > To: mailing list for gambas users > > > Subject: Re: [Gambas-user] Declaring external C libraries > > > > > > > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > > > > > Hi will it be setup to install & run on Raspbian or > only Squeeze ? > > > > > > > > It will be compiled on Debian Squeeze so I doub't it > will install on > > > > Raspbian? I've decided to stick to Squeeze for time being > > > since Raspbian > > > > is WIP. > > > > > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > > > worked fine but > > > > I'm stuck trying to figure out how to make a > DEB-package out of it. > > > > > > > > I'm following this guide... > > > > > > > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > > > u-debian.htm > > > > l > > > > > > > > But when entering "dpkg-depcheck -d ./configure" to get > > > dependencies I > > > > receive > > > > following error... > > > > > > > > # dpkg-depcheck -d ./configure > > > > > > > > strace: ./configure: command not found > > > > Running strace failed (command line: > > > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF > ./configure > > > > > > > > Any ideas? > > > > > > > > /CJ > > > > > > It would be interesting where you run that command. The guide > > > says to issue it in the sources folder so I would blindly > issue it at > > > top-level gambas source directory and I indeed have a > ./configure script > > there. > > > > I tried to enter it both in the /debian directory and also > top-level gambas > > source directory but it gives the same error. > > > > /CJ > > > > Well, I think Laurent Carlier would know better but my random shot: > ./configure is initially generated by ./reconf-all. Did you run > > $ ./reconf-all > > before following the guide? No I did not. Since the guide states the following I assume I shouldn't but I will try it later. Important: You should start packaging with a completely clean (pristine) source directory, or simply with freshly unpacked sources. /CJ From lists at ...2828... Tue Aug 7 11:56:09 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 7 Aug 2012 11:56:09 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? In-Reply-To: <8846846.2CpdmD2K9L@...46...> Message-ID: <000101cd7482$e52aa480$0f00a8c0@...2829...> > What minimum do i need to run a Gambas3 project, developed on > OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? > > So far i installed gb3-runtime on the debian system and tried > to run a project.gambas executable using gbr3 ./project.gambas, > but this does not work. "No project file in 'project.gambas' Sound like the gb3-runtime isn't installed correctly on your RasPi. Did you install it as a deb-package using... dpkg -i gambas3-runtime_*.deb If your project doesn't uses any other Gambas3 components all you need is the gb3-runtime installed. /CJ From pata.karlsson at ...626... Tue Aug 7 13:00:51 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 7 Aug 2012 13:00:51 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts Message-ID: I have read about getting Gambas running on OS X and while browsing the svn log of Gambas I found the lines below. * NEW: Add support for the MacPorts distribution. * NEW: it is now available for Mac OS X 10.8 * BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. * BUG: Fix compilation on Mac OS X 10.8 * BUG: Correctly detect architecture on MacOSX. * BUG: Some files were incorrectly modified by Mac OS X changes. * BUG: Fix compilation on Mac OS X and Linux. * NEW: Search include and library files in /opt/local for Mac OS X. * NEW: Search include and library files in /opt/local for Mac OS X. But it * NEW: Make the component compile on Mac OS X with the qt4-mac port. The * BUG: Use -fnested-functions only on Mac OS X. * BUG: Make the "main" directory compile on Mac OS X. that things work better on MacOSX. * NEW: Mac OS X is a FreeBSD. Since I'm on the Mac most of the time this is very interesting. I could not find Gambas in MacPorts so I guess it is not ready yet. How far has the project come? Is there some kind of a time line? How can I help? I guess my knowledge is limited to compile, install and test it. /patrik From wally at ...2037... Tue Aug 7 13:28:41 2012 From: wally at ...2037... (wally) Date: Tue, 07 Aug 2012 13:28:41 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? In-Reply-To: <000101cd7482$e52aa480$0f00a8c0@...2829...> References: <000101cd7482$e52aa480$0f00a8c0@...2829...> Message-ID: <1697894.7zC6EM8ucR@...46...> Christoher, i installed simly with apt-get and seems to work. gbr3 -V , gbr3 --help behave as expected. > If your project doesn't uses any other Gambas3 components all you > need is the gb3-runtime installed. Ok, here i was not sure at all. I think all components activatet and used during develpment should also be present on target system. I'll try with one of the incuded simple example projects. Keep us informed on you activities concerning RasPi wally On Tuesday 07 August 2012 11:56:09 Christer Johansson wrote: > > What minimum do i need to run a Gambas3 project, developed on > > OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? > > > > So far i installed gb3-runtime on the debian system and tried > > to run a project.gambas executable using gbr3 ./project.gambas, > > but this does not work. "No project file in 'project.gambas' > > Sound like the gb3-runtime isn't installed correctly on your RasPi. > Did you install it as a deb-package using... > > dpkg -i gambas3-runtime_*.deb > > If your project doesn't uses any other Gambas3 components all you > need is the gb3-runtime installed. > > /CJ > > > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From basic.gambas at ...626... Tue Aug 7 13:35:08 2012 From: basic.gambas at ...626... (=?windows-1252?Q?Fran=E7ois_Gallo?=) Date: Tue, 7 Aug 2012 13:35:08 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts In-Reply-To: References: Message-ID: Le 7 ao?t 2012 ? 13:00, Patrik Karlsson a ?crit : > I have read about getting Gambas running on OS X and while browsing the svn > log of Gambas I found the lines below. > > * NEW: Add support for the MacPorts distribution. > * NEW: it is now available for Mac OS X 10.8 > * BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. > * BUG: Fix compilation on Mac OS X 10.8 > * BUG: Correctly detect architecture on MacOSX. > * BUG: Some files were incorrectly modified by Mac OS X changes. > * BUG: Fix compilation on Mac OS X and Linux. > * NEW: Search include and library files in /opt/local for Mac OS X. > * NEW: Search include and library files in /opt/local for Mac OS X. But it > * NEW: Make the component compile on Mac OS X with the qt4-mac port. The > * BUG: Use -fnested-functions only on Mac OS X. > * BUG: Make the "main" directory compile on Mac OS X. > that things work better on MacOSX. > * NEW: Mac OS X is a FreeBSD. > > Since I'm on the Mac most of the time this is very interesting. > I could not find Gambas in MacPorts so I guess it is not ready yet. Gambas is not in the MacPorts tree and i think it will be never because the qt4-x11 port doesn't work. Indeed, this one isn't up to date. While macports will not provide an update to this port, Gambas cannot go into the macports tree. To make Gambas i use both MacPorts and Fink. Although i only use Fink to get a 11 version of Qt. Currently, Gambas 3 compiles on OS X 10.8. Right now, i see with Benoit to debug it at runtime. The Gambas compiler crashes on some language instructions. Why? I don't know. Once Benoit will fix it, i could declare officially Gambas ported on OS X. (i hope at less?) I'm the main contributor who (try to) port Gambas on others systems than Linux. If you have some questions about Gambas's ports, contact me. > > How far has the project come? > Is there some kind of a time line? > How can I help? If you know good enough the OS X system, maybe yes i think you can help for Gambas. > > I guess my knowledge is limited to compile, install and test it. Logically, the main things that you must know is how install MacPorts and Fink distributions. Then, install the packages needed to compile Gambas. That's all you need to do :) . When i wrote "add support for macports distribution" in change log, i added path to a basic installation of MacPorts so that any people can compile directly Gambas. However don't forget to add in your .profile file environment variables needed to that. Fink and MacPorts adds automatically some variables but not all. You can already download svn source code of Gambas and try to compile it. Normally, you don't meet difficult to compile it. Do you use OS X 10.8 too? Fran?ois > > /patrik > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Tue Aug 7 15:34:43 2012 From: charlie at ...2793... (Cogier) Date: Tue, 7 Aug 2012 06:34:43 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <502008AD.6020103@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> Message-ID: <34266149.post@...1379...> Thanks for the reply Matti-4. I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. Can you give me any example code of the 'xyz.ShowModal'? Thanks for any help. Matti-4 wrote: > > What is your Gambas version and your environment? > Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. > > But as a workaround, you can easily create a tiny form for the input and > open it > with 'xyz.ShowModal'. That is surely centered, and it takes about the same > amount of code. > > > Am 06.08.2012 10:15, schrieb Cogier: >> >> Is there a way to centre the InputBox on the screen as I always see it in >> the >> top left hand corner and it is missed by the user? >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34266149.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Tue Aug 7 16:08:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Aug 2012 14:08:04 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip In-Reply-To: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 294 by benoit.m... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 Fixed in revision #5016. From emil.lenngren at ...626... Tue Aug 7 18:59:24 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Tue, 7 Aug 2012 18:59:24 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <000001cd70ac$0be25300$0f00a8c0@...2829...> References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> Message-ID: I tried to install http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian but I got "package architecture (armel) does not match system (armhf)". When I tried with "--force-architecture", I got a lot of dependency errors, but the files were installed. Running "gambas3" prints: "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": cannot open shared object file: No such file or directory", even though that file exists... /Emil 2012/8/2 Christer Johansson > > > > -----Original Message----- > > From: wally [mailto:wally at ...2037...] > > Sent: Thursday, August 02, 2012 2:16 PM > > To: Mike Crean; mailing list for gambas users > > Subject: Re: [Gambas-user] Raspberry Pi > > > > > > On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > > > Well my Rpi has turned up and it works very well with > > Raspbian (Debian > > > wheezy) on it. I am happy to say it performs much faster > > than I expected. > > > I have down loaded & install Gambas3 with the Rpi. > > > > > > sudo apt-get update > > > sudo apt-get install gambas3 > > > sudo gambas3 > > > > > > All seem to install OK and no errors. When I run GB3 the > > Rpi CPU usage went > > > to 100% and the Rpi hung. > > > > > > Any one have GB3 running on Raspbian and any idea why GB3 > > hangs for me. > > > > > > Regards to all > > > Mike > > > > Hello Mike, > > > > similar problem here but on qemu and raspian. > > > > sudo apt-get update > > sudo apt-get install gambas3 > > gambas3 //<- i tried as user > > > > CPU usage 100% > > nothing else happens a long time > > I had the samee problems when trying the Gambas3 from the Debian > repository so something is broken. > > Instead I downloaded and installed a Gambas3 3.1.1 package made > available by a guy named "tomtor" and it works fine on my Raspi > running Debian Squeeze and Xfce. > > http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > > Install it with... > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > Kudos should go to tomtor and not me, you can find the original > thread here... > > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=2434&hilit=gambas2& > start=50#p70883 > > Anyone know if a similar ARM package exists for the latest stable > Gambas3 3.2.1? > > /CJ > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Tue Aug 7 20:19:56 2012 From: math.eber at ...221... (Matti) Date: Tue, 07 Aug 2012 20:19:56 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34266149.post@...1379...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> Message-ID: <50215C4C.8090603@...221...> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't centered. Btw: you should update to gb3, it's much better! Example code for a ShowModal window: Create a form FMain with just two buttons (btnCancel and btnInput). Then create a form FInput with the Text "What's your name?", a TextBox (TextBox1) and two buttons (btnCancel and btnOK). The FMain code is: Public Sub Form_Open() Me.Center End Public Sub btnCancel_Click() Me.Close End Public Sub btnInput_Click() FInput.ShowModal If Me.Tag = "" Then Print "User has cancelled." Else Print "The name is " & Me.Tag & "." Endif End The FInput code is: Public Sub btnCancel_Click() FMain.Tag = "" Me.Close End Public Sub btnOK_Click() FMain.Tag = TextBox1.Text Me.Close End Easy, isn't it? Am 07.08.2012 15:34, schrieb Cogier: > > Thanks for the reply Matti-4. > > I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. > > Can you give me any example code of the 'xyz.ShowModal'? > > Thanks for any help. > > > Matti-4 wrote: >> >> What is your Gambas version and your environment? >> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >> >> But as a workaround, you can easily create a tiny form for the input and >> open it >> with 'xyz.ShowModal'. That is surely centered, and it takes about the same >> amount of code. >> >> >> Am 06.08.2012 10:15, schrieb Cogier: >>> >>> Is there a way to centre the InputBox on the screen as I always see it in >>> the >>> top left hand corner and it is missed by the user? >>> From sunblaster5 at ...626... Tue Aug 7 21:18:43 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 12:18:43 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? Message-ID: <1344367123.2744.31.camel@...2901...> Having a bit of trouble with trying to get Ganbas to add a value to a field in a table. I have a sqlite DB with a table named 'inventory' with field names like: 'name', 'start_date', 'end_date' and so on. I'm trying to add values to the fields using a interface, I have a text box to add a name to the 'name' field in the inventory table. But I am not having any success. I'm using Gambas version 2.21 as that is in my repo and been following the older book "A beginners Giude to Gambas" which i think uses version 1.9 as a basis. Here is my code for the 'connect' button: PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection TRY $hConn.CLOSE WITH $hConn .Type = "sqlite" .Host = "/home/rocko/DataBases" .Name = "plant_trax" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text $hConn.Close END This works as far as I can tell as I don't get the error. The offending code i believe is in the btnAdd_CLICK(): PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result $hConn.Open TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text INC Application.Busy $hConn.Begin rTable = "Inventory" rTable!name = txtName.Text rTable.Update $hConn.Commit FINALLY DEC Application.Busy $hConn.Close END I was getting "Database cannot be opened. Error =Driver name missing" So I added an "$hconn.Open". But now the app just hangs when I click the add new btn The database doesn't get updated. Forgive me but I'm still learning Gambas and basic. I had compiled a newer version of Gambas from the SVN but that was on another laptop that got stolen last week and I just installed what ever was in my repo (Crucnhbang) on my replacement, but I don't think thats my problem. From tobiasboege01 at ...1601... Tue Aug 7 22:00:16 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Tue, 7 Aug 2012 22:00:16 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> Message-ID: <20120807200016.GA502@...2774...> On Tue, 07 Aug 2012, Emil Lenngren wrote: > I tried to install > http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian > but I got "package architecture (armel) does not match system (armhf)". > When I tried with "--force-architecture", I got a lot of dependency errors, > but the files were installed. > Running "gambas3" prints: > "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": > cannot open shared object file: No such file or directory", even though > that file exists... > > /Emil > Hmm... Could it be what gb.image.so in turn depends on some other library which cannot be found? I certainly remember errors such as those above which do not actually mention the library that is not found but the library from which the error was risen. I just could not find any dependencies of gb.image.so, except libc. (ldconfig was done?) Regards, Tobi From sebikul at ...626... Tue Aug 7 22:08:58 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 7 Aug 2012 17:08:58 -0300 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <20120807200016.GA502@...2774...> References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> <20120807200016.GA502@...2774...> Message-ID: On Tue, Aug 7, 2012 at 5:00 PM, Tobias Boege wrote: > On Tue, 07 Aug 2012, Emil Lenngren wrote: >> I tried to install >> http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian >> but I got "package architecture (armel) does not match system (armhf)". >> When I tried with "--force-architecture", I got a lot of dependency errors, >> but the files were installed. >> Running "gambas3" prints: >> "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": >> cannot open shared object file: No such file or directory", even though >> that file exists... >> >> /Emil >> > > Hmm... Could it be what gb.image.so in turn depends on some other library > which cannot be found? > I certainly remember errors such as those above which do not actually > mention the library that is not found but the library from which the error > was risen. > I just could not find any dependencies of gb.image.so, except libc. > > (ldconfig was done?) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You are getting that error because armel and armhf are different implementations of the same architecture, and the linker can't load the gb.image.so library as it was compiled on an armel chip. You should download the source package and compile it yourself or find another package compiled under armel. It would be nice if you could also make available the compiled package under armel so others can test it ;) From gambas at ...2524... Tue Aug 7 22:19:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Aug 2012 20:19:05 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance In-Reply-To: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 295 by benoit.m... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 Yep. Actually you should not be able to re-implement a class that has been already used as a parent for another class. I will add an error message for that. From mohareve at ...626... Tue Aug 7 23:09:54 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 7 Aug 2012 23:09:54 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344367123.2744.31.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> Message-ID: I use to add fields like this: $hConn.Begin $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) $hConn.Commit And I use Begin and Commit only for the large amount of insertions. Csaba 2012/8/7 rocko > Having a bit of trouble with trying to get Ganbas to add a value to a > field in a table. > > I have a sqlite DB with a table named 'inventory' with field names like: > 'name', 'start_date', 'end_date' and so on. > > I'm trying to add values to the fields using a interface, I have a text > box to add a name to the 'name' field in the inventory table. > > But I am not having any success. > I'm using Gambas version 2.21 as that is in my repo and been following > the older book "A beginners Giude to Gambas" which i think uses version > 1.9 as a basis. > > Here is my code for the 'connect' button: > > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > > TRY $hConn.CLOSE > > WITH $hConn > .Type = "sqlite" > .Host = "/home/rocko/DataBases" > .Name = "plant_trax" > END WITH > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > $hConn.Close > END > > This works as far as I can tell as I don't get the error. > > The offending code i believe is in the btnAdd_CLICK(): > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > $hConn.Open > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > INC Application.Busy > > > $hConn.Begin > rTable = "Inventory" > rTable!name = txtName.Text > rTable.Update > > $hConn.Commit > > FINALLY > DEC Application.Busy > $hConn.Close > > END > > I was getting "Database cannot be opened. Error =Driver name missing" > So I added an "$hconn.Open". > But now the app just hangs when I click the add new btn > > The database doesn't get updated. > > Forgive me but I'm still learning Gambas and basic. > > I had compiled a newer version of Gambas from the SVN but that was on > another laptop that got stolen last week and I just installed what ever > was in my repo (Crucnhbang) on my replacement, but I don't think thats > my problem. > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Wed Aug 8 00:09:55 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 15:09:55 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344377395.2744.33.camel@...2901...> Ok I tried this: $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) $hConn.Commit Without success. On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > I use to add fields like this: > $hConn.Begin > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > $hConn.Commit > > And I use Begin and Commit only for the large amount of insertions. > Csaba > > 2012/8/7 rocko > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > field in a table. > > > > I have a sqlite DB with a table named 'inventory' with field names like: > > 'name', 'start_date', 'end_date' and so on. > > > > I'm trying to add values to the fields using a interface, I have a text > > box to add a name to the 'name' field in the inventory table. > > > > But I am not having any success. > > I'm using Gambas version 2.21 as that is in my repo and been following > > the older book "A beginners Giude to Gambas" which i think uses version > > 1.9 as a basis. > > > > Here is my code for the 'connect' button: > > > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > > > TRY $hConn.CLOSE > > > > WITH $hConn > > .Type = "sqlite" > > .Host = "/home/rocko/DataBases" > > .Name = "plant_trax" > > END WITH > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > $hConn.Close > > END > > > > This works as far as I can tell as I don't get the error. > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" > > rTable!name = txtName.Text > > rTable.Update > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > So I added an "$hconn.Open". > > But now the app just hangs when I click the add new btn > > > > The database doesn't get updated. > > > > Forgive me but I'm still learning Gambas and basic. > > > > I had compiled a newer version of Gambas from the SVN but that was on > > another laptop that got stolen last week and I just installed what ever > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > my problem. > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From emil.lenngren at ...626... Wed Aug 8 00:31:07 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 00:31:07 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344377395.2744.33.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> Message-ID: Try $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) $hConn.Commit Do you only have one column in that table? 2012/8/8 rocko > Ok I tried this: > $hConn.Begin > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > $hConn.Commit > > Without success. > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > I use to add fields like this: > > $hConn.Begin > > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > > $hConn.Commit > > > > And I use Begin and Commit only for the large amount of insertions. > > Csaba > > > > 2012/8/7 rocko > > > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > > field in a table. > > > > > > I have a sqlite DB with a table named 'inventory' with field names > like: > > > 'name', 'start_date', 'end_date' and so on. > > > > > > I'm trying to add values to the fields using a interface, I have a text > > > box to add a name to the 'name' field in the inventory table. > > > > > > But I am not having any success. > > > I'm using Gambas version 2.21 as that is in my repo and been following > > > the older book "A beginners Giude to Gambas" which i think uses version > > > 1.9 as a basis. > > > > > > Here is my code for the 'connect' button: > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > TRY $hConn.CLOSE > > > > > > WITH $hConn > > > .Type = "sqlite" > > > .Host = "/home/rocko/DataBases" > > > .Name = "plant_trax" > > > END WITH > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > $hConn.Close > > > END > > > > > > This works as far as I can tell as I don't get the error. > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > > > > $hConn.Open > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > INC Application.Busy > > > > > > > > > $hConn.Begin > > > rTable = "Inventory" > > > rTable!name = txtName.Text > > > rTable.Update > > > > > > $hConn.Commit > > > > > > FINALLY > > > DEC Application.Busy > > > $hConn.Close > > > > > > END > > > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > > So I added an "$hconn.Open". > > > But now the app just hangs when I click the add new btn > > > > > > The database doesn't get updated. > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > I had compiled a newer version of Gambas from the SVN but that was on > > > another laptop that got stolen last week and I just installed what ever > > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > > my problem. > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Wed Aug 8 00:46:05 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 15:46:05 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> Message-ID: <1344379565.2744.39.camel@...2901...> No, there are several. I justed wanted to test it with the first column to see if it works, which it doesn't. Tried your suggestion: $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) Values are still not inserting. On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > Try > > $hConn.Begin > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > $hConn.Commit > > Do you only have one column in that table? > > 2012/8/8 rocko > > > Ok I tried this: > > $hConn.Begin > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > $hConn.Commit > > > > Without success. > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > I use to add fields like this: > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > > > $hConn.Commit > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > Csaba > > > > > > 2012/8/7 rocko > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > > > field in a table. > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > like: > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > I'm trying to add values to the fields using a interface, I have a text > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > But I am not having any success. > > > > I'm using Gambas version 2.21 as that is in my repo and been following > > > > the older book "A beginners Giude to Gambas" which i think uses version > > > > 1.9 as a basis. > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > WITH $hConn > > > > .Type = "sqlite" > > > > .Host = "/home/rocko/DataBases" > > > > .Name = "plant_trax" > > > > END WITH > > > > > > > > TRY $hConn.Open > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > > > $hConn.Close > > > > END > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > DIM rTable AS Result > > > > > > > > $hConn.Open > > > > > > > > TRY $hConn.Open > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > > > INC Application.Busy > > > > > > > > > > > > $hConn.Begin > > > > rTable = "Inventory" > > > > rTable!name = txtName.Text > > > > rTable.Update > > > > > > > > $hConn.Commit > > > > > > > > FINALLY > > > > DEC Application.Busy > > > > $hConn.Close > > > > > > > > END > > > > > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > > > So I added an "$hconn.Open". > > > > But now the app just hangs when I click the add new btn > > > > > > > > The database doesn't get updated. > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was on > > > > another laptop that got stolen last week and I just installed what ever > > > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > will include endpoint security, mobile security and the latest in > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Wed Aug 8 00:53:48 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 00:53:48 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344379565.2744.39.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> Hello, > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) I think it's wrong because you write this one: VALUES($1) and it's VALUES(&1) Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 00:46, rocko a ?crit : > No, there are several. > I justed wanted to test it with the first column to see if it works, > which it doesn't. > > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > Values are still not inserting. > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: >> Try >> >> $hConn.Begin >> $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) >> $hConn.Commit >> >> Do you only have one column in that table? >> >> 2012/8/8 rocko >> >>> Ok I tried this: >>> $hConn.Begin >>> $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) >>> $hConn.Commit >>> >>> Without success. >>> >>> On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: >>>> I use to add fields like this: >>>> $hConn.Begin >>>> $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) >>>> $hConn.Commit >>>> >>>> And I use Begin and Commit only for the large amount of insertions. >>>> Csaba >>>> >>>> 2012/8/7 rocko >>>> >>>>> Having a bit of trouble with trying to get Ganbas to add a value to a >>>>> field in a table. >>>>> >>>>> I have a sqlite DB with a table named 'inventory' with field names >>> like: >>>>> 'name', 'start_date', 'end_date' and so on. >>>>> >>>>> I'm trying to add values to the fields using a interface, I have a text >>>>> box to add a name to the 'name' field in the inventory table. >>>>> >>>>> But I am not having any success. >>>>> I'm using Gambas version 2.21 as that is in my repo and been following >>>>> the older book "A beginners Giude to Gambas" which i think uses version >>>>> 1.9 as a basis. >>>>> >>>>> Here is my code for the 'connect' button: >>>>> >>>>> PUBLIC SUB btnConnect_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> >>>>> >>>>> TRY $hConn.CLOSE >>>>> >>>>> WITH $hConn >>>>> .Type = "sqlite" >>>>> .Host = "/home/rocko/DataBases" >>>>> .Name = "plant_trax" >>>>> END WITH >>>>> >>>>> TRY $hConn.Open >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text >>>>> >>>>> $hConn.Close >>>>> END >>>>> >>>>> This works as far as I can tell as I don't get the error. >>>>> >>>>> The offending code i believe is in the btnAdd_CLICK(): >>>>> >>>>> PUBLIC SUB btnAdd_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> DIM rTable AS Result >>>>> >>>>> $hConn.Open >>>>> >>>>> TRY $hConn.Open >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text >>>>> >>>>> INC Application.Busy >>>>> >>>>> >>>>> $hConn.Begin >>>>> rTable = "Inventory" >>>>> rTable!name = txtName.Text >>>>> rTable.Update >>>>> >>>>> $hConn.Commit >>>>> >>>>> FINALLY >>>>> DEC Application.Busy >>>>> $hConn.Close >>>>> >>>>> END >>>>> >>>>> I was getting "Database cannot be opened. Error =Driver name missing" >>>>> So I added an "$hconn.Open". >>>>> But now the app just hangs when I click the add new btn >>>>> >>>>> The database doesn't get updated. >>>>> >>>>> Forgive me but I'm still learning Gambas and basic. >>>>> >>>>> I had compiled a newer version of Gambas from the SVN but that was on >>>>> another laptop that got stolen last week and I just installed what ever >>>>> was in my repo (Crucnhbang) on my replacement, but I don't think thats >>>>> my problem. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. >>> Discussions >>>>> will include endpoint security, mobile security and the latest in >>> malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> >>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Wed Aug 8 01:02:09 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 16:02:09 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> Message-ID: <1344380529.2744.42.camel@...2901...> Oh yes '&' not '$', that was a typo. In my code it's '&'. Still can't get this to work. Here is my full code: PUBLIC SUB btnConnect_Click() 'DIM sName AS String DIM $hConn AS NEW Connection WITH $hConn .Type = "sqlite" .Host = "/home/rocko/DataBases" .Name = "plant_trax" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text END PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection 'DIM $Value AS String $hConn.Open 'TRY $hConn.Open 'IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) $hConn.Commit FINALLY $hConn.Close END On Wed, 2012-08-08 at 00:53 +0200, Olivier Cruilles wrote: > Hello, > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > I think it's wrong because you write this one: VALUES($1) and it's VALUES(&1) > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 00:46, rocko a ?crit : > > > No, there are several. > > I justed wanted to test it with the first column to see if it works, > > which it doesn't. > > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > > > Values are still not inserting. > > > > > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > >> Try > >> > >> $hConn.Begin > >> $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > >> $hConn.Commit > >> > >> Do you only have one column in that table? > >> > >> 2012/8/8 rocko > >> > >>> Ok I tried this: > >>> $hConn.Begin > >>> $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > >>> $hConn.Commit > >>> > >>> Without success. > >>> > >>> On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > >>>> I use to add fields like this: > >>>> $hConn.Begin > >>>> $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > >>>> $hConn.Commit > >>>> > >>>> And I use Begin and Commit only for the large amount of insertions. > >>>> Csaba > >>>> > >>>> 2012/8/7 rocko > >>>> > >>>>> Having a bit of trouble with trying to get Ganbas to add a value to a > >>>>> field in a table. > >>>>> > >>>>> I have a sqlite DB with a table named 'inventory' with field names > >>> like: > >>>>> 'name', 'start_date', 'end_date' and so on. > >>>>> > >>>>> I'm trying to add values to the fields using a interface, I have a text > >>>>> box to add a name to the 'name' field in the inventory table. > >>>>> > >>>>> But I am not having any success. > >>>>> I'm using Gambas version 2.21 as that is in my repo and been following > >>>>> the older book "A beginners Giude to Gambas" which i think uses version > >>>>> 1.9 as a basis. > >>>>> > >>>>> Here is my code for the 'connect' button: > >>>>> > >>>>> PUBLIC SUB btnConnect_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> > >>>>> > >>>>> TRY $hConn.CLOSE > >>>>> > >>>>> WITH $hConn > >>>>> .Type = "sqlite" > >>>>> .Host = "/home/rocko/DataBases" > >>>>> .Name = "plant_trax" > >>>>> END WITH > >>>>> > >>>>> TRY $hConn.Open > >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > >>>>> > >>>>> $hConn.Close > >>>>> END > >>>>> > >>>>> This works as far as I can tell as I don't get the error. > >>>>> > >>>>> The offending code i believe is in the btnAdd_CLICK(): > >>>>> > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> > >>>>> $hConn.Open > >>>>> > >>>>> TRY $hConn.Open > >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > >>>>> > >>>>> INC Application.Busy > >>>>> > >>>>> > >>>>> $hConn.Begin > >>>>> rTable = "Inventory" > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> > >>>>> $hConn.Commit > >>>>> > >>>>> FINALLY > >>>>> DEC Application.Busy > >>>>> $hConn.Close > >>>>> > >>>>> END > >>>>> > >>>>> I was getting "Database cannot be opened. Error =Driver name missing" > >>>>> So I added an "$hconn.Open". > >>>>> But now the app just hangs when I click the add new btn > >>>>> > >>>>> The database doesn't get updated. > >>>>> > >>>>> Forgive me but I'm still learning Gambas and basic. > >>>>> > >>>>> I had compiled a newer version of Gambas from the SVN but that was on > >>>>> another laptop that got stolen last week and I just installed what ever > >>>>> was in my repo (Crucnhbang) on my replacement, but I don't think thats > >>>>> my problem. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> ------------------------------------------------------------------------------ > >>>>> Live Security Virtual Conference > >>>>> Exclusive live event will cover all the ways today's security and > >>>>> threat landscape has changed and how IT managers can respond. > >>> Discussions > >>>>> will include endpoint security, mobile security and the latest in > >>> malware > >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>> > >>> ------------------------------------------------------------------------------ > >>>> Live Security Virtual Conference > >>>> Exclusive live event will cover all the ways today's security and > >>>> threat landscape has changed and how IT managers can respond. Discussions > >>>> will include endpoint security, mobile security and the latest in malware > >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From emil.lenngren at ...626... Wed Aug 8 01:08:59 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 01:08:59 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344379565.2744.39.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: Then you have to specify what column you want to insert to. Syntax: http://www.w3schools.com/sql/sql_insert.asp The &1, &2 ... system used by gambas is to provide correct escaping and to prevent sql injections. 2012/8/8 rocko > No, there are several. > I justed wanted to test it with the first column to see if it works, > which it doesn't. > > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > Values are still not inserting. > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > > Try > > > > $hConn.Begin > > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > > $hConn.Commit > > > > Do you only have one column in that table? > > > > 2012/8/8 rocko > > > > > Ok I tried this: > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > > $hConn.Commit > > > > > > Without success. > > > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > > I use to add fields like this: > > > > $hConn.Begin > > > > $hConn.Exec("INSERT INTO mytable > VALUES(&1,&2,..&N)",var1,var2,...varN) > > > > $hConn.Commit > > > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > > Csaba > > > > > > > > 2012/8/7 rocko > > > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value > to a > > > > > field in a table. > > > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > > like: > > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > > > I'm trying to add values to the fields using a interface, I have a > text > > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > > > But I am not having any success. > > > > > I'm using Gambas version 2.21 as that is in my repo and been > following > > > > > the older book "A beginners Giude to Gambas" which i think uses > version > > > > > 1.9 as a basis. > > > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > > > WITH $hConn > > > > > .Type = "sqlite" > > > > > .Host = "/home/rocko/DataBases" > > > > > .Name = "plant_trax" > > > > > END WITH > > > > > > > > > > TRY $hConn.Open > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > Error.Text > > > > > > > > > > $hConn.Close > > > > > END > > > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > DIM rTable AS Result > > > > > > > > > > $hConn.Open > > > > > > > > > > TRY $hConn.Open > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > Error.Text > > > > > > > > > > INC Application.Busy > > > > > > > > > > > > > > > $hConn.Begin > > > > > rTable = "Inventory" > > > > > rTable!name = txtName.Text > > > > > rTable.Update > > > > > > > > > > $hConn.Commit > > > > > > > > > > FINALLY > > > > > DEC Application.Busy > > > > > $hConn.Close > > > > > > > > > > END > > > > > > > > > > I was getting "Database cannot be opened. Error =Driver name > missing" > > > > > So I added an "$hconn.Open". > > > > > But now the app just hangs when I click the add new btn > > > > > > > > > > The database doesn't get updated. > > > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was > on > > > > > another laptop that got stolen last week and I just installed what > ever > > > > > was in my repo (Crucnhbang) on my replacement, but I don't think > thats > > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > Discussions > > > > will include endpoint security, mobile security and the latest in > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Wed Aug 8 01:25:00 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 16:25:00 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: <1344381900.2744.44.camel@...2901...> No, that doesn't work either: $hConn.Exec("INSERT INTO inventory VALUES(id, name)", 1, txtName.Text) On Wed, 2012-08-08 at 01:08 +0200, Emil Lenngren wrote: > Then you have to specify what column you want to insert to. > Syntax: http://www.w3schools.com/sql/sql_insert.asp > > The &1, &2 ... system used by gambas is to provide correct escaping and to > prevent sql injections. > > 2012/8/8 rocko > > > No, there are several. > > I justed wanted to test it with the first column to see if it works, > > which it doesn't. > > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > > > Values are still not inserting. > > > > > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > > > Try > > > > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > > > $hConn.Commit > > > > > > Do you only have one column in that table? > > > > > > 2012/8/8 rocko > > > > > > > Ok I tried this: > > > > $hConn.Begin > > > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > > > $hConn.Commit > > > > > > > > Without success. > > > > > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > > > I use to add fields like this: > > > > > $hConn.Begin > > > > > $hConn.Exec("INSERT INTO mytable > > VALUES(&1,&2,..&N)",var1,var2,...varN) > > > > > $hConn.Commit > > > > > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > > > Csaba > > > > > > > > > > 2012/8/7 rocko > > > > > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value > > to a > > > > > > field in a table. > > > > > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > > > like: > > > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > > > > > I'm trying to add values to the fields using a interface, I have a > > text > > > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > > > > > But I am not having any success. > > > > > > I'm using Gambas version 2.21 as that is in my repo and been > > following > > > > > > the older book "A beginners Giude to Gambas" which i think uses > > version > > > > > > 1.9 as a basis. > > > > > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > > > > > WITH $hConn > > > > > > .Type = "sqlite" > > > > > > .Host = "/home/rocko/DataBases" > > > > > > .Name = "plant_trax" > > > > > > END WITH > > > > > > > > > > > > TRY $hConn.Open > > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > > > > > > > > > $hConn.Close > > > > > > END > > > > > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > DIM rTable AS Result > > > > > > > > > > > > $hConn.Open > > > > > > > > > > > > TRY $hConn.Open > > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > > > > > > > > > INC Application.Busy > > > > > > > > > > > > > > > > > > $hConn.Begin > > > > > > rTable = "Inventory" > > > > > > rTable!name = txtName.Text > > > > > > rTable.Update > > > > > > > > > > > > $hConn.Commit > > > > > > > > > > > > FINALLY > > > > > > DEC Application.Busy > > > > > > $hConn.Close > > > > > > > > > > > > END > > > > > > > > > > > > I was getting "Database cannot be opened. Error =Driver name > > missing" > > > > > > So I added an "$hconn.Open". > > > > > > But now the app just hangs when I click the add new btn > > > > > > > > > > > > The database doesn't get updated. > > > > > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was > > on > > > > > > another laptop that got stolen last week and I just installed what > > ever > > > > > > was in my repo (Crucnhbang) on my replacement, but I don't think > > thats > > > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Live Security Virtual Conference > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > > > will include endpoint security, mobile security and the latest in > > > > malware > > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > will include endpoint security, mobile security and the latest in > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sbungay at ...981... Wed Aug 8 04:00:04 2012 From: sbungay at ...981... (Stephen Bungay) Date: Tue, 07 Aug 2012 22:00:04 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: <501D54A8.2070908@...981...> References: <501D54A8.2070908@...981...> Message-ID: <5021C824.2010607@...981...> So nothing on this then? It just is what it is? On 08/04/2012 12:58 PM, Stephen Bungay wrote: > Fedora 13 > Gambas 3.2.90 > Gnome 2 > > Four input boxes are arranged on a tab, lets call them TextBox1, > TextBox2, TextBox3 and TextBox4, and this this is the order in which > they appear in the hierarchy. On the form they are arranged in two > columns, the first column contains TextBox1 and TextBox 2, the second > Column TextBox3 and TextBox4. > > When the user is entering data I want them to enter everything in the > first column (TextBox1 and TextBox2), then the second Column (TextBox3 > and TextBox4), which is the order of the controls in the hierarchy. Alas > this does not transpire. > > After entering data in TextBox1 the user presses TAB and the focus is > given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is > the last one. Does the Hierarchy not also enforce the tab order/z order > of the controls? > > Kindest regards > Steve. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Wed Aug 8 04:34:39 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 12:04:39 +0930 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: <5021C824.2010607@...981...> References: <501D54A8.2070908@...981...> <5021C824.2010607@...981...> Message-ID: On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungay wrote: > > So nothing on this then? It just is what it is? > > On 08/04/2012 12:58 PM, Stephen Bungay wrote: > > Fedora 13 > > Gambas 3.2.90 > > Gnome 2 > > > > Four input boxes are arranged on a tab, lets call them TextBox1, > > TextBox2, TextBox3 and TextBox4, and this this is the order in which > > they appear in the hierarchy. On the form they are arranged in two > > columns, the first column contains TextBox1 and TextBox 2, the second > > Column TextBox3 and TextBox4. > > > > When the user is entering data I want them to enter everything in the > > first column (TextBox1 and TextBox2), then the second Column (TextBox3 > > and TextBox4), which is the order of the controls in the hierarchy. Alas > > this does not transpire. > > > > After entering data in TextBox1 the user presses TAB and the focus is > > given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is > > the last one. Does the Hierarchy not also enforce the tab order/z order > > of the controls? > > > > Kindest regards > > Steve. ??? Works for me. See attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: demo_taborder-0.0.1.tar.gz Type: application/x-gzip Size: 4714 bytes Desc: not available URL: From adamnt42 at ...626... Wed Aug 8 04:48:13 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 12:18:13 +0930 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344367123.2744.31.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> Message-ID: On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: 8< > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > $hConn.Open > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > INC Application.Busy > > > $hConn.Begin > rTable = "Inventory" <---- 1 > rTable!name = txtName.Text > rTable.Update <---- 2 > > $hConn.Commit > > FINALLY > DEC Application.Busy > $hConn.Close > > END 1. You are trying to set a Result to a string value. This wont work. 2. In order for gb.db to execute a database update it must have a writeable result. The answer is: rTable=$hConn.Edit("Inventory",) IF rTable.Available then rTable!name=txtName.Text rTable.Update END IF The help on gb.db has plenty of examples for Result and Connection explaining these concepts. hth Bruce From sunblaster5 at ...626... Wed Aug 8 05:13:53 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 20:13:53 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344395633.2014.2.camel@...2901...> So should rTable be set as String not Result?? I've tried both and I still can't get the DB to update. $hConn.Begin rTable = $hConn.Edit("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update ENDIF $hConn.Commit FINALLY $hConn.Close On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > > rTable=$hConn.Edit("Inventory", want to update>) > IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Aug 8 07:29:00 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 07:29:00 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > It's create > rTable=$hConn.create("Inventory", want to update>) > IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > Don't open/ close the db each time You can use db.create too > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ivan-kern at ...308... Wed Aug 8 07:29:16 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Wed, 8 Aug 2012 07:29:16 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344395633.2014.2.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344395633.2014.2.camel@...2901...> Message-ID: <000c01cd7526$c438b470$4caa1d50$@freenet.de> Hi, Try $hConn.Exec("INSERT INTO 'inventory' (your Column) VALUES ('" & txtName.Text & "') Ivan -----Urspr?ngliche Nachricht----- Von: rocko [mailto:sunblaster5 at ...626...] Gesendet: Mittwoch, 8. August 2012 05:14 An: mailing list for gambas users Betreff: Re: [Gambas-user] Adding values to fields in SQLite table?? So should rTable be set as String not Result?? I've tried both and I still can't get the DB to update. $hConn.Begin rTable = $hConn.Edit("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update ENDIF $hConn.Commit FINALLY $hConn.Close On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > > rTable=$hConn.Edit("Inventory", want to update>) IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > Bruce > > ---------------------------------------------------------------------- > -------- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Aug 8 07:34:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 07:34:23 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <000c01cd7526$c438b470$4caa1d50$@freenet.de> References: <1344367123.2744.31.camel@...2901...> <1344395633.2014.2.camel@...2901...> <000c01cd7526$c438b470$4caa1d50$@freenet.de> Message-ID: No no and no You need to use &1 .... To limit the quoting problems Le 8 ao?t 2012 07:32, "Ivan Kern" a ?crit : > Hi, > Try > $hConn.Exec("INSERT INTO 'inventory' (your Column) VALUES ('" & > txtName.Text & "') > > Ivan > > -----Urspr?ngliche Nachricht----- > Von: rocko [mailto:sunblaster5 at ...626...] > Gesendet: Mittwoch, 8. August 2012 05:14 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Adding values to fields in SQLite table?? > > So should rTable be set as String not Result?? > > I've tried both and I still can't get the DB to update. > > $hConn.Begin > > rTable = $hConn.Edit("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > ENDIF > > $hConn.Commit > FINALLY > $hConn.Close > > > On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > > 8< > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > > > > $hConn.Open > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > > Error.Text > > > > > > INC Application.Busy > > > > > > > > > $hConn.Begin > > > rTable = "Inventory" > <---- 1 > > > rTable!name = txtName.Text > > > rTable.Update > <---- 2 > > > > > > $hConn.Commit > > > > > > FINALLY > > > DEC Application.Busy > > > $hConn.Close > > > > > > END > > > > 1. You are trying to set a Result to a string value. This wont work. > > 2. In order for gb.db to execute a database update it must have a > > writeable result. > > > > The answer is: > > > > rTable=$hConn.Edit("Inventory", > want to update>) IF rTable.Available then > > rTable!name=txtName.Text > > rTable.Update > > END IF > > > > The help on gb.db has plenty of examples for Result and Connection > > explaining these concepts. > > > > hth > > Bruce > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ---------------------------------------------------------------------------- > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Wed Aug 8 08:03:41 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 15:33:41 +0930 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> The answer is: >> > It's create >> rTable=$hConn.create("Inventory",> want to update>) >> IF rTable.Available then >> rTable!name=txtName.Text >> rTable.Update >> END IF >> > > Don't open/ close the db each time > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. So it's really rTable=$hConn.Create("Inventory") IF rTable.Available then rTable!name=txtName.Text TRY rTable.Update IF ERROR THEN ' your update failed, possibly because of a duplicate key ENDIF END IF Bruce From gambas.fr at ...626... Wed Aug 8 14:19:19 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 14:19:19 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: 2012/8/8 Adam Ant > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > >> The answer is: > >> > > It's create > >> rTable=$hConn.create("Inventory", >> want to update>) > >> IF rTable.Available then > >> rTable!name=txtName.Text > >> rTable.Update > >> END IF > >> > > > > Don't open/ close the db each time > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > So it's really > rTable=$hConn.Create("Inventory") > IF rTable.Available then > rTable!name=txtName.Text > TRY rTable.Update > IF ERROR THEN > ' your update failed, possibly because of a duplicate key > ENDIF > END IF > > > THen if you want to modify a specific line : rTable=DB.Edit("Inventory", "id=&1", varId) rTable!name=txtName.Text rTable.Update db.commit Another thing, If your app use only one db with one connection, Open it on start for exemple your project begin on a module Main.module 'module Private hCon as New Connection Public Sub Main() hCOn.TYpe= "sqlite" hCon.Name="Mydb" hCon.Host=user.home hCon.Open FormMyMain.Show END In FormMyMain do PUblic sub Form_Close() db.close end Public sub Button_Click() dim rTable as result rTable = db.find("mytable") for each rTable print rTable!name next end in gambas 3 you can use ide to define connections of the project... you can then use it in the project ... so main.module become : Public sub Main() Connections["MyConnection"].Open End If you use a mysql or other table with password. You need to add that befor : Conections["MyConnection"].Password="yourpassword" > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From sbungay at ...981... Wed Aug 8 16:28:47 2012 From: sbungay at ...981... (Stephen Bungay) Date: Wed, 08 Aug 2012 10:28:47 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: References: <501D54A8.2070908@...981...> <5021C824.2010607@...981...> Message-ID: <5022779F.6070406@...981...> On 08/07/2012 10:34 PM, Adam Ant wrote: > On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungay wrote: >> So nothing on this then? It just is what it is? >> >> On 08/04/2012 12:58 PM, Stephen Bungay wrote: >>> Fedora 13 >>> Gambas 3.2.90 >>> Gnome 2 >>> >>> Four input boxes are arranged on a tab, lets call them TextBox1, >>> TextBox2, TextBox3 and TextBox4, and this this is the order in which >>> they appear in the hierarchy. On the form they are arranged in two >>> columns, the first column contains TextBox1 and TextBox 2, the second >>> Column TextBox3 and TextBox4. >>> >>> When the user is entering data I want them to enter everything in the >>> first column (TextBox1 and TextBox2), then the second Column (TextBox3 >>> and TextBox4), which is the order of the controls in the hierarchy. Alas >>> this does not transpire. >>> >>> After entering data in TextBox1 the user presses TAB and the focus is >>> given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is >>> the last one. Does the Hierarchy not also enforce the tab order/z order >>> of the controls? >>> >>> Kindest regards >>> Steve. > > ??? Works for me. See attached. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hmmmm (scratching head)... Selecting the first textbox on the form then pressing tab results in the textbox being deselected but nothing else selected... it is not moving through the text boxes at all! Two things equal to the same thing must be equal to each other, and since the project I am testing is the one you attached, the only things that can be different are gambas itself or the underlying GTK. I will try this on some virtual environments with other (newer) distros and see what comes of it. Will post the results back here. From gambas at ...2524... Wed Aug 8 17:48:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 15:48:59 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Comment #2 on issue 296 by johang... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 when i click in combobox don't see the list of items Version: 3.2.1 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: GTK+ Desktop used: Gnome Attachments: jtube-1.0.tar.gz 19.1 KB From gambas at ...2524... Wed Aug 8 18:09:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 16:09:23 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.2.1 Comment #3 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 OK, I could reproduce it with the project: the list pops up if you double-click, and most of the time it doesn't if you just do a single click. From gambas at ...2524... Wed Aug 8 18:10:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 16:10:23 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Labels: -Version-3.2.1 Version-3.2.0 Comment #4 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 (No comment was entered for this change.) From sunblaster5 at ...626... Wed Aug 8 18:18:57 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 09:18:57 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344442737.1869.2.camel@...2901...> Ok I've tried all the suggestions you all have made and none of them work. I don't get any error's printed, the table just wont update. Should 'rtable' be AS Result or AS String?? On Wed, 2012-08-08 at 15:33 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > >> The answer is: > >> > > It's create > >> rTable=$hConn.create("Inventory", >> want to update>) > >> IF rTable.Available then > >> rTable!name=txtName.Text > >> rTable.Update > >> END IF > >> > > > > Don't open/ close the db each time > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > So it's really > rTable=$hConn.Create("Inventory") > IF rTable.Available then > rTable!name=txtName.Text > TRY rTable.Update > IF ERROR THEN > ' your update failed, possibly because of a duplicate key > ENDIF > END IF > > > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Aug 8 18:39:38 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 18:39:38 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344442737.1869.2.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: 2012/8/8 rocko > Ok I've tried all the suggestions you all have made and none of them > work. > I don't get any error's printed, the table just wont update. > Should 'rtable' be AS Result or AS String?? > a result !!! db.exec, db.create, db.edit return result ! dim rTable as result > > > On Wed, 2012-08-08 at 15:33 +0930, Adam Ant wrote: > > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard > wrote: > > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > > >> The answer is: > > >> > > > It's create > > >> rTable=$hConn.create("Inventory", > >> want to update>) > > >> IF rTable.Available then > > >> rTable!name=txtName.Text > > >> rTable.Update > > >> END IF > > >> > > > > > > Don't open/ close the db each time > > > > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > > > So it's really > > rTable=$hConn.Create("Inventory") > > IF rTable.Available then > > rTable!name=txtName.Text > > TRY rTable.Update > > IF ERROR THEN > > ' your update failed, possibly because of a duplicate key > > ENDIF > > END IF > > > > > > Bruce > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Wed Aug 8 19:01:57 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:01:57 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: it's in french but ... http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html From sunblaster5 at ...626... Wed Aug 8 19:12:34 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:12:34 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: <1344445954.1869.3.camel@...2901...> Is there anyway to translate that?? On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > it's in french but ... > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Aug 8 19:17:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:17:23 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344445954.1869.3.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> Message-ID: 2012/8/8 rocko > Is there anyway to translate that?? > google ? > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > it's in french but ... > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From sunblaster5 at ...626... Wed Aug 8 19:42:22 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:42:22 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> Message-ID: <1344447742.1869.10.camel@...2901...> Im now getting error's. I was getting a "connection not opened" error message, so I add a $hConn.Open before the $hConn.Begin. I'm now getting a "Driver name missing" error. CODE: PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result $hConn.Open $hConn.Begin '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") '$hConn.Commit rTable = $hConn.Create("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF $hConn.Commit $hConn.Close On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > 2012/8/8 rocko > > > Is there anyway to translate that?? > > > google ? > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > it's in french but ... > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From gambas.fr at ...626... Wed Aug 8 19:48:57 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:48:57 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344447742.1869.10.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: Private $hConn as New Connection Public sub _New() $hConn .Host = "dir of bdd" $hConn.Name = "MyBdd" $hConn.Type = "sqlite" $hConn.Open End PUBLIC SUB btnAdd_Click() DIM rTable AS Result rTable = DB.Create("inventory") rTable!name = txtName.Text TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) return ENDIF DB.Commit end Public SUb Form_Close $hConn.CLose end 2012/8/8 rocko > Im now getting error's. > I was getting a "connection not opened" error message, so I add > a $hConn.Open before the $hConn.Begin. > I'm now getting a "Driver name missing" error. > > CODE: > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > $hConn.Open > $hConn.Begin > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > '$hConn.Commit > rTable = $hConn.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > $hConn.Commit > $hConn.Close > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > 2012/8/8 rocko > > > > > Is there anyway to translate that?? > > > > > google ? > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > it's in french but ... > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > Discussions > > > > will include endpoint security, mobile security and the latest in > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From sunblaster5 at ...626... Wed Aug 8 19:54:19 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:54:19 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: <1344448460.1869.12.camel@...2901...> Oh yes forgot to mention I have that code in a 'connect' button. PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection WITH $hConn .Type = "sqlite3" .Host = "/home/rocko/DataBases" .Name = "my_test.sqlite" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text END On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > Private $hConn as New Connection > Public sub _New() > $hConn .Host = "dir of bdd" > $hConn.Name = "MyBdd" > $hConn.Type = "sqlite" > $hConn.Open > > End > > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = DB.Create("inventory") > > rTable!name = txtName.Text > > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > return > ENDIF > > > DB.Commit > > end > > Public SUb Form_Close > $hConn.CLose > end > > > > > > > > > > > 2012/8/8 rocko > > > Im now getting error's. > > I was getting a "connection not opened" error message, so I add > > a $hConn.Open before the $hConn.Begin. > > I'm now getting a "Driver name missing" error. > > > > CODE: > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > $hConn.Open > > $hConn.Begin > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > '$hConn.Commit > > rTable = $hConn.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > $hConn.Commit > > $hConn.Close > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > 2012/8/8 rocko > > > > > > > Is there anyway to translate that?? > > > > > > > google ? > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > it's in french but ... > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > will include endpoint security, mobile security and the latest in > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From sunblaster5 at ...626... Wed Aug 8 20:13:03 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:13:03 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: <1344449583.1869.18.camel@...2901...> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. I'm getting 'Connection Not Opened" error when click the Add_new btn. btnConnect CODE: PRIVATE $hConn AS Connection PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection $hConn.Host = "/home/rocko/DataBases" $hConn.Name = "my_test.sqlite" $hConn.Type = "sqlite" $hConn.Open btnAdd CODE: PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result rTable = DB.Create("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF DB.Commit btnClose CODE: PUBLIC SUB btnClose_Click() $hConn.Close FMain.Close On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > Private $hConn as New Connection > Public sub _New() > $hConn .Host = "dir of bdd" > $hConn.Name = "MyBdd" > $hConn.Type = "sqlite" > $hConn.Open > > End > > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = DB.Create("inventory") > > rTable!name = txtName.Text > > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > return > ENDIF > > > DB.Commit > > end > > Public SUb Form_Close > $hConn.CLose > end > > > > > > > > > > > 2012/8/8 rocko > > > Im now getting error's. > > I was getting a "connection not opened" error message, so I add > > a $hConn.Open before the $hConn.Begin. > > I'm now getting a "Driver name missing" error. > > > > CODE: > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > $hConn.Open > > $hConn.Begin > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > '$hConn.Commit > > rTable = $hConn.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > $hConn.Commit > > $hConn.Close > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > 2012/8/8 rocko > > > > > > > Is there anyway to translate that?? > > > > > > > google ? > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > it's in french but ... > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > will include endpoint security, mobile security and the latest in > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From gambas.fr at ...626... Wed Aug 8 20:18:21 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 20:18:21 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344449583.1869.18.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: Do not do dim hconn... Just say Private $hconn as new connection Le 8 ao?t 2012 20:14, "rocko" a ?crit : > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > btnConnect CODE: > PRIVATE $hConn AS Connection > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > rTable = DB.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > > Private $hConn as New Connection > > Public sub _New() > > $hConn .Host = "dir of bdd" > > $hConn.Name = "MyBdd" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > End > > > > > > PUBLIC SUB btnAdd_Click() > > > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > rTable!name = txtName.Text > > > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > return > > ENDIF > > > > > > DB.Commit > > > > end > > > > Public SUb Form_Close > > $hConn.CLose > > end > > > > > > > > > > > > > > > > > > > > > > 2012/8/8 rocko > > > > > Im now getting error's. > > > I was getting a "connection not opened" error message, so I add > > > a $hConn.Open before the $hConn.Begin. > > > I'm now getting a "Driver name missing" error. > > > > > > CODE: > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > $hConn.Open > > > $hConn.Begin > > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > > '$hConn.Commit > > > rTable = $hConn.Create("inventory") > > > > > > IF rTable.Available THEN > > > rTable!name = txtName.Text > > > rTable.Update > > > TRY rTable.Update > > > IF ERROR THEN > > > PRINT "Update failed" > > > Message.Error(ERROR.Text) > > > > > > ENDIF > > > ENDIF > > > > > > $hConn.Commit > > > $hConn.Close > > > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > > 2012/8/8 rocko > > > > > > > > > Is there anyway to translate that?? > > > > > > > > > google ? > > > > > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > > it's in french but ... > > > > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Live Security Virtual Conference > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > threat landscape has changed and how IT managers can respond. > > > Discussions > > > > > > will include endpoint security, mobile security and the latest in > > > malware > > > > > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Wed Aug 8 20:31:10 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:31:10 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: <1344450670.1869.22.camel@...2901...> If I do that I get an error:"$hConn already declared in FMain Class" I already have a "Private $hConn As Connection" in the class Form. If I put in the btnAdd sub I get:"Unexpected Private in Fmain Class" On Wed, 2012-08-08 at 20:18 +0200, Fabien Bodard wrote: > Do not do dim hconn... > > Just say > Private $hconn as new connection > Le 8 ao?t 2012 20:14, "rocko" a ?crit : > > > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > > > > btnConnect CODE: > > PRIVATE $hConn AS Connection > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > $hConn.Host = "/home/rocko/DataBases" > > $hConn.Name = "my_test.sqlite" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > btnAdd CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > DB.Commit > > > > btnClose CODE: > > PUBLIC SUB btnClose_Click() > > > > $hConn.Close > > FMain.Close > > > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > > > Private $hConn as New Connection > > > Public sub _New() > > > $hConn .Host = "dir of bdd" > > > $hConn.Name = "MyBdd" > > > $hConn.Type = "sqlite" > > > $hConn.Open > > > > > > End > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM rTable AS Result > > > > > > rTable = DB.Create("inventory") > > > > > > rTable!name = txtName.Text > > > > > > TRY rTable.Update > > > IF ERROR THEN > > > PRINT "Update failed" > > > Message.Error(ERROR.Text) > > > return > > > ENDIF > > > > > > > > > DB.Commit > > > > > > end > > > > > > Public SUb Form_Close > > > $hConn.CLose > > > end > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2012/8/8 rocko > > > > > > > Im now getting error's. > > > > I was getting a "connection not opened" error message, so I add > > > > a $hConn.Open before the $hConn.Begin. > > > > I'm now getting a "Driver name missing" error. > > > > > > > > CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > DIM rTable AS Result > > > > $hConn.Open > > > > $hConn.Begin > > > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > > > '$hConn.Commit > > > > rTable = $hConn.Create("inventory") > > > > > > > > IF rTable.Available THEN > > > > rTable!name = txtName.Text > > > > rTable.Update > > > > TRY rTable.Update > > > > IF ERROR THEN > > > > PRINT "Update failed" > > > > Message.Error(ERROR.Text) > > > > > > > > ENDIF > > > > ENDIF > > > > > > > > $hConn.Commit > > > > $hConn.Close > > > > > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > > > 2012/8/8 rocko > > > > > > > > > > > Is there anyway to translate that?? > > > > > > > > > > > google ? > > > > > > > > > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > > > it's in french but ... > > > > > > > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Live Security Virtual Conference > > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > > threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > > > > will include endpoint security, mobile security and the latest in > > > > malware > > > > > > > threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Live Security Virtual Conference > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > > > will include endpoint security, mobile security and the latest in > > > > malware > > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > will include endpoint security, mobile security and the latest in > > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Wed Aug 8 20:31:43 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 20:31:43 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344449583.1869.18.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> Hello, I think your problem is that you don't understand how to use sqlite database.. You don't renew a connection every time you want to use it. - You open the database at the beginning of your program - You work with it by updating it - Before you close you program, you close the database So to do that use it like that: -------------------------------------------- PUBLIC $hConn AS Connection <= Error corrected btnConnect CODE: PUBLIC SUB btnConnect_Click() $hConn = NEW Connection <= line added $hConn.Host = "/home/rocko/DataBases" $hConn.Name = "my_test.sqlite" $hConn.Type = "sqlite" $hConn.Open btnAdd CODE: PUBLIC SUB btnAdd_Click() DIM rTable AS Result rTable = $hConn.Create("inventory") <= Error corrected IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF DB.Commit btnClose CODE: PUBLIC SUB btnClose_Click() $hConn.Close FMain.Close Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > btnConnect CODE: > PRIVATE $hConn AS Connection > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > rTable = DB.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: >> Private $hConn as New Connection >> Public sub _New() >> $hConn .Host = "dir of bdd" >> $hConn.Name = "MyBdd" >> $hConn.Type = "sqlite" >> $hConn.Open >> >> End >> >> >> PUBLIC SUB btnAdd_Click() >> >> DIM rTable AS Result >> >> rTable = DB.Create("inventory") >> >> rTable!name = txtName.Text >> >> TRY rTable.Update >> IF ERROR THEN >> PRINT "Update failed" >> Message.Error(ERROR.Text) >> return >> ENDIF >> >> >> DB.Commit >> >> end >> >> Public SUb Form_Close >> $hConn.CLose >> end >> >> >> >> >> >> >> >> >> >> >> 2012/8/8 rocko >> >>> Im now getting error's. >>> I was getting a "connection not opened" error message, so I add >>> a $hConn.Open before the $hConn.Begin. >>> I'm now getting a "Driver name missing" error. >>> >>> CODE: >>> PUBLIC SUB btnAdd_Click() >>> >>> DIM $hConn AS NEW Connection >>> DIM rTable AS Result >>> $hConn.Open >>> $hConn.Begin >>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") >>> '$hConn.Commit >>> rTable = $hConn.Create("inventory") >>> >>> IF rTable.Available THEN >>> rTable!name = txtName.Text >>> rTable.Update >>> TRY rTable.Update >>> IF ERROR THEN >>> PRINT "Update failed" >>> Message.Error(ERROR.Text) >>> >>> ENDIF >>> ENDIF >>> >>> $hConn.Commit >>> $hConn.Close >>> >>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: >>>> 2012/8/8 rocko >>>> >>>>> Is there anyway to translate that?? >>>>> >>>> google ? >>>> >>>> >>>>> >>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: >>>>>> it's in french but ... >>>>>> >>>>>> >>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html >>>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>>> Live Security Virtual Conference >>>>>> Exclusive live event will cover all the ways today's security and >>>>>> threat landscape has changed and how IT managers can respond. >>> Discussions >>>>>> will include endpoint security, mobile security and the latest in >>> malware >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>> _______________________________________________ >>>>>> Gambas-user mailing list >>>>>> Gambas-user at lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. >>> Discussions >>>>> will include endpoint security, mobile security and the latest in >>> malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Aug 8 20:40:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 18:40:59 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 Fixed in revision #5018. From sunblaster5 at ...626... Wed Aug 8 20:51:26 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:51:26 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> Message-ID: <1344451886.1869.32.camel@...2901...> Thank you sir; You get a cookie :) Your example works fine. 'Public' instead of 'Private' for the $hConn as Connection was the key I believe, as was a few other small syntax related items. The E-Book I was following(Much older version of gambas) I don't think even mentions declaring it as either. I'm new to sqlite and gambas, I mostly deal with perl and mysql. Thanks to all who replied to my questions and gave examples. The community here has always been very helpful. On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > Hello, > > I think your problem is that you don't understand how to use sqlite database.. > > You don't renew a connection every time you want to use it. > > - You open the database at the beginning of your program > - You work with it by updating it > - Before you close you program, you close the database > > So to do that use it like that: > > -------------------------------------------- > > PUBLIC $hConn AS Connection <= Error corrected > > btnConnect CODE: > > PUBLIC SUB btnConnect_Click() > > $hConn = NEW Connection <= line added > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = $hConn.Create("inventory") <= Error corrected > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > > > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > > > > btnConnect CODE: > > PRIVATE $hConn AS Connection > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > $hConn.Host = "/home/rocko/DataBases" > > $hConn.Name = "my_test.sqlite" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > btnAdd CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > DB.Commit > > > > btnClose CODE: > > PUBLIC SUB btnClose_Click() > > > > $hConn.Close > > FMain.Close > > > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >> Private $hConn as New Connection > >> Public sub _New() > >> $hConn .Host = "dir of bdd" > >> $hConn.Name = "MyBdd" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> End > >> > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = DB.Create("inventory") > >> > >> rTable!name = txtName.Text > >> > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> return > >> ENDIF > >> > >> > >> DB.Commit > >> > >> end > >> > >> Public SUb Form_Close > >> $hConn.CLose > >> end > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> 2012/8/8 rocko > >> > >>> Im now getting error's. > >>> I was getting a "connection not opened" error message, so I add > >>> a $hConn.Open before the $hConn.Begin. > >>> I'm now getting a "Driver name missing" error. > >>> > >>> CODE: > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> $hConn.Open > >>> $hConn.Begin > >>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>> '$hConn.Commit > >>> rTable = $hConn.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> $hConn.Commit > >>> $hConn.Close > >>> > >>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>> 2012/8/8 rocko > >>>> > >>>>> Is there anyway to translate that?? > >>>>> > >>>> google ? > >>>> > >>>> > >>>>> > >>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>> it's in french but ... > >>>>>> > >>>>>> > >>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>> > >>>>> > >>> ------------------------------------------------------------------------------ > >>>>>> Live Security Virtual Conference > >>>>>> Exclusive live event will cover all the ways today's security and > >>>>>> threat landscape has changed and how IT managers can respond. > >>> Discussions > >>>>>> will include endpoint security, mobile security and the latest in > >>> malware > >>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>> _______________________________________________ > >>>>>> Gambas-user mailing list > >>>>>> Gambas-user at lists.sourceforge.net > >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> ------------------------------------------------------------------------------ > >>>>> Live Security Virtual Conference > >>>>> Exclusive live event will cover all the ways today's security and > >>>>> threat landscape has changed and how IT managers can respond. > >>> Discussions > >>>>> will include endpoint security, mobile security and the latest in > >>> malware > >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > >> > >> > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Wed Aug 8 20:59:19 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 20:59:19 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344451886.1869.32.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> Message-ID: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> So to be exact, it's the same mecanism for all other database. If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of this PUBLIC SUB so if you want to use a variable in all a Form or Module or Class, you need to declare your variable at the beginning of this Form and not in a PUBLIC SUB When you use a Connection object to open a database, after initialized it and opened it, the object Connection keep connected to the database, so you just need to use it. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > Thank you sir; > You get a cookie :) > Your example works fine. > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > believe, as was a few other small syntax related items. > The E-Book I was following(Much older version of gambas) I don't think > even mentions declaring it as either. > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > Thanks to all who replied to my questions and gave examples. > The community here has always been very helpful. > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: >> Hello, >> >> I think your problem is that you don't understand how to use sqlite database.. >> >> You don't renew a connection every time you want to use it. >> >> - You open the database at the beginning of your program >> - You work with it by updating it >> - Before you close you program, you close the database >> >> So to do that use it like that: >> >> -------------------------------------------- >> >> PUBLIC $hConn AS Connection <= Error corrected >> >> btnConnect CODE: >> >> PUBLIC SUB btnConnect_Click() >> >> $hConn = NEW Connection <= line added >> >> $hConn.Host = "/home/rocko/DataBases" >> $hConn.Name = "my_test.sqlite" >> $hConn.Type = "sqlite" >> $hConn.Open >> >> btnAdd CODE: >> >> PUBLIC SUB btnAdd_Click() >> >> DIM rTable AS Result >> >> rTable = $hConn.Create("inventory") <= Error corrected >> >> IF rTable.Available THEN >> rTable!name = txtName.Text >> rTable.Update >> TRY rTable.Update >> IF ERROR THEN >> PRINT "Update failed" >> Message.Error(ERROR.Text) >> >> ENDIF >> ENDIF >> >> DB.Commit >> >> btnClose CODE: >> PUBLIC SUB btnClose_Click() >> >> $hConn.Close >> FMain.Close >> >> >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : >> >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. >>> >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. >>> >>> >>> btnConnect CODE: >>> PRIVATE $hConn AS Connection >>> PUBLIC SUB btnConnect_Click() >>> >>> DIM $hConn AS NEW Connection >>> >>> $hConn.Host = "/home/rocko/DataBases" >>> $hConn.Name = "my_test.sqlite" >>> $hConn.Type = "sqlite" >>> $hConn.Open >>> >>> btnAdd CODE: >>> >>> PUBLIC SUB btnAdd_Click() >>> >>> DIM $hConn AS NEW Connection >>> DIM rTable AS Result >>> >>> rTable = DB.Create("inventory") >>> >>> IF rTable.Available THEN >>> rTable!name = txtName.Text >>> rTable.Update >>> TRY rTable.Update >>> IF ERROR THEN >>> PRINT "Update failed" >>> Message.Error(ERROR.Text) >>> >>> ENDIF >>> ENDIF >>> >>> DB.Commit >>> >>> btnClose CODE: >>> PUBLIC SUB btnClose_Click() >>> >>> $hConn.Close >>> FMain.Close >>> >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: >>>> Private $hConn as New Connection >>>> Public sub _New() >>>> $hConn .Host = "dir of bdd" >>>> $hConn.Name = "MyBdd" >>>> $hConn.Type = "sqlite" >>>> $hConn.Open >>>> >>>> End >>>> >>>> >>>> PUBLIC SUB btnAdd_Click() >>>> >>>> DIM rTable AS Result >>>> >>>> rTable = DB.Create("inventory") >>>> >>>> rTable!name = txtName.Text >>>> >>>> TRY rTable.Update >>>> IF ERROR THEN >>>> PRINT "Update failed" >>>> Message.Error(ERROR.Text) >>>> return >>>> ENDIF >>>> >>>> >>>> DB.Commit >>>> >>>> end >>>> >>>> Public SUb Form_Close >>>> $hConn.CLose >>>> end >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2012/8/8 rocko >>>> >>>>> Im now getting error's. >>>>> I was getting a "connection not opened" error message, so I add >>>>> a $hConn.Open before the $hConn.Begin. >>>>> I'm now getting a "Driver name missing" error. >>>>> >>>>> CODE: >>>>> PUBLIC SUB btnAdd_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> DIM rTable AS Result >>>>> $hConn.Open >>>>> $hConn.Begin >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") >>>>> '$hConn.Commit >>>>> rTable = $hConn.Create("inventory") >>>>> >>>>> IF rTable.Available THEN >>>>> rTable!name = txtName.Text >>>>> rTable.Update >>>>> TRY rTable.Update >>>>> IF ERROR THEN >>>>> PRINT "Update failed" >>>>> Message.Error(ERROR.Text) >>>>> >>>>> ENDIF >>>>> ENDIF >>>>> >>>>> $hConn.Commit >>>>> $hConn.Close >>>>> >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: >>>>>> 2012/8/8 rocko >>>>>> >>>>>>> Is there anyway to translate that?? >>>>>>> >>>>>> google ? >>>>>> >>>>>> >>>>>>> >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: >>>>>>>> it's in french but ... >>>>>>>> >>>>>>>> >>>>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html >>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------------ >>>>>>>> Live Security Virtual Conference >>>>>>>> Exclusive live event will cover all the ways today's security and >>>>>>>> threat landscape has changed and how IT managers can respond. >>>>> Discussions >>>>>>>> will include endpoint security, mobile security and the latest in >>>>> malware >>>>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>>>> _______________________________________________ >>>>>>>> Gambas-user mailing list >>>>>>>> Gambas-user at lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------------ >>>>>>> Live Security Virtual Conference >>>>>>> Exclusive live event will cover all the ways today's security and >>>>>>> threat landscape has changed and how IT managers can respond. >>>>> Discussions >>>>>>> will include endpoint security, mobile security and the latest in >>>>> malware >>>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>>>> _______________________________________________ >>>>>>> Gambas-user mailing list >>>>>>> Gambas-user at lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>> will include endpoint security, mobile security and the latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>> >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From emil.lenngren at ...626... Wed Aug 8 21:13:49 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 21:13:49 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC78084.6000001@...1950...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: I finally managed to compile the main components (compiler/interpreter) and run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for standard x86). What I don't like is the reconf-scripts. Even for components that take ~10 seconds to compile, I first have to run the ./reconf script (3 and a half minute) and then the ./configure script (takes about 1 and a half minute), for each component. So for most components (most components are small), more than 95% of the time is configuration... Question: Is it possible to throw out the autoconf scripts and use something faster instead? /Emil 2012/5/31 Caveat > ssh -X to the pi is working fine. I just installed openssh-server on > the pi (I'm currently playing with the Debian Squeeze image) and have > successfully run Empathy on the pi but with its window here on my main > machine... > > Regards, > Caveat > > On 30/05/12 10:48, Caveat wrote: > > Anyone need specific tests carried out, just let me know! > > > > OK, OK, I really just wanted to let everyone know it's here! > > > > Kind regards, > > Caveat > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed Aug 8 21:36:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 19:36:37 +0000 Subject: [Gambas-user] Issue 299 in gambas: IDE: CComponent logic and libraries that export forms In-Reply-To: <0-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 299 by benoit.m... at ...626...: IDE: CComponent logic and libraries that export forms http://code.google.com/p/gambas/issues/detail?id=299 It should be fixed in revision #5019. From emil.lenngren at ...626... Wed Aug 8 21:39:30 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 21:39:30 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: Yay, the IDE works too, and it is actually faster than I expected. I think it is not "sluggish" at all! It is just that most of the IDE windows are a bit too large for my 720x576 tv... 2012/8/8 Emil Lenngren > I finally managed to compile the main components (compiler/interpreter) > and run the benchmark "primes" (takes 430 seconds, compared to 20 seconds > for standard x86). > > What I don't like is the reconf-scripts. Even for components that take ~10 > seconds to compile, I first have to run the ./reconf script (3 and a half > minute) and then the ./configure script (takes about 1 and a half minute), > for each component. So for most components (most components are small), > more than 95% of the time is configuration... > > Question: Is it possible to throw out the autoconf scripts and use > something faster instead? > > /Emil > > > 2012/5/31 Caveat > >> ssh -X to the pi is working fine. I just installed openssh-server on >> the pi (I'm currently playing with the Debian Squeeze image) and have >> successfully run Empathy on the pi but with its window here on my main >> machine... >> >> Regards, >> Caveat >> >> On 30/05/12 10:48, Caveat wrote: >> > Anyone need specific tests carried out, just let me know! >> > >> > OK, OK, I really just wanted to let everyone know it's here! >> > >> > Kind regards, >> > Caveat >> > >> > >> ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> Discussions >> > will include endpoint security, mobile security and the latest in >> malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Wed Aug 8 21:40:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:40:35 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: <5022C0B3.7040702@...1...> Le 08/08/2012 21:39, Emil Lenngren a ?crit : > Yay, the IDE works too, and it is actually faster than I expected. I think > it is not "sluggish" at all! > It is just that most of the IDE windows are a bit too large for my 720x576 > tv... > Screenshot! Screenshot! -- Beno?t Minisini From gambas at ...1... Wed Aug 8 21:43:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:43:42 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: <5022C16E.1080503@...1...> Le 08/08/2012 21:13, Emil Lenngren a ?crit : > I finally managed to compile the main components (compiler/interpreter) and > run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for > standard x86). > > What I don't like is the reconf-scripts. Even for components that take ~10 > seconds to compile, I first have to run the ./reconf script (3 and a half > minute) and then the ./configure script (takes about 1 and a half minute), > for each component. So for most components (most components are small), > more than 95% of the time is configuration... > > Question: Is it possible to throw out the autoconf scripts and use > something faster instead? > > /Emil > For information, the multiple configuration scripts (one by component directory) was a request from Jose R. Rodriguez that made Gambas Debian binary packages. I don't know if he still make them, because I had no answer from my mail to the mailing-list of Debian packagers of Gambas claiming that their packages are incorrect and do not work. But this is another story. As for the build system: what could I use that can make Gambas compile on Linux, FreeBSD, MacOSX, x86, x86_64, armel and armhf? -- Beno?t Minisini From gambas at ...1... Wed Aug 8 21:44:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:44:17 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C0B3.7040702@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> Message-ID: <5022C191.8010409@...1...> Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > Le 08/08/2012 21:39, Emil Lenngren a ?crit : >> Yay, the IDE works too, and it is actually faster than I expected. I >> think >> it is not "sluggish" at all! >> It is just that most of the IDE windows are a bit too large for my >> 720x576 >> tv... >> > > Screenshot! Screenshot! > Or better a picture of the entire thing. :-) -- Beno?t Minisini From gambas at ...2524... Wed Aug 8 21:45:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 19:45:36 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance In-Reply-To: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 295 by benoit.m... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 Error message added in revision #5017. From emil.lenngren at ...626... Wed Aug 8 22:03:46 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 22:03:46 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C191.8010409@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> <5022C191.8010409@...1...> Message-ID: Screenshot attached! /Emil 2012/8/8 Beno?t Minisini > Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > >> Yay, the IDE works too, and it is actually faster than I expected. I > >> think > >> it is not "sluggish" at all! > >> It is just that most of the IDE windows are a bit too large for my > >> 720x576 > >> tv... > >> > > > > Screenshot! Screenshot! > > > > Or better a picture of the entire thing. :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: 2012-08-08-215909_638x520_scrot.png Type: image/png Size: 62160 bytes Desc: not available URL: From support at ...2529... Wed Aug 8 23:13:54 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 14:13:54 -0700 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C0B3.7040702@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> Message-ID: <1344460434.2390.2.camel@...1833...> On Wed, 2012-08-08 at 21:40 +0200, Beno?t Minisini wrote: > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > Yay, the IDE works too, and it is actually faster than I expected. I think > > it is not "sluggish" at all! > > It is just that most of the IDE windows are a bit too large for my 720x576 > > tv... > > > > Screenshot! Screenshot! > Here is a screen shot of running Ubuntu 10.04 LTS as a chroot image on my Samsung Galaxy Tab 2 10.1 tablet. I'm going to try Gambas on it as well. http://files.allbasic.info/ScriptBasic/jumpvnc.png From emil.lenngren at ...626... Wed Aug 8 23:44:48 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 23:44:48 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <1344460434.2390.2.camel@...1833...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> <1344460434.2390.2.camel@...1833...> Message-ID: The jit compiler kind of works.. sometimes, and sometimes not, after I changed the target triple and data layout to arm. Creation of llvm code and optimization always seem to work, but the native code emitter does not seem to be that stable... /Emil 2012/8/8 John Spikowski > On Wed, 2012-08-08 at 21:40 +0200, Beno?t Minisini wrote: > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > > Yay, the IDE works too, and it is actually faster than I expected. I > think > > > it is not "sluggish" at all! > > > It is just that most of the IDE windows are a bit too large for my > 720x576 > > > tv... > > > > > > > Screenshot! Screenshot! > > > > Here is a screen shot of running Ubuntu 10.04 LTS as a chroot image on > my Samsung Galaxy Tab 2 10.1 tablet. I'm going to try Gambas on it as > well. > > http://files.allbasic.info/ScriptBasic/jumpvnc.png > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Thu Aug 9 00:12:43 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 15:12:43 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> Message-ID: <1344463964.2461.12.camel@...2901...> I have another problem. I have since updated to gambas3 btw, 3.11. I have made another form,(FNew), basically moved the addNew procedure to the new form. The addNew btn on the FMain form just opens the new form(FNew.Show). I have a "Commit" button that use the same code the addNew one did form the FMain form. All the code is the same. But I'm getting an error: "Null Object in FNew" Should I have made the new from a child of the FMain?? If so How? BTW I wasn't sure of starting a new thread or just continue with the old one, if I should start a new one just let me know. The offending CODE: rTable = $hConn.Create("inventory") Entire CODE from FNew: ' Gambas class file Public $hConn As Connection Public Sub btnCommit_Click() Dim rTable As Result rTable = $hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close On Wed, 2012-08-08 at 20:59 +0200, Olivier Cruilles wrote: > So to be exact, it's the same mecanism for all other database. > > If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of this PUBLIC SUB > so if you want to use a variable in all a Form or Module or Class, you need to declare your variable at the beginning of this Form and not in a PUBLIC SUB > > When you use a Connection object to open a database, after initialized it and opened it, the object Connection keep connected to the database, so you just need to use it. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > > > Thank you sir; > > You get a cookie :) > > Your example works fine. > > > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > > believe, as was a few other small syntax related items. > > The E-Book I was following(Much older version of gambas) I don't think > > even mentions declaring it as either. > > > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > > > Thanks to all who replied to my questions and gave examples. > > The community here has always been very helpful. > > > > > > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> I think your problem is that you don't understand how to use sqlite database.. > >> > >> You don't renew a connection every time you want to use it. > >> > >> - You open the database at the beginning of your program > >> - You work with it by updating it > >> - Before you close you program, you close the database > >> > >> So to do that use it like that: > >> > >> -------------------------------------------- > >> > >> PUBLIC $hConn AS Connection <= Error corrected > >> > >> btnConnect CODE: > >> > >> PUBLIC SUB btnConnect_Click() > >> > >> $hConn = NEW Connection <= line added > >> > >> $hConn.Host = "/home/rocko/DataBases" > >> $hConn.Name = "my_test.sqlite" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> btnAdd CODE: > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = $hConn.Create("inventory") <= Error corrected > >> > >> IF rTable.Available THEN > >> rTable!name = txtName.Text > >> rTable.Update > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> > >> ENDIF > >> ENDIF > >> > >> DB.Commit > >> > >> btnClose CODE: > >> PUBLIC SUB btnClose_Click() > >> > >> $hConn.Close > >> FMain.Close > >> > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > >> > >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > >>> > >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. > >>> > >>> > >>> btnConnect CODE: > >>> PRIVATE $hConn AS Connection > >>> PUBLIC SUB btnConnect_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> > >>> $hConn.Host = "/home/rocko/DataBases" > >>> $hConn.Name = "my_test.sqlite" > >>> $hConn.Type = "sqlite" > >>> $hConn.Open > >>> > >>> btnAdd CODE: > >>> > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> > >>> rTable = DB.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> DB.Commit > >>> > >>> btnClose CODE: > >>> PUBLIC SUB btnClose_Click() > >>> > >>> $hConn.Close > >>> FMain.Close > >>> > >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >>>> Private $hConn as New Connection > >>>> Public sub _New() > >>>> $hConn .Host = "dir of bdd" > >>>> $hConn.Name = "MyBdd" > >>>> $hConn.Type = "sqlite" > >>>> $hConn.Open > >>>> > >>>> End > >>>> > >>>> > >>>> PUBLIC SUB btnAdd_Click() > >>>> > >>>> DIM rTable AS Result > >>>> > >>>> rTable = DB.Create("inventory") > >>>> > >>>> rTable!name = txtName.Text > >>>> > >>>> TRY rTable.Update > >>>> IF ERROR THEN > >>>> PRINT "Update failed" > >>>> Message.Error(ERROR.Text) > >>>> return > >>>> ENDIF > >>>> > >>>> > >>>> DB.Commit > >>>> > >>>> end > >>>> > >>>> Public SUb Form_Close > >>>> $hConn.CLose > >>>> end > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 2012/8/8 rocko > >>>> > >>>>> Im now getting error's. > >>>>> I was getting a "connection not opened" error message, so I add > >>>>> a $hConn.Open before the $hConn.Begin. > >>>>> I'm now getting a "Driver name missing" error. > >>>>> > >>>>> CODE: > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> $hConn.Open > >>>>> $hConn.Begin > >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>>>> '$hConn.Commit > >>>>> rTable = $hConn.Create("inventory") > >>>>> > >>>>> IF rTable.Available THEN > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> TRY rTable.Update > >>>>> IF ERROR THEN > >>>>> PRINT "Update failed" > >>>>> Message.Error(ERROR.Text) > >>>>> > >>>>> ENDIF > >>>>> ENDIF > >>>>> > >>>>> $hConn.Commit > >>>>> $hConn.Close > >>>>> > >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>>>> 2012/8/8 rocko > >>>>>> > >>>>>>> Is there anyway to translate that?? > >>>>>>> > >>>>>> google ? > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>>>> it's in french but ... > >>>>>>>> > >>>>>>>> > >>>>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>>>> > >>>>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>>>>> Live Security Virtual Conference > >>>>>>>> Exclusive live event will cover all the ways today's security and > >>>>>>>> threat landscape has changed and how IT managers can respond. > >>>>> Discussions > >>>>>>>> will include endpoint security, mobile security and the latest in > >>>>> malware > >>>>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>>>> _______________________________________________ > >>>>>>>> Gambas-user mailing list > >>>>>>>> Gambas-user at lists.sourceforge.net > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>>>> Live Security Virtual Conference > >>>>>>> Exclusive live event will cover all the ways today's security and > >>>>>>> threat landscape has changed and how IT managers can respond. > >>>>> Discussions > >>>>>>> will include endpoint security, mobile security and the latest in > >>>>> malware > >>>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>>> _______________________________________________ > >>>>>>> Gambas-user mailing list > >>>>>>> Gambas-user at lists.sourceforge.net > >>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>> Live Security Virtual Conference > >>>>> Exclusive live event will cover all the ways today's security and > >>>>> threat landscape has changed and how IT managers can respond. Discussions > >>>>> will include endpoint security, mobile security and the latest in malware > >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Thu Aug 9 01:27:53 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 08:57:53 +0930 Subject: [Gambas-user] Server pages: untagged text at top of page Message-ID: Morning all, I'm having a go at learning how to use this web scripting facility. Attached is a little project that uses it to load a file into a webkit WebView control (IOW no server needed). It seems to work fine except there are two lines at the top of the returned page (before ) that look like they belong inside a tag? Here's the (snipped) console output I get from the Print pageout: Content-type: text/html Content-Length: 7128

CGI script environmental variables

As at 09-Aug-12 08:46AM

....... Any ideas? regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: webscript1-0.0.1.tar.gz Type: application/x-gzip Size: 5176 bytes Desc: not available URL: From gambas at ...1... Thu Aug 9 03:33:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 03:33:17 +0200 Subject: [Gambas-user] Gambas has Gosub now! In-Reply-To: References: <4F52B1E0.4070204@...1...> <4F52C42D.5000106@...1...> <4F533304.1060905@...1...> <4F53FEE3.5010802@...1...> <4F5561AB.8040400@...1...> <4F556FC2.8090201@...1...> <4F56C78B.8040509@...1887...> <4FFA0CF3.60500@...1...> <500B43B2.3030306@...1...> <500C8487.3050800@...1...> <500CB01E.7060707@...1...> Message-ID: <5023135D.4030300@...1...> Le 05/08/2012 18:33, Emil Lenngren a ?crit : > If there is a pending gosub + a catch, the gosub things on the stack are > erased, so when returning back, invalid values are copied from the stack. > > So at stack unwinding, the gosub slots must be kept. > > This crashes the interpreter now (or puts it in an infinite loop): > > Public Sub Main() > > Dim i As Integer > With [1] > For i = 1 To 2 > GoSub lbl > Next > End With > > Return > > lbl: > Error.Raise("Hello") > > Catch > Print "catching";; Error.Text > Return > > End > It should be fixed in revision #5020. Regards, -- Beno?t Minisini From gambas at ...1... Thu Aug 9 03:35:27 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 09 Aug 2012 03:35:27 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <50114ED3.7060507@...1...> References: <50104345.6070603@...1...> <50114ED3.7060507@...1...> Message-ID: <502313DF.9050001@...1...> Le 26/07/2012 16:06, Beno?t Minisini a ?crit : > Le 26/07/2012 16:01, Ricardo D?az Mart?n a ?crit : >> For me it's enough in qt4. >> >> Thanks in advance for your time! >> >> Regards, >> Ricardo D?az >> > > For you. But for me, I won't add a feature to gb.qt4 if I can't add it > to gb.gtk! > > OK, now I know how to read the tablet events both in Qt and GTK+. Now it "just" has to be done! -- Beno?t Minisini From sebikul at ...626... Thu Aug 9 03:41:35 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 8 Aug 2012 22:41:35 -0300 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: References: <5010FAD4.4010808@...1...> Message-ID: On Thu, Jul 26, 2012 at 1:08 PM, Sebastian Kulesz wrote: > On Thu, Jul 26, 2012 at 5:07 AM, Beno?t Minisini > wrote: >> Le 26/07/2012 06:53, Sebastian Kulesz a ?crit : >>> Hi! I'm sending an updated Spanish translation for the IDE and the >>> documentation website. >>> >>> For the first one, only 7 strings are left! non of them could be >>> easily translated. I also updated A LOT of strings that where >>> "google-translated", where too informal, or ambiguous. I may have >>> missed some strings tough. I based the work on the Ubuntu Spanish >>> Translators guidelines to be as precise as possible. >>> >>> As to the documentation I only translated the missing strings. Only ONE left! >>> >>> Regards >>> >> >> Thanks! >> >> If you have questions about the meaning of some words, just ask. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > It's not about meaning, but about interpretation. The only 3 missing > translations are in the FProfile.class file: calls, callers, callees. > I think that Callers and Callees should be modified to "Methods > called" and "Called by" respectively. The most important is the first > one, which has no direct translation, the later can be left as is. IMO > they are easier to understand. > > The other 4 strings that where left on the previous translation seem > to have been removed. I left them untouched in case they where needed > to provide a feature or something. > > I updated the translation again. I changed some strings to be > consistent across the whole application. The only strings left are the > ones mentioned above. Updated translation, 100% complete!!! I think the translation form should display spaces at the end of a line with a middle-dot and newlines with the intro symbol (if possible), so that formatting is kept untouched. Would this be possible to implement? -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-es-3.2.90.po Type: application/octet-stream Size: 136844 bytes Desc: not available URL: From sunblaster5 at ...626... Thu Aug 9 03:53:10 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 18:53:10 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement Message-ID: <1344477190.2194.7.camel@...2901...> Trying to get a message.info to display when a successful connection to a database is made. Tried using an 'Else If' after a 'Try $hConn.Open' statement but that gives an error. So tried a simple 'If' but I'm not sure how the syntax should be. CODE: Try $hConn.Open If Error Then Print "Database cannot be opened. Error = ", Error.Text If $hConn.Open Then Message.Info("You are now connected to the database.") Endif From adamnt42 at ...626... Thu Aug 9 04:55:04 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:25:04 +0930 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: <1344477190.2194.7.camel@...2901...> References: <1344477190.2194.7.camel@...2901...> Message-ID: On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote: > Trying to get a message.info to display when a successful connection > to a database is made. > Tried using an 'Else If' after a 'Try $hConn.Open' statement > but that gives an error. > So tried a simple 'If' but I'm not sure how the syntax should be. > > CODE: > Try $hConn.Open > If Error Then Print "Database cannot be opened. Error = ", Error.Text > > If $hConn.Open Then > Message.Info("You are now connected to the database.") > Endif > OK Rokko, >From the IF help page... If Then ... else ... End If must be some "construct" that RETURNS a value that can be interpreted as being True or False. Where "construct" is a boolean value(1) or a function that returns a boolean(2) or a statement that evaluates as a boolean(3) and some others. 1) Dim myValue as Boolean=True 2) Function MyValue() as Boolean 3) ThisString=ThatString Connection.Open from the help page at http://gambasdoc.org/help/comp/gb.db/connection/open?v3 is a SUB. It doesn't return anything. Do you now see what's wrong with your code? See also http://gambasdoc.org/help/cat/methoddecl?v3 The gambas help pages explain everything, but they are very very succinct. Above my desk is a large sign that says "READ EVERY WORD OF THE GAMBAS HELP PAGE!", to which I have to constantly refer. hth Bruce From sunblaster5 at ...626... Thu Aug 9 05:05:30 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 20:05:30 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: References: <1344477190.2194.7.camel@...2901...> Message-ID: <1344481530.2194.11.camel@...2901...> Ok if I replace the 'Else If' with an 'Else' I get an error: Else without If. But there is an 'If' after the 'Try'. unless you can't put an 'Else' after an 'Try...If' On Thu, 2012-08-09 at 12:25 +0930, Adam Ant wrote: > On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote: > > Trying to get a message.info to display when a successful connection > > to a database is made. > > Tried using an 'Else If' after a 'Try $hConn.Open' statement > > but that gives an error. > > So tried a simple 'If' but I'm not sure how the syntax should be. > > > > CODE: > > Try $hConn.Open > > If Error Then Print "Database cannot be opened. Error = ", Error.Text > > > > If $hConn.Open Then > > Message.Info("You are now connected to the database.") > > Endif > > > > OK Rokko, > > >From the IF help page... > > If Then > ... > else > ... > End If > > must be some "construct" that RETURNS a value that can be > interpreted as being True or False. Where "construct" is a boolean > value(1) or a function that returns a boolean(2) or a statement that > evaluates as a boolean(3) and some others. > 1) Dim myValue as Boolean=True > 2) Function MyValue() as Boolean > 3) ThisString=ThatString > > > Connection.Open from the help page at > http://gambasdoc.org/help/comp/gb.db/connection/open?v3 is a SUB. It > doesn't return anything. Do you now see what's wrong with your code? > > See also http://gambasdoc.org/help/cat/methoddecl?v3 > > The gambas help pages explain everything, but they are very very > succinct. Above my desk is a large sign that says "READ EVERY WORD OF > THE GAMBAS HELP PAGE!", to which I have to constantly refer. > > > hth > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Thu Aug 9 05:08:39 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:38:39 +0930 Subject: [Gambas-user] serverpages: problem with quoting Message-ID: Oh Noes! I have just hit my first problem with the serverpages scripting. ">
I can't figure out how to escape the quotes around the string parameter for the GetResourceLocn(sName As String) function call. That function, btw, just returns a path to a cache directory in /tmp and it works fine. tia Bruce From adamnt42 at ...626... Thu Aug 9 05:21:40 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:51:40 +0930 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: <1344481530.2194.11.camel@...2901...> References: <1344477190.2194.7.camel@...2901...> <1344481530.2194.11.camel@...2901...> Message-ID: On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote: > Ok if I replace the 'Else If' with an 'Else' > I get an error: > Else without If. > But there is an 'If' after the 'Try'. > unless you can't put an 'Else' after an 'Try...If' Ah! No you can't use Try If blahblahblah (and there are some other things you can't "TRY", I can't think of them at the moment) Be very aware of what "TRY" actually does! Oh and by the way, to test if a connection is already open, the function you need is .Opened() So, Try $conn.Open() If Error then Print "Not Open" Else Print "Opened it!" End If or $conn.Open If $conn.Opened() then Print "Not Open" Else Print "Opened it!" End If should both work. hth Bruce From adamnt42 at ...626... Thu Aug 9 05:25:17 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:55:17 +0930 Subject: [Gambas-user] serverpages: problem with quoting In-Reply-To: References: Message-ID: On Thu, Aug 9, 2012 at 12:38 PM, Adam Ant wrote: > Oh Noes! > I have just hit my first problem with the serverpages scripting. > > ">
> > I can't figure out how to escape the quotes around the string > parameter for the GetResourceLocn(sName As String) function call. > That function, btw, just returns a path to a cache directory in /tmp > and it works fine. > > tia > Bruce Forget it!
I guess I'm just not bi-lingual :-( B From sunblaster5 at ...626... Thu Aug 9 05:43:36 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 20:43:36 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: References: <1344477190.2194.7.camel@...2901...> <1344481530.2194.11.camel@...2901...> Message-ID: <1344483816.2194.13.camel@...2901...> The first one works. Haven't tried the second one. Wasn't aware of '$conn.Opened(). But it's good to know On Thu, 2012-08-09 at 12:51 +0930, Adam Ant wrote: > On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote: > > Ok if I replace the 'Else If' with an 'Else' > > I get an error: > > Else without If. > > But there is an 'If' after the 'Try'. > > unless you can't put an 'Else' after an 'Try...If' > > Ah! No you can't use > > Try If blahblahblah > > (and there are some other things you can't "TRY", I can't think of > them at the moment) > > Be very aware of what "TRY" actually does! > > Oh and by the way, to test if a connection is already open, the > function you need is > .Opened() > > So, > > Try $conn.Open() > If Error then > Print "Not Open" > Else > Print "Opened it!" > End If > > or > > $conn.Open > If $conn.Opened() then > Print "Not Open" > Else > Print "Opened it!" > End If > > should both work. > > hth > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Thu Aug 9 06:23:33 2012 From: sunblaster5 at ...626... (acidblue) Date: Wed, 8 Aug 2012 21:23:33 -0700 (PDT) Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <34275037.post@...1379...> Fabien Bodard-4 wrote: > > 2012/8/8 Adam Ant > >> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard >> wrote: >> > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> >> The answer is: >> >> >> > It's create >> >> rTable=$hConn.create("Inventory",> >> want to update>) >> >> IF rTable.Available then >> >> rTable!name=txtName.Text >> >> rTable.Update >> >> END IF >> >> >> > >> > Don't open/ close the db each time >> > >> >> Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. >> >> So it's really >> rTable=$hConn.Create("Inventory") >> IF rTable.Available then >> rTable!name=txtName.Text >> TRY rTable.Update >> IF ERROR THEN >> ' your update failed, possibly because of a duplicate key >> ENDIF >> END IF >> >> >> > THen if you want to modify a specific line : > > rTable=DB.Edit("Inventory", "id=&1", varId) > > rTable!name=txtName.Text > > rTable.Update > db.commit > > > Another thing, If your app use only one db with one connection, Open it on > start > > for exemple your project begin on a module Main.module > > > 'module > Private hCon as New Connection > Public Sub Main() > hCOn.TYpe= "sqlite" > hCon.Name="Mydb" > hCon.Host=user.home > hCon.Open > > FormMyMain.Show > END > > > In FormMyMain do > > PUblic sub Form_Close() > > db.close > > end > > > > > Public sub Button_Click() > > dim rTable as result > rTable = db.find("mytable") > for each rTable > print rTable!name > next > end > > > > > > > > in gambas 3 you can use ide to define connections of the project... > > you can then use it in the project ... so main.module become : > > > Public sub Main() > > Connections["MyConnection"].Open > > End > > If you use a mysql or other table with password. > > You need to add that befor : > > Conections["MyConnection"].Password="yourpassword" > > Ahh I like that idea! > I 'm now using Gambas 3 ;) > When you say make module do you mean make an actual module(Right > click>>new>>module > or can i add this code to the FMain form?? > CODE > Public sub Main() > > Connections["MyConnection"].Open > > End >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Adding-values-to-fields-in-SQLite-table---tp34267924p34275037.html Sent from the gambas-user mailing list archive at Nabble.com. From sunblaster5 at ...626... Thu Aug 9 06:25:27 2012 From: sunblaster5 at ...626... (acidblue) Date: Wed, 8 Aug 2012 21:25:27 -0700 (PDT) Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <34275043.post@...1379...> Ahh I like that idea! I 'm now using Gambas 3 ;) When you say make module do you mean make an actual module(Right click>>new>>module) or can i add this code to the FMain form?? CODE Public sub Main() Connections["MyConnection"].Open End Fabien Bodard-4 wrote: > > 2012/8/8 Adam Ant > >> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard >> wrote: >> > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> >> The answer is: >> >> >> > It's create >> >> rTable=$hConn.create("Inventory",> >> want to update>) >> >> IF rTable.Available then >> >> rTable!name=txtName.Text >> >> rTable.Update >> >> END IF >> >> >> > >> > Don't open/ close the db each time >> > >> >> Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. >> >> So it's really >> rTable=$hConn.Create("Inventory") >> IF rTable.Available then >> rTable!name=txtName.Text >> TRY rTable.Update >> IF ERROR THEN >> ' your update failed, possibly because of a duplicate key >> ENDIF >> END IF >> >> >> > THen if you want to modify a specific line : > > rTable=DB.Edit("Inventory", "id=&1", varId) > > rTable!name=txtName.Text > > rTable.Update > db.commit > > > Another thing, If your app use only one db with one connection, Open it on > start > > for exemple your project begin on a module Main.module > > > 'module > Private hCon as New Connection > Public Sub Main() > hCOn.TYpe= "sqlite" > hCon.Name="Mydb" > hCon.Host=user.home > hCon.Open > > FormMyMain.Show > END > > > In FormMyMain do > > PUblic sub Form_Close() > > db.close > > end > > > > > Public sub Button_Click() > > dim rTable as result > rTable = db.find("mytable") > for each rTable > print rTable!name > next > end > > > > > > > > in gambas 3 you can use ide to define connections of the project... > > you can then use it in the project ... so main.module become : > > > Public sub Main() > > Connections["MyConnection"].Open > > End > > If you use a mysql or other table with password. > > You need to add that befor : > > Conections["MyConnection"].Password="yourpassword" > > >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Adding-values-to-fields-in-SQLite-table---tp34267924p34275043.html Sent from the gambas-user mailing list archive at Nabble.com. From support at ...2529... Thu Aug 9 06:29:40 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 21:29:40 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 Message-ID: <1344486580.2390.5.camel@...1833...> Is there a Gambas 3 ARM binary package available to try? From support at ...2529... Thu Aug 9 07:10:55 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 22:10:55 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344486580.2390.5.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> Message-ID: <1344489055.2390.10.camel@...1833...> On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > Is there a Gambas 3 ARM binary package available to try? > I was unable to install autoconf/automake/libtool on Ubuntu ARM. (unavailable via apt-get) Looks like my only hope is a Gambas3 binary distribution to run on my chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) From support at ...2529... Thu Aug 9 07:45:03 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 22:45:03 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344489055.2390.10.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> Message-ID: <1344491103.2390.20.camel@...1833...> On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > > Is there a Gambas 3 ARM binary package available to try? > > > I was unable to install autoconf/automake/libtool on Ubuntu ARM. > (unavailable via apt-get) > > Looks like my only hope is a Gambas3 binary distribution to run on my > chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) Has anyone tried to build Gambas3 native on an ARM Linux before? I may have found the ARM versions of the tools I'm missing so I'm still forging on until I hear from the list. (stop recreating the wheel! would be nice) From emil.lenngren at ...626... Thu Aug 9 11:55:51 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 9 Aug 2012 11:55:51 +0200 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344491103.2390.20.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> <1344491103.2390.20.camel@...1833...> Message-ID: It worked without problems on Raspbian, as all the auto* tools are available through apt-get. /Emil 2012/8/9 John Spikowski > On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > > On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > > > Is there a Gambas 3 ARM binary package available to try? > > > > > I was unable to install autoconf/automake/libtool on Ubuntu ARM. > > (unavailable via apt-get) > > > > Looks like my only hope is a Gambas3 binary distribution to run on my > > chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) > > Has anyone tried to build Gambas3 native on an ARM Linux before? > > I may have found the ARM versions of the tools I'm missing so I'm still > forging on until I hear from the list. (stop recreating the wheel! would > be nice) > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Thu Aug 9 12:03:07 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 03:03:07 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> <1344491103.2390.20.camel@...1833...> Message-ID: <1344506587.2390.23.camel@...1833...> On Thu, 2012-08-09 at 11:55 +0200, Emil Lenngren wrote: > It worked without problems on Raspbian, as all the auto* tools are > available through apt-get. > Translation: NO, there isn't a binary Ubuntu ARMv7 Gambas3 available so you need to build it from svn. Thanks for the conformation. From gambas at ...1... Thu Aug 9 12:31:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 12:31:09 +0200 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: References: <5010FAD4.4010808@...1...> Message-ID: <5023916D.7090707@...1...> Le 09/08/2012 03:41, Sebastian Kulesz a ?crit : > > Updated translation, 100% complete!!! > Thanks. Do you have a sourceforge account so that I can grant you a write access to the subversion repository? That way you will be able to commit your translation directly. > I think the translation form should display spaces at the end of a > line with a middle-dot and newlines with the intro symbol (if > possible), so that formatting is kept untouched. Would this be > possible to implement? I understand the need for seeing trailing spaces, but not for newlines. A newline in a translation string should be printed as "\n". -- Beno?t Minisini From lists at ...2828... Thu Aug 9 13:19:11 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:19:11 +0200 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344491103.2390.20.camel@...1833...> Message-ID: <000101cd7621$23a1ff70$0f00a8c0@...2829...> > On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > > Has anyone tried to build Gambas3 native on an ARM Linux before? Yes, I sucessfully built 3.2.1 past weekend on the Raspberry Pi runnig Debian Squeeze, took quite a few hours but worked. /CJ From lists at ...2828... Thu Aug 9 13:05:37 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:05:37 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: Message-ID: <000001cd7621$22f8c720$0f00a8c0@...2829...> > It would be nice if you could also make available the compiled package > under armel so others can test it ;) Maybe just a typo and you mean armhf since this is available for armel... http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb Not the latest stable but something to get started with at least. Still haven't had time to learn how to do a proper deb-package to be able to share Gambas3 3.2.1 (armel) :-/ /CJ From lists at ...2828... Thu Aug 9 13:21:31 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:21:31 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: Message-ID: <000201cd7621$2429f420$0f00a8c0@...2829...> > Screenshot attached! > > /Emil > > > Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > >> Yay, the IDE works too, and it is actually faster than I > expected. I > > >> think > > >> it is not "sluggish" at all! > > >> It is just that most of the IDE windows are a bit too > > >>large for my 720x576 tv... > > > > > > Screenshot! Screenshot! Ouch thats a tiny screen ;) Glad to see more RasPi users up runnig! Here is another one running on Debian Squeeze via X. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot - 08092012.png Type: image/png Size: 105153 bytes Desc: not available URL: From mike.crean at ...2897... Thu Aug 9 14:53:07 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 05:53:07 -0700 (PDT) Subject: [Gambas-user] Test Message-ID: <1344516787.87955.YahooMailNeo@...2904...> Pardon me From mike.crean at ...2897... Thu Aug 9 14:56:24 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 05:56:24 -0700 (PDT) Subject: [Gambas-user] Pardon its a test Message-ID: <1344516984.92223.YahooMailNeo@...2899...> Test msg From adamnt42 at ...626... Thu Aug 9 15:04:01 2012 From: adamnt42 at ...626... (GMail) Date: Thu, 09 Aug 2012 22:34:01 +0930 Subject: [Gambas-user] Test In-Reply-To: <1344516787.87955.YahooMailNeo@...2904...> References: <1344516787.87955.YahooMailNeo@...2904...> Message-ID: <1344517442.6766.0.camel@...40...> On Thu, 2012-08-09 at 05:53 -0700, Mike Crean wrote: > Pardon me Pax vobiscum. From mike.crean at ...2897... Thu Aug 9 15:18:49 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 06:18:49 -0700 (PDT) Subject: [Gambas-user] Raspberry Pi Message-ID: <1344518329.23297.YahooMailNeo@...2904...> Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point it will get it up and going with some real speed. ? Squeeze photo attached. Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_1914.JPG Type: image/jpeg Size: 147975 bytes Desc: not available URL: From pata.karlsson at ...626... Thu Aug 9 17:04:49 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Thu, 9 Aug 2012 17:04:49 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts In-Reply-To: References: Message-ID: 2012/8/7 Fran?ois Gallo > > Gambas is not in the MacPorts tree and i think it will be never because > the qt4-x11 port doesn't work. Indeed, this one isn't up to date. While > macports will not > provide an update to this port, Gambas cannot go into the macports tree. > To make Gambas i use both MacPorts and Fink. Although i only use Fink to > get > a 11 version of Qt. > > Currently, Gambas 3 compiles on OS X 10.8. > Right now, i see with Benoit to debug it at runtime. > The Gambas compiler crashes on some language instructions. Why? I don't > know. > Once Benoit will fix it, i could declare officially Gambas ported on OS X. > (i hope at less?) > > I'm the main contributor who (try to) port Gambas on others systems than > Linux. > If you have some questions about Gambas's ports, contact me. > > > > > How far has the project come? > > Is there some kind of a time line? > > How can I help? > > If you know good enough the OS X system, maybe yes i think you can help > for Gambas. > > > > > I guess my knowledge is limited to compile, install and test it. > > Logically, the main things that you must know is how install MacPorts and > Fink distributions. > Then, install the packages needed to compile Gambas. > > That's all you need to do :) . > When i wrote "add support for macports distribution" in change log, i > added path to a basic installation > of MacPorts so that any people can compile directly Gambas. > > However don't forget to add in your .profile file environment variables > needed to that. > Fink and MacPorts adds automatically some variables but not all. > > You can already download svn source code of Gambas and try to compile it. > Normally, you don't meet difficult to compile it. > > Do you use OS X 10.8 too? > > Fran?ois > > Yes, I'm on 10.8 too but I dont know enough about the system to provide any help on that. I have been using macports for years and fink a month or so a while back. I dont think I will try to install Gambas on OS X as long as Gambas application will not be easily run on the Mac for the regular user. Hopefully they will fix the qt4-x11 port so we can get a smooth installation procedure. Anyway, thanks for the effort so far! /patrik From gambas.fr at ...626... Thu Aug 9 17:22:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 9 Aug 2012 17:22:36 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C16E.1080503@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C16E.1080503@...1...> Message-ID: CMake ? Le 8 ao?t 2012 21:45, "Beno?t Minisini" a ?crit : > Le 08/08/2012 21:13, Emil Lenngren a ?crit : > > I finally managed to compile the main components (compiler/interpreter) > and > > run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for > > standard x86). > > > > What I don't like is the reconf-scripts. Even for components that take > ~10 > > seconds to compile, I first have to run the ./reconf script (3 and a half > > minute) and then the ./configure script (takes about 1 and a half > minute), > > for each component. So for most components (most components are small), > > more than 95% of the time is configuration... > > > > Question: Is it possible to throw out the autoconf scripts and use > > something faster instead? > > > > /Emil > > > > For information, the multiple configuration scripts (one by component > directory) was a request from Jose R. Rodriguez that made Gambas Debian > binary packages. > > I don't know if he still make them, because I had no answer from my mail > to the mailing-list of Debian packagers of Gambas claiming that their > packages are incorrect and do not work. But this is another story. > > As for the build system: what could I use that can make Gambas compile > on Linux, FreeBSD, MacOSX, x86, x86_64, armel and armhf? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Aug 9 17:22:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 9 Aug 2012 17:22:36 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> Message-ID: Normally it can work with private if it is declared in the form that use it Le 8 ao?t 2012 21:00, "Olivier Cruilles" a ?crit : > So to be exact, it's the same mecanism for all other database. > > If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is > local of this PUBLIC SUB > so if you want to use a variable in all a Form or Module or Class, you > need to declare your variable at the beginning of this Form and not in a > PUBLIC SUB > > When you use a Connection object to open a database, after initialized it > and opened it, the object Connection keep connected to the database, so you > just need to use it. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > > > Thank you sir; > > You get a cookie :) > > Your example works fine. > > > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > > believe, as was a few other small syntax related items. > > The E-Book I was following(Much older version of gambas) I don't think > > even mentions declaring it as either. > > > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > > > Thanks to all who replied to my questions and gave examples. > > The community here has always been very helpful. > > > > > > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> I think your problem is that you don't understand how to use sqlite > database.. > >> > >> You don't renew a connection every time you want to use it. > >> > >> - You open the database at the beginning of your program > >> - You work with it by updating it > >> - Before you close you program, you close the database > >> > >> So to do that use it like that: > >> > >> -------------------------------------------- > >> > >> PUBLIC $hConn AS Connection <= Error corrected > >> > >> btnConnect CODE: > >> > >> PUBLIC SUB btnConnect_Click() > >> > >> $hConn = NEW Connection <= line added > >> > >> $hConn.Host = "/home/rocko/DataBases" > >> $hConn.Name = "my_test.sqlite" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> btnAdd CODE: > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = $hConn.Create("inventory") <= Error corrected > >> > >> IF rTable.Available THEN > >> rTable!name = txtName.Text > >> rTable.Update > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> > >> ENDIF > >> ENDIF > >> > >> DB.Commit > >> > >> btnClose CODE: > >> PUBLIC SUB btnClose_Click() > >> > >> $hConn.Close > >> FMain.Close > >> > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > >> > >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > >>> > >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. > >>> > >>> > >>> btnConnect CODE: > >>> PRIVATE $hConn AS Connection > >>> PUBLIC SUB btnConnect_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> > >>> $hConn.Host = "/home/rocko/DataBases" > >>> $hConn.Name = "my_test.sqlite" > >>> $hConn.Type = "sqlite" > >>> $hConn.Open > >>> > >>> btnAdd CODE: > >>> > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> > >>> rTable = DB.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> DB.Commit > >>> > >>> btnClose CODE: > >>> PUBLIC SUB btnClose_Click() > >>> > >>> $hConn.Close > >>> FMain.Close > >>> > >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >>>> Private $hConn as New Connection > >>>> Public sub _New() > >>>> $hConn .Host = "dir of bdd" > >>>> $hConn.Name = "MyBdd" > >>>> $hConn.Type = "sqlite" > >>>> $hConn.Open > >>>> > >>>> End > >>>> > >>>> > >>>> PUBLIC SUB btnAdd_Click() > >>>> > >>>> DIM rTable AS Result > >>>> > >>>> rTable = DB.Create("inventory") > >>>> > >>>> rTable!name = txtName.Text > >>>> > >>>> TRY rTable.Update > >>>> IF ERROR THEN > >>>> PRINT "Update failed" > >>>> Message.Error(ERROR.Text) > >>>> return > >>>> ENDIF > >>>> > >>>> > >>>> DB.Commit > >>>> > >>>> end > >>>> > >>>> Public SUb Form_Close > >>>> $hConn.CLose > >>>> end > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 2012/8/8 rocko > >>>> > >>>>> Im now getting error's. > >>>>> I was getting a "connection not opened" error message, so I add > >>>>> a $hConn.Open before the $hConn.Begin. > >>>>> I'm now getting a "Driver name missing" error. > >>>>> > >>>>> CODE: > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> $hConn.Open > >>>>> $hConn.Begin > >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>>>> '$hConn.Commit > >>>>> rTable = $hConn.Create("inventory") > >>>>> > >>>>> IF rTable.Available THEN > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> TRY rTable.Update > >>>>> IF ERROR THEN > >>>>> PRINT "Update failed" > >>>>> Message.Error(ERROR.Text) > >>>>> > >>>>> ENDIF > >>>>> ENDIF > >>>>> > >>>>> $hConn.Commit > >>>>> $hConn.Close > >>>>> > >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>>>> 2012/8/8 rocko > >>>>>> > >>>>>>> Is there anyway to translate that?? > >>>>>>> > >>>>>> google ? > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>>>> it's in french but ... > >>>>>>>> > >>>>>>>> > >>>>> > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>>>> > >>>>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>>>>> Live Security Virtual Conference > >>>>>>>> Exclusive live event will cover all the ways today's security and > >>>>>>>> threat landscape has changed and how IT managers can respond. > >>>>> Discussions > >>>>>>>> will include endpoint security, mobile security and the latest in > >>>>> malware > >>>>>>>> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>>>> _______________________________________________ > >>>>>>>> Gambas-user mailing list > >>>>>>>> Gambas-user at lists.sourceforge.net > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>>>> Live Security Virtual Conference > >>>>>>> Exclusive live event will cover all the ways today's security and > >>>>>>> threat landscape has changed and how IT managers can respond. > >>>>> Discussions > >>>>>>> will include endpoint security, mobile security and the latest in > >>>>> malware > >>>>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>>>> _______________________________________________ > >>>>>>> Gambas-user mailing list > >>>>>>> Gambas-user at lists.sourceforge.net > >>>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>> Live Security Virtual Conference > >>>>> Exclusive live event will cover all the ways today's security and > >>>>> threat landscape has changed and how IT managers can respond. > Discussions > >>>>> will include endpoint security, mobile security and the latest in > malware > >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. > Discussions > >>> will include endpoint security, mobile security and the latest in > malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Aug 9 18:26:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 16:26:16 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends Message-ID: <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 300 by uAle... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 1) Describe the problem. I am using DomotiGa which heavily can use the XMLRPC component of gambas. When i generate a lot of requests, then the application will run out-of-memory. I traced this down to the "miniServer.class" component. The attached "Main.module" will show that the memory only goes up, when it is running the subroutine for 50.000 times. Seems gambas doesn't free the Xml/XmlReader after the routine ends. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (2.24.0 and also seen it in 3.21.0) Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: N/A Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Just run the attached "Main.module" and notice that the memory usage only goes up, and is never released. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: Main.module 1.6 KB From gambas at ...2524... Thu Aug 9 18:35:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 16:35:13 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. Message-ID: <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 property "handle" of all the objects are getting equal prawns in 3.2.1. This does not occur in previous versions. From gonzalo1163 at ...67... Thu Aug 9 19:21:18 2012 From: gonzalo1163 at ...67... (gonzalo1163) Date: Thu, 9 Aug 2012 17:21:18 +0000 (UTC) Subject: [Gambas-user] mp3 do not play References: <4F5793C5.7030605@...27...> <4F57C3B9.6020808@...221...> Message-ID: > > Here, no mp3 file at all is played. > The bitrate of all my files is 44100. > The error "Module format not recognized" is raised already at > Music.Load("file.mp3") > > >> 2012/3/7 M. Cs. gmail.com> > >> > >>> The problem is in the SDL.sound library. I don't know whether this can > >>> be solved in Gambas only. I have same issues, but not with all files. > >>> In order to help Benoit, try to check the MP3 file's tags: bitrate, > >>> etc. It may help discover the real problem. > >>> > >>> 2012/3/7, ??????? ???????? gmail.com>: > >>>> Hi! > >>>> > >>>> I try > >>>> Music.Load("file.mp3") > >>>> Music.Play() > >>>> > >>>> and i get error "Module format not recognized". Matti t-online.de> writes: try an modify the mp3 bit-rate to 32 (or lower). or the sampling rate to 16khz or lower make copies of the mp3 in different bit rates/sampling rate till you find the one that play the mp3 correctly in your player. hth From charlie at ...2793... Thu Aug 9 20:20:20 2012 From: charlie at ...2793... (Cogier) Date: Thu, 9 Aug 2012 11:20:20 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <50215C4C.8090603@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> Message-ID: <34278479.post@...1379...> Thanks again Matti-4. I took your advice regarding Gambas3 and I love the new collapsible SUBs and the way that changing a button name automatically changes the code. BUT I have installed it on 2 machines one with Mint 13 and the other with Ubuntu 12.04 and in both cases the program will run but clicking on the "Buttons" has no effect. I installed it from the instructions on the Gambas site adding the PPA below and installing with APT-GET. http://ppa.launchpad.net/nemh/gambas3/ubuntu Am I doing something wrong? Matti-4 wrote: > > Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't > centered. > Btw: you should update to gb3, it's much better! > > Example code for a ShowModal window: > > Create a form FMain with just two buttons (btnCancel and btnInput). > Then create a form FInput with the Text "What's your name?", a TextBox > (TextBox1) and two buttons (btnCancel and btnOK). > > The FMain code is: > > Public Sub Form_Open() > Me.Center > End > > Public Sub btnCancel_Click() > Me.Close > End > > Public Sub btnInput_Click() > FInput.ShowModal > If Me.Tag = "" Then > Print "User has cancelled." > Else > Print "The name is " & Me.Tag & "." > Endif > End > > The FInput code is: > > Public Sub btnCancel_Click() > FMain.Tag = "" > Me.Close > End > > Public Sub btnOK_Click() > FMain.Tag = TextBox1.Text > Me.Close > End > > Easy, isn't it? > > > > Am 07.08.2012 15:34, schrieb Cogier: >> >> Thanks for the reply Matti-4. >> >> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >> >> Can you give me any example code of the 'xyz.ShowModal'? >> >> Thanks for any help. >> >> >> Matti-4 wrote: >>> >>> What is your Gambas version and your environment? >>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >>> >>> But as a workaround, you can easily create a tiny form for the input and >>> open it >>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>> same >>> amount of code. >>> >>> >>> Am 06.08.2012 10:15, schrieb Cogier: >>>> >>>> Is there a way to centre the InputBox on the screen as I always see it >>>> in >>>> the >>>> top left hand corner and it is missed by the user? >>>> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34278479.html Sent from the gambas-user mailing list archive at Nabble.com. From sunblaster5 at ...626... Thu Aug 9 20:26:30 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 11:26:30 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form Message-ID: <1344536790.1855.19.camel@...2901...> If I declare a Public variable is it available across all Forms and Modules?? I ask because I'm having difficulty with a $hConn variable I have a FMain form that connects to an sqlite database when the form is opened. Public Sub Form_Open() $hConn = New Connection With $hConn .Host = "path to database" and so on.... I have $hConn declared as Public at the top of the FMain.Class This so far works fine, the form opens and I get the Message.Info "You are connected to the database" It's when the second form loads, Have a 'Add New' button on FMain which opens the FNew form which can be used to add a record to the database, but I was getting an error when I click the 'Commit' button. Something about rTable and $hConn being NULL Objects, so I added an $hConn = New Connection, but now I'm getting: "Unknown Identifier" for $hConn. here is the Code for the FNew form: ' Gambas class file ' Private rTable As Result 'Public $hConn As Connection Public Sub btnCommit_Click() $hConn = New Connection ' $hConn.Open rTable = $hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close End Was also getting an error on the rTable AS Result when I had in the Sub as DIM rTable AS Result>>"Unexpected Dim" So I moved to the top of the class, don't know if that was good Idea though. I thought if I declared $hConn as Public it would be available to the Fnew form, but that doesn't seem to be the case Any insight would be helpful.. From support at ...2529... Thu Aug 9 20:40:04 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 11:40:04 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344518329.23297.YahooMailNeo@...2904...> References: <1344518329.23297.YahooMailNeo@...2904...> Message-ID: <1344537604.3445.4.camel@...1833...> On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: > Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point > and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. > The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. > > I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point > it will get it up and going with some real speed. > > Squeeze photo attached. > Hi Mike, I tried to install Gambas 3 on my Ubuntu ARM chroot instance from the .deb and having issues with libffi5 libffi5 >= 3.0.9-3 apt-get install libffi5 "libffi5 is already the newest version." Please advise! John From support at ...2529... Thu Aug 9 20:45:58 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 11:45:58 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344518329.23297.YahooMailNeo@...2904...> References: <1344518329.23297.YahooMailNeo@...2904...> Message-ID: <1344537958.3445.7.camel@...1833...> On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: > Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point > and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. > The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. > > I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point > it will get it up and going with some real speed. > > Squeeze photo attached. If anyone is looking got a cool case for their Pi ... http://www.zdnet.com/raspberry-pi-cases-round-up-eight-inventive-holders-in-photos-7000002343/ From linuxos at ...1896... Thu Aug 9 21:08:42 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:08:42 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344536790.1855.19.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> Message-ID: <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> Hello, When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > If I declare a Public variable is it available across all Forms and > Modules?? > I ask because I'm having difficulty with a $hConn variable > > I have a FMain form that connects to an sqlite database when the form is > opened. > Public Sub Form_Open() > $hConn = New Connection > With $hConn > .Host = "path to database" > and so on.... > I have $hConn declared as Public at the top of the FMain.Class > This so far works fine, the form opens and I get the Message.Info > "You are connected to the database" > > It's when the second form loads, Have a 'Add New' button on FMain which > opens the FNew form which can be used to add a record to the database, > but I was getting an error when I click the 'Commit' button. > > Something about rTable and $hConn being NULL Objects, so I added an > $hConn = New Connection, but now I'm getting: > "Unknown Identifier" for $hConn. > here is the Code for the FNew form: > > ' Gambas class file > > ' > Private rTable As Result > > 'Public $hConn As Connection > > Public Sub btnCommit_Click() > > $hConn = New Connection > ' $hConn.Open > > rTable = $hConn.Create("inventory") > > If rTable.Available Then > rTable!name = txtName.Text > rTable!type = txtType.Text > Try rTable.Update > If Error Then > Print "Update failed" > Message.Error(ERROR.Text) > > Endif > Endif > > DB.Commit > > > End > > Public Sub btnCancel_Click() > > FNew.Close > > End > > Was also getting an error on the rTable AS Result when I had in the Sub > as DIM rTable AS Result>>"Unexpected Dim" > So I moved to the top of the class, don't know if that was good Idea > though. > I thought if I declared $hConn as Public it would be available to the > Fnew form, but that doesn't seem to be the case > Any insight would be helpful.. > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Thu Aug 9 21:22:27 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:22:27 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> Message-ID: <1344540148.1855.24.camel@...2901...> Ok I see, I've added FMain.xxxx but now I'm getting "Driver name missing" at FMain.Open On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: > Hello, > > When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: > > > In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > > > If I declare a Public variable is it available across all Forms and > > Modules?? > > I ask because I'm having difficulty with a $hConn variable > > > > I have a FMain form that connects to an sqlite database when the form is > > opened. > > Public Sub Form_Open() > > $hConn = New Connection > > With $hConn > > .Host = "path to database" > > and so on.... > > I have $hConn declared as Public at the top of the FMain.Class > > This so far works fine, the form opens and I get the Message.Info > > "You are connected to the database" > > > > It's when the second form loads, Have a 'Add New' button on FMain which > > opens the FNew form which can be used to add a record to the database, > > but I was getting an error when I click the 'Commit' button. > > > > Something about rTable and $hConn being NULL Objects, so I added an > > $hConn = New Connection, but now I'm getting: > > "Unknown Identifier" for $hConn. > > here is the Code for the FNew form: > > > > ' Gambas class file > > > > ' > > Private rTable As Result > > > > 'Public $hConn As Connection > > > > Public Sub btnCommit_Click() > > > > $hConn = New Connection > > ' $hConn.Open > > > > rTable = $hConn.Create("inventory") > > > > If rTable.Available Then > > rTable!name = txtName.Text > > rTable!type = txtType.Text > > Try rTable.Update > > If Error Then > > Print "Update failed" > > Message.Error(ERROR.Text) > > > > Endif > > Endif > > > > DB.Commit > > > > > > End > > > > Public Sub btnCancel_Click() > > > > FNew.Close > > > > End > > > > Was also getting an error on the rTable AS Result when I had in the Sub > > as DIM rTable AS Result>>"Unexpected Dim" > > So I moved to the top of the class, don't know if that was good Idea > > though. > > I thought if I declared $hConn as Public it would be available to the > > Fnew form, but that doesn't seem to be the case > > Any insight would be helpful.. > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Thu Aug 9 21:25:18 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:25:18 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344540148.1855.24.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> Message-ID: <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> Can you put the code that you obtain now in a main Form and in the second Form please ? Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 21:22, rocko a ?crit : > Ok I see, > I've added FMain.xxxx > but now I'm getting "Driver name missing" at FMain.Open > > > On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: >> Hello, >> >> When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: >> >> >> In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) >> >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 9 ao?t 2012 ? 20:26, rocko a ?crit : >> >>> If I declare a Public variable is it available across all Forms and >>> Modules?? >>> I ask because I'm having difficulty with a $hConn variable >>> >>> I have a FMain form that connects to an sqlite database when the form is >>> opened. >>> Public Sub Form_Open() >>> $hConn = New Connection >>> With $hConn >>> .Host = "path to database" >>> and so on.... >>> I have $hConn declared as Public at the top of the FMain.Class >>> This so far works fine, the form opens and I get the Message.Info >>> "You are connected to the database" >>> >>> It's when the second form loads, Have a 'Add New' button on FMain which >>> opens the FNew form which can be used to add a record to the database, >>> but I was getting an error when I click the 'Commit' button. >>> >>> Something about rTable and $hConn being NULL Objects, so I added an >>> $hConn = New Connection, but now I'm getting: >>> "Unknown Identifier" for $hConn. >>> here is the Code for the FNew form: >>> >>> ' Gambas class file >>> >>> ' >>> Private rTable As Result >>> >>> 'Public $hConn As Connection >>> >>> Public Sub btnCommit_Click() >>> >>> $hConn = New Connection >>> ' $hConn.Open >>> >>> rTable = $hConn.Create("inventory") >>> >>> If rTable.Available Then >>> rTable!name = txtName.Text >>> rTable!type = txtType.Text >>> Try rTable.Update >>> If Error Then >>> Print "Update failed" >>> Message.Error(ERROR.Text) >>> >>> Endif >>> Endif >>> >>> DB.Commit >>> >>> >>> End >>> >>> Public Sub btnCancel_Click() >>> >>> FNew.Close >>> >>> End >>> >>> Was also getting an error on the rTable AS Result when I had in the Sub >>> as DIM rTable AS Result>>"Unexpected Dim" >>> So I moved to the top of the class, don't know if that was good Idea >>> though. >>> I thought if I declared $hConn as Public it would be available to the >>> Fnew form, but that doesn't seem to be the case >>> Any insight would be helpful.. >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From support at ...2529... Thu Aug 9 21:28:58 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 12:28:58 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344537604.3445.4.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> Message-ID: <1344540538.3445.9.camel@...1833...> On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > Hi Mike, > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > the .deb and having issues with libffi5 > > libffi5 >= 3.0.9-3 > > apt-get install libffi5 > > "libffi5 is already the newest version." > > Please advise! > libffi.so.5 -> libffi.so.5.0.10 ??? From sunblaster5 at ...626... Thu Aug 9 21:37:27 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:37:27 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> Message-ID: <1344541047.1855.27.camel@...2901...> Sure can. FMain CODE:>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file Public $hConn As Connection Public Sub _new() End Public Sub Form_Open() $hConn = New Connection With $hConn .Host = "/home/rocko/DataBases" .Name = "my_test.sqlite" .Type = "sqlite" End With Try $hConn.Open If Error Then Print "Database cannot be opened. Error = ", Error.Text Else Message.Info("You are now connected to the database.") Endif End Public Sub btnAdd_Click() FNew.Show End Public Sub btnClose_Click() $hConn.Close FMain.Close End +++++++++++++++++++++++++++++++++++++++++++++++++++++ FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file ' Private rTable As Result Public Sub btnCommit_Click() FMain.$hConn = New Connection FMain.$hConn.Open rTable = FMain.$hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close End Hope that helps. On Thu, 2012-08-09 at 21:25 +0200, Olivier Cruilles wrote: > Can you put the code that you obtain now in a main Form and in the second Form please ? > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 21:22, rocko a ?crit : > > > Ok I see, > > I've added FMain.xxxx > > but now I'm getting "Driver name missing" at FMain.Open > > > > > > On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: > >> > >> > >> In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > >> > >>> If I declare a Public variable is it available across all Forms and > >>> Modules?? > >>> I ask because I'm having difficulty with a $hConn variable > >>> > >>> I have a FMain form that connects to an sqlite database when the form is > >>> opened. > >>> Public Sub Form_Open() > >>> $hConn = New Connection > >>> With $hConn > >>> .Host = "path to database" > >>> and so on.... > >>> I have $hConn declared as Public at the top of the FMain.Class > >>> This so far works fine, the form opens and I get the Message.Info > >>> "You are connected to the database" > >>> > >>> It's when the second form loads, Have a 'Add New' button on FMain which > >>> opens the FNew form which can be used to add a record to the database, > >>> but I was getting an error when I click the 'Commit' button. > >>> > >>> Something about rTable and $hConn being NULL Objects, so I added an > >>> $hConn = New Connection, but now I'm getting: > >>> "Unknown Identifier" for $hConn. > >>> here is the Code for the FNew form: > >>> > >>> ' Gambas class file > >>> > >>> ' > >>> Private rTable As Result > >>> > >>> 'Public $hConn As Connection > >>> > >>> Public Sub btnCommit_Click() > >>> > >>> $hConn = New Connection > >>> ' $hConn.Open > >>> > >>> rTable = $hConn.Create("inventory") > >>> > >>> If rTable.Available Then > >>> rTable!name = txtName.Text > >>> rTable!type = txtType.Text > >>> Try rTable.Update > >>> If Error Then > >>> Print "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> Endif > >>> Endif > >>> > >>> DB.Commit > >>> > >>> > >>> End > >>> > >>> Public Sub btnCancel_Click() > >>> > >>> FNew.Close > >>> > >>> End > >>> > >>> Was also getting an error on the rTable AS Result when I had in the Sub > >>> as DIM rTable AS Result>>"Unexpected Dim" > >>> So I moved to the top of the class, don't know if that was good Idea > >>> though. > >>> I thought if I declared $hConn as Public it would be available to the > >>> Fnew form, but that doesn't seem to be the case > >>> Any insight would be helpful.. > >>> > >>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Thu Aug 9 21:48:39 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:48:39 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344541047.1855.27.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> Message-ID: You repeat the same problem than yesterday. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 21:37, rocko a ?crit : FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file ' Private rTable As Result Public Sub btnCommit_Click() FMain.$hConn = New Connection <- ERROR you don't need to reopen the database, it's already done FMain.$hConn.Open <- ERROR you don't need to reopen the database, it's already done rTable = FMain.$hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif FMain.$hConn.Commit <- ERROR corrected End Public Sub btnCancel_Click() FNew.Close End From sunblaster5 at ...626... Thu Aug 9 21:57:16 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:57:16 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> Message-ID: <1344542236.3572.4.camel@...2901...> DOH!! Originally I was getting an error on rTable and $hConn variable "Null Object" or something like that. Think thats why I added the $hConn statements, it got rid of the "null" error but then other error's popped up. Must remember only open sqlite once!!! Thanks Oliver. On Thu, 2012-08-09 at 21:48 +0200, Olivier Cruilles wrote: > You repeat the same problem than yesterday. > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 21:37, rocko a ?crit : > > FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > ' Gambas class file > > ' > Private rTable As Result > > > Public Sub btnCommit_Click() > > FMain.$hConn = New Connection <- ERROR you don't need to reopen the database, it's already done > FMain.$hConn.Open <- ERROR you don't need to reopen the database, it's already done > > rTable = FMain.$hConn.Create("inventory") > > If rTable.Available Then > rTable!name = txtName.Text > rTable!type = txtType.Text > Try rTable.Update > If Error Then > Print "Update failed" > Message.Error(ERROR.Text) > > Endif > Endif > > FMain.$hConn.Commit <- ERROR corrected > > > End > > Public Sub btnCancel_Click() > > FNew.Close > > End > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Thu Aug 9 22:10:18 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 20:10:18 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #1 on issue 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 This bug is occurring in the 3.2.x versions released so far. This is really a bug or handle parameter is equal to all objects from the 3.2 series? From mrrichardwallace at ...43... Thu Aug 9 22:21:21 2012 From: mrrichardwallace at ...43... (mrrichardwallace at ...43...) Date: Thu, 9 Aug 2012 13:21:21 -0700 (PDT) Subject: [Gambas-user] (no subject) Message-ID: <1344543681.75708.YahooMailNeo@...2908...> http://www.hmclarnonandson.co.uk/wp-content/themes/twentyten/mynews.php?attack225.jpg From math.eber at ...221... Thu Aug 9 22:22:55 2012 From: math.eber at ...221... (Matti) Date: Thu, 09 Aug 2012 22:22:55 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34278479.post@...1379...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> <34278479.post@...1379...> Message-ID: <50241C1F.6080805@...221...> Better open a new thread about gb3 and Mint and Ubuntu, because I don't know anything about that! Am 09.08.2012 20:20, schrieb Cogier: > > Thanks again Matti-4. > > I took your advice regarding Gambas3 and I love the new collapsible SUBs and > the way that changing a button name automatically changes the code. > > BUT > > I have installed it on 2 machines one with Mint 13 and the other with Ubuntu > 12.04 and in both cases the program will run but clicking on the "Buttons" > has no effect. > > I installed it from the instructions on the Gambas site adding the PPA below > and installing with APT-GET. > http://ppa.launchpad.net/nemh/gambas3/ubuntu > > Am I doing something wrong? > > > Matti-4 wrote: >> >> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't >> centered. >> Btw: you should update to gb3, it's much better! >> >> Example code for a ShowModal window: >> >> Create a form FMain with just two buttons (btnCancel and btnInput). >> Then create a form FInput with the Text "What's your name?", a TextBox >> (TextBox1) and two buttons (btnCancel and btnOK). >> >> The FMain code is: >> >> Public Sub Form_Open() >> Me.Center >> End >> >> Public Sub btnCancel_Click() >> Me.Close >> End >> >> Public Sub btnInput_Click() >> FInput.ShowModal >> If Me.Tag = "" Then >> Print "User has cancelled." >> Else >> Print "The name is " & Me.Tag & "." >> Endif >> End >> >> The FInput code is: >> >> Public Sub btnCancel_Click() >> FMain.Tag = "" >> Me.Close >> End >> >> Public Sub btnOK_Click() >> FMain.Tag = TextBox1.Text >> Me.Close >> End >> >> Easy, isn't it? >> >> >> >> Am 07.08.2012 15:34, schrieb Cogier: >>> >>> Thanks for the reply Matti-4. >>> >>> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >>> >>> Can you give me any example code of the 'xyz.ShowModal'? >>> >>> Thanks for any help. >>> >>> >>> Matti-4 wrote: >>>> >>>> What is your Gambas version and your environment? >>>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >>>> >>>> But as a workaround, you can easily create a tiny form for the input and >>>> open it >>>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>>> same >>>> amount of code. >>>> >>>> >>>> Am 06.08.2012 10:15, schrieb Cogier: >>>>> >>>>> Is there a way to centre the InputBox on the screen as I always see it >>>>> in >>>>> the >>>>> top left hand corner and it is missed by the user? >>>>> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > From sunblaster5 at ...626... Thu Aug 9 22:33:42 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 13:33:42 -0700 Subject: [Gambas-user] Adding a date to a number Message-ID: <1344544422.3572.13.camel@...2901...> I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a value box to add to the date and then display that in another text box. But I'm not sure what the formula in Gambas is for adding dates. I want to this: date + 30 days = future date 9/10/12 + 30 = 10/10/12. $date = dateBox.Value + 30 Is there a function for formating dates?? From sunblaster5 at ...626... Thu Aug 9 22:42:38 2012 From: sunblaster5 at ...626... (acidblue) Date: Thu, 9 Aug 2012 13:42:38 -0700 (PDT) Subject: [Gambas-user] Adding a date to a number In-Reply-To: <1344544422.3572.13.camel@...2901...> References: <1344544422.3572.13.camel@...2901...> Message-ID: <34279093.post@...1379...> I tried this and it works fine. Dim $date As Date $date = DateBox1.Value + vbxFlwrTime.Value txtFin.Text = $date acidblue wrote: > > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a value box to add to the date and then display that in > another text box. > > But I'm not sure what the formula in Gambas is for adding dates. > > I want to this: date + 30 days = future date > 9/10/12 + 30 = 10/10/12. > $date = dateBox.Value + 30 > Is there a function for formating dates?? > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Adding-a-date-to-a-number-tp34279055p34279093.html Sent from the gambas-user mailing list archive at Nabble.com. From support at ...2529... Thu Aug 9 23:12:55 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 14:12:55 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344540538.3445.9.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> Message-ID: <1344546775.3445.14.camel@...1833...> On Thu, 2012-08-09 at 12:28 -0700, John Spikowski wrote: > On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > > Hi Mike, > > > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > > the .deb and having issues with libffi5 > > > > libffi5 >= 3.0.9-3 > > > > apt-get install libffi5 > > > > "libffi5 is already the newest version." > > > > Please advise! > > > libffi.so.5 -> libffi.so.5.0.10 > > ??? It's not a Pi and it cost 10X as much but Android is standard issue and makes a good glue OS. I'm happy. (100% if I can get Gambas running on this puppy) -------------- next part -------------- A non-text attachment was scrubbed... Name: APC.jpg Type: image/jpeg Size: 168540 bytes Desc: not available URL: From jason349 at ...626... Thu Aug 9 23:30:18 2012 From: jason349 at ...626... (jason349 at ...626...) Date: Thu, 9 Aug 2012 21:30:18 +0000 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344546775.3445.14.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> Message-ID: <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> What's the make and model of the machine you've got? It looks interesting. -----Original Message----- From: John Spikowski Date: Thu, 09 Aug 2012 14:12:55 To: mailing list for gambas users Reply-To: mailing list for gambas users Subject: Re: [Gambas-user] Raspberry Pi On Thu, 2012-08-09 at 12:28 -0700, John Spikowski wrote: > On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > > Hi Mike, > > > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > > the .deb and having issues with libffi5 > > > > libffi5 >= 3.0.9-3 > > > > apt-get install libffi5 > > > > "libffi5 is already the newest version." > > > > Please advise! > > > libffi.so.5 -> libffi.so.5.0.10 > > ??? It's not a Pi and it cost 10X as much but Android is standard issue and makes a good glue OS. I'm happy. (100% if I can get Gambas running on this puppy) From support at ...2529... Thu Aug 9 23:41:07 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 14:41:07 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> Message-ID: <1344548467.3445.22.camel@...1833...> On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: > What's the make and model of the machine you've got? > It looks interesting. It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and a MS USB wireless mouse. When I finish extending the USB plug-in adapter, it's going to look link a candelabra. ;-) Ubuntu running as chroot image runs really well even though the GUI is a VNC connection to Android. Apache and SSH servers work (wireless connection) and I can access the Ubuntu file system from Android Linux. I can't wait to see Gambas 3 running. From jussi.lahtinen at ...626... Thu Aug 9 23:50:28 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 00:50:28 +0300 Subject: [Gambas-user] JIT bug 7 In-Reply-To: References: Message-ID: Again at home... Everything seems to work! Jussi On 4 August 2012 15:09, Emil Lenngren wrote: > OK, it should work now. > > 2012/7/28 Emil Lenngren > > > Can't really do anything right now. I am in Venice now on Vacation :) > > I come home in 8 days or something. > > > > If you want, you can post the llvm output, gdb stacktrace or whatever... > > > > /Emil > > > > 2012/7/28 Jussi Lahtinen > > > >> Before continuing my vacation again in countryside... > >> Here is some JIT bug. See attachment. > >> > >> Gambas 3 rev 4995 @ Xubuntu 12.04 64bit > >> > >> Jussi > >> > >> > >> > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest in > malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Aug 9 23:53:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 23:53:35 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344548467.3445.22.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> Message-ID: <5024315F.6090106@...1...> Le 09/08/2012 23:41, John Spikowski a ?crit : > On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: >> What's the make and model of the machine you've got? >> It looks interesting. > > It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and > a MS USB wireless mouse. When I finish extending the USB plug-in > adapter, it's going to look link a candelabra. ;-) > > Ubuntu running as chroot image runs really well even though the GUI is a > VNC connection to Android. Apache and SSH servers work (wireless > connection) and I can access the Ubuntu file system from Android Linux. > > I can't wait to see Gambas 3 running. > Why don't you compile it from sources? -- Beno?t Minisini From support at ...2529... Fri Aug 10 00:07:08 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 15:07:08 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <5024315F.6090106@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> Message-ID: <1344550028.3445.24.camel@...1833...> On Thu, 2012-08-09 at 23:53 +0200, Beno?t Minisini wrote: > Le 09/08/2012 23:41, John Spikowski a ?crit : > > On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: > >> What's the make and model of the machine you've got? > >> It looks interesting. > > > > It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and > > a MS USB wireless mouse. When I finish extending the USB plug-in > > adapter, it's going to look link a candelabra. ;-) > > > > Ubuntu running as chroot image runs really well even though the GUI is a > > VNC connection to Android. Apache and SSH servers work (wireless > > connection) and I can access the Ubuntu file system from Android Linux. > > > > I can't wait to see Gambas 3 running. > > > > Why don't you compile it from sources? > Do you think that will get me by the libffi5 issue? From gambas at ...1... Fri Aug 10 00:38:37 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 00:38:37 +0200 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <1344550028.3445.24.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> Message-ID: <50243BED.6080103@...1...> Le 10/08/2012 00:07, John Spikowski a ?crit : > On Thu, 2012-08-09 at 23:53 +0200, Beno?t Minisini wrote: >> Le 09/08/2012 23:41, John Spikowski a ?crit : >>> On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: >>>> What's the make and model of the machine you've got? >>>> It looks interesting. >>> >>> It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and >>> a MS USB wireless mouse. When I finish extending the USB plug-in >>> adapter, it's going to look link a candelabra. ;-) >>> >>> Ubuntu running as chroot image runs really well even though the GUI is a >>> VNC connection to Android. Apache and SSH servers work (wireless >>> connection) and I can access the Ubuntu file system from Android Linux. >>> >>> I can't wait to see Gambas 3 running. >>> >> >> Why don't you compile it from sources? >> > > Do you think that will get me by the libffi5 issue? > No idea. I don't have any ARM device, and I don't make the binary packages you tried to install. -- Beno?t Minisini From support at ...2529... Fri Aug 10 00:49:18 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 15:49:18 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <50243BED.6080103@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> Message-ID: <1344552558.3445.28.camel@...1833...> On Fri, 2012-08-10 at 00:38 +0200, Beno?t Minisini wrote: > > Do you think that will get me by the libffi5 issue? > > > > No idea. I don't have any ARM device, and I don't make the binary > packages you tried to install. > I got ScriptBasic, BaCon and BCX Basic ported to Android Linux so far, getting Gambas running as a chroot image under Android would be nice surprise. I'll put on 'protection' and give it a go. ;-) From gambas at ...1... Fri Aug 10 00:52:06 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 00:52:06 +0200 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <1344552558.3445.28.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> Message-ID: <50243F16.30809@...1...> Le 10/08/2012 00:49, John Spikowski a ?crit : > On Fri, 2012-08-10 at 00:38 +0200, Beno?t Minisini wrote: > >>> Do you think that will get me by the libffi5 issue? >>> >> >> No idea. I don't have any ARM device, and I don't make the binary >> packages you tried to install. >> > > I got ScriptBasic, BaCon and BCX Basic ported to Android Linux so far, > getting Gambas running as a chroot image under Android would be nice > surprise. > > I'll put on 'protection' and give it a go. ;-) > Gambas cannot run on Android. It requires a GNU operating system at the moment. -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 10 01:14:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 02:14:32 +0300 Subject: [Gambas-user] Adding a date to a number In-Reply-To: <1344544422.3572.13.camel@...2901...> References: <1344544422.3572.13.camel@...2901...> Message-ID: http://gambasdoc.org/help/lang/dateadd?show Jussi On 9 August 2012 23:33, rocko wrote: > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a value box to add to the date and then display that in > another text box. > > But I'm not sure what the formula in Gambas is for adding dates. > > I want to this: date + 30 days = future date > 9/10/12 + 30 = 10/10/12. > $date = dateBox.Value + 30 > Is there a function for formating dates?? > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Fri Aug 10 01:32:11 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 16:32:11 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <50243F16.30809@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> Message-ID: <1344555131.3445.30.camel@...1833...> On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > Le 10/08/2012 00:49, John Spikowski a ?crit : > Gambas cannot run on Android. It requires a GNU operating system at the > moment. > Gambas will be running on an ARM version of Ubuntu as a Android chroot image on my SGT2_10.1. (hopefully) From sunblaster5 at ...626... Fri Aug 10 01:34:11 2012 From: sunblaster5 at ...626... (acidblue) Date: Thu, 9 Aug 2012 16:34:11 -0700 (PDT) Subject: [Gambas-user] Questions about SQLIte and Data Objects Message-ID: <34279714.post@...1379...> I noticed when i use 'datetime' as a type in sqlite it also adds a time at the end the date: 8/9/2012 00:00:00 when displayed in a dataview box. Is there a way to NOT display the time, just the date? I have to re-adjust the column widths every time program loads,(using dataview),this is inherited of the length of the Varchar and string elements in the database. Is there a way to adjust the column widths to my liking and have them stay that way? I've tried using both the datacombo and the datacomboview but have received error messages when I do. "Unknown symbol in HeaderHieght in class", Grid_viewRows" But when I double click either the datacomdo or the comboview to enter code gambas crashes. -- View this message in context: http://old.nabble.com/Questions-about-SQLIte-and-Data-Objects-tp34279714p34279714.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Aug 10 01:46:20 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 01:46:20 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: Message-ID: <50244BCC.7030708@...1...> Le 25/07/2012 08:15, Ricardo D?az Mart?n a ?crit : > Hi, > > I wonder if there is some way to read the pen pressure from wacom like > tablets in gambas. I have read some documentations for java and looks like > wacon tablets works like a normal mouse with some extra properties you can > get: pressure, rubber mode, etc... > > I know there is qt4 support for this but I have not experience with qt4. I > can do it in java but of course I prefer gambas3 :-p > > Regards, > Ricardo D?az Hi, Since revision #5024, you can catch tablet events with Gambas. But I can't test it, so I need you now! At the moment, it works like that: 1) Only DrawingArea can catch tablet events. You need to set its new 'UseTablet' property to TRUE. 2) Then each tablet event will raise a MousePress, MouseMove or MouseRelease event. 3) The properties of the tablet event are stored inside the new 'Pointer' static class. 4) The 'Pointer' class has the following properties: - X : the floating point X global coordinate. - Y : the floating point Y global coordinate. - XTilt: the X tilt. - YTilt: the Y tilt. - Pressure: the pressure. - Rotation: the rotation. - Type: the pointer type, which be either Pointer.Mouse, Pointer.Pen, Pointer.Eraser or Pointer.Cursor. I have no idea if it works. Maybe I will buy a Wacom tablet, I don't know. But now I'm waiting for your returns! Thanks in advance. Regards, -- Beno?t Minisini From sunblaster5 at ...626... Fri Aug 10 02:24:38 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 17:24:38 -0700 Subject: [Gambas-user] Check if a form is opened/show Message-ID: <1344558278.4970.3.camel@...2901...> Is there a way to check if a form is opened?? If Fmain.Open = True Then do...something endif I tries .Show but got an error. From sunblaster5 at ...626... Fri Aug 10 07:13:22 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 22:13:22 -0700 Subject: [Gambas-user] Getting data from table Message-ID: <1344575602.2738.9.camel@...2901...> I've read the help files and seen a lot of examples on how to add data to a table but I can' find any examples on how to get data from a table. I need to get total number of fields from a table. I've looked at: 'Property Read Count As Integer' in the Help file. Can i simply put this at the top of my class and then do a Print Count ?? I need the Count so i can iterate thru the fields and extract data, something like: For Each Count get specific field do something with field Next I suppose I could use the primary key ID as the For Each loop But not sure about that. From oceanosoftlapalma at ...626... Fri Aug 10 08:01:52 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 10 Aug 2012 08:01:52 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <50244BCC.7030708@...1...> References: <50244BCC.7030708@...1...> Message-ID: Thanks Benoit, I'm going directly to the shop to buy a wacom tablet to test it. Hope to try it this weekend. I'll keep you informed. Regards, 2012/8/10 Beno?t Minisini > Le 25/07/2012 08:15, Ricardo D?az Mart?n a ?crit : > > Hi, > > > > I wonder if there is some way to read the pen pressure from wacom like > > tablets in gambas. I have read some documentations for java and looks > like > > wacon tablets works like a normal mouse with some extra properties you > can > > get: pressure, rubber mode, etc... > > > > I know there is qt4 support for this but I have not experience with qt4. > I > > can do it in java but of course I prefer gambas3 :-p > > > > Regards, > > Ricardo D?az > > Hi, > > Since revision #5024, you can catch tablet events with Gambas. But I > can't test it, so I need you now! > > At the moment, it works like that: > > 1) Only DrawingArea can catch tablet events. You need to set its new > 'UseTablet' property to TRUE. > > 2) Then each tablet event will raise a MousePress, MouseMove or > MouseRelease event. > > 3) The properties of the tablet event are stored inside the new > 'Pointer' static class. > > 4) The 'Pointer' class has the following properties: > > - X : the floating point X global coordinate. > - Y : the floating point Y global coordinate. > - XTilt: the X tilt. > - YTilt: the Y tilt. > - Pressure: the pressure. > - Rotation: the rotation. > - Type: the pointer type, which be either Pointer.Mouse, Pointer.Pen, > Pointer.Eraser or Pointer.Cursor. > > I have no idea if it works. Maybe I will buy a Wacom tablet, I don't > know. But now I'm waiting for your returns! > > Thanks in advance. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shanep1967 at ...169... Fri Aug 10 08:27:51 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:27:51 +1000 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344575602.2738.9.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> Message-ID: <5024A9E7.9000504@...169...> On 10/08/12 15:13, rocko wrote: > I've read the help files and seen a lot of examples on how > to add data to a table but I can' find any examples on how > to get data from a table. > > I need to get total number of fields from a table. I've looked at: > 'Property Read Count As Integer' in the Help file. > Can i simply put this at the top of my class and then do a > Print Count ?? > > I need the Count so i can iterate thru the fields and extract data, > something like: > For Each Count > get specific field > do something with field > Next > I suppose I could use the primary key ID as the For Each loop > But not sure about that. > > Try this myResult = dbcon.find(myTable, "id = &1",ID) for each myResult TextBox1.text = myResult!myField1 TextBox2.text = myResult!myField2 next > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From shanep1967 at ...169... Fri Aug 10 08:32:00 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:32:00 +1000 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <34279714.post@...1379...> References: <34279714.post@...1379...> Message-ID: <5024AAE0.90506@...169...> On 10/08/12 09:34, acidblue wrote: > I noticed when i use 'datetime' as a type in sqlite it also adds a time at > the end the date: > 8/9/2012 00:00:00 when displayed in a dataview box. use format command > > Is there a way to NOT display the time, just the date? > > I have to re-adjust the column widths every time program loads,(using > dataview),this is inherited > of the length of the Varchar and string elements in the database. > Is there a way to adjust the column widths to my liking and have them stay > that way? > > I've tried using both the datacombo and the datacomboview but have received > error messages when I do. > "Unknown symbol in HeaderHieght in class", Grid_viewRows" > But when I double click either the datacomdo or the comboview to enter code > gambas crashes. From shanep1967 at ...169... Fri Aug 10 08:44:34 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:44:34 +1000 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: <1344558278.4970.3.camel@...2901...> References: <1344558278.4970.3.camel@...2901...> Message-ID: <5024ADD2.4050203@...169...> On 10/08/12 10:24, rocko wrote: > Is there a way to check if a form is opened?? > > If Fmain.Open = True Then > do...something > endif > > I tries .Show but got an error. is this what you need ? http://gambasdoc.org/help/comp/gb.qt4/window/visible?v3 time to read the docs ;-) > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From Gambas at ...1950... Fri Aug 10 09:59:01 2012 From: Gambas at ...1950... (Caveat) Date: Fri, 10 Aug 2012 09:59:01 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <5024A9E7.9000504@...169...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> Message-ID: <5024BF45.4070802@...1950...> In java you'd use ResultSetMetaData, but in Gambas I adopted a slightly different approach using the describe function...of course it's not as portable...but it will give a list of columns for a given table in MySQL (which I think was your original question)... Private Function getColumns(tableName As String) As Collection Dim coll As New Collection Dim tmpRes As Result Dim sql As String Dim column As DbColumn coll = New Collection sql = "describe " & tableName tmpRes = DataAccess.executeFetch(sql) For Each tmpRes column = New DbColumn column.setName(tmpRes["Field"]) column.setType(tmpRes["Type"]) column.setNullable(tmpRes["Null"]) column.setKey(tmpRes["Key"]) column.setDefault(tmpRes["Default"]) column.setExtra(tmpRes["Extra"]) coll.Add(column, column.getName()) Next Return coll Catch message("Got error: " & Error.Text & " @ " & Error.Where) End Much of this code is a few years old, so there may be new features in Gambas that let you access the RSMD (or even old features that I just missed at the time!). Kind regards, Caveat P.S. In case you can't manage without it, here's my original DBColumn class too (yes, it tries to make the Gambas experience more java-like... so sue me :-) ): ' Gambas class file Private fieldValues As Collection Private fields As String[] Public Const NAME_INDEX As Integer = 0 Public Const TARGET_NAME_INDEX As Integer = 1 Public Const TYPE_INDEX As Integer = 2 Public Const NULLABLE_INDEX As Integer = 3 Public Const KEY_INDEX As Integer = 4 Public Const DEFAULT_VAL_INDEX As Integer = 5 Public Const EXTRA_INDEX As Integer = 6 Public Function getFieldByIndex(fieldIndex As Integer) As String If fieldIndex < 0 Or fieldIndex > getFieldCount() - 1 Then Return "" Else Return getFieldValues()[getFields()[fieldIndex]] End If End Public Function getFields() As String[] If fields = Null Then fields = New String[] fields.Add("Name", NAME_INDEX) fields.Add("Target Name", TARGET_NAME_INDEX) fields.Add("Type", TYPE_INDEX) fields.Add("Nullable", NULLABLE_INDEX) fields.Add("Key", KEY_INDEX) fields.Add("Default Value", DEFAULT_VAL_INDEX) fields.Add("Extra", EXTRA_INDEX) End If Return fields End Private Function getFieldByName(fieldName As String) As String Return getFieldValues()[fieldName] End Private Sub setFieldByName(fieldName As String, fieldValue As String) getFieldValues()[fieldName] = fieldValue End Private Function getFieldValues() As Collection If fieldValues = Null Then fieldValues = New Collection End If Return fieldValues End Public Sub setName(newName As String) setFieldByName("Name", newName) End Public Function getName() As String Return getFieldByName("Name") End Public Sub setTargetName(newName As String) setFieldByName("Target Name", newName) End Public Function getTargetName() As String Return getFieldByName("Target Name") End Public Sub setType(newType As String) setFieldByName("Type", newType) End Public Function getType() As String Return getFieldByName("Type") End Public Sub setNullable(newNullable As String) setFieldByName("Nullable", newNullable) End Public Function getNullable() As String Return getFieldByName("Nullable") End Public Sub setKey(newKey As String) setFieldByName("Key", newKey) End Public Function getKey() As String Return getFieldByName("Key") End Public Sub setDefault(newDefault As String) setFieldByName("Default Value", newDefault) End Public Function getDefault() As String Return getFieldByName("Default Value") End Public Sub setExtra(newExtra As String) setFieldByName("Extra", newExtra) End Public Function getExtra() As String Return getFieldByName("Extra") End Public Function isPrimaryKey() As Boolean If getKey() = "PRI" Then Logger.logMessage("Returning TRUE from isPrimaryKey()") Return True Else Logger.logMessage("Returning FALSE from isPrimaryKey()") Return False End If End Public Function getFieldCount() As Integer Return getFields().Count End On 10/08/12 08:27, Shane wrote: > On 10/08/12 15:13, rocko wrote: >> I've read the help files and seen a lot of examples on how >> to add data to a table but I can' find any examples on how >> to get data from a table. >> >> I need to get total number of fields from a table. I've looked at: >> 'Property Read Count As Integer' in the Help file. >> Can i simply put this at the top of my class and then do a >> Print Count ?? >> >> I need the Count so i can iterate thru the fields and extract data, >> something like: >> For Each Count >> get specific field >> do something with field >> Next >> I suppose I could use the primary key ID as the For Each loop >> But not sure about that. >> >> > Try this > > myResult = dbcon.find(myTable, "id = &1",ID) > for each myResult > TextBox1.text = myResult!myField1 > TextBox2.text = myResult!myField2 > next > >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Fri Aug 10 10:17:49 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 01:17:49 -0700 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <50243F16.30809@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> Message-ID: <1344586669.8613.5.camel@...1833...> On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > > Gambas cannot run on Android. It requires a GNU operating system at the > moment. > I'm seeing some strange version checking going on as I try to get autoconf, automake and libtool installed. When I run apt-get install autoconf, I get the following error when I just built m4 from scratch successfully. It almost seems like the 'BackTrack' distro is calling the shots what can and can't be installed via apt-get. (shooting at stars with that guess) I'm going to try and build autoconf, automake and libtool from source if this is the case. ====================== All 69 tests passed (8 tests were not run) ====================== make[5]: Leaving directory `/root/build/m4-1.4.13/tests' make[4]: Leaving directory `/root/build/m4-1.4.13/tests' make[3]: Leaving directory `/root/build/m4-1.4.13/tests' make[2]: Leaving directory `/root/build/m4-1.4.13/tests' make[1]: Leaving directory `/root/build/m4-1.4.13' root at ...40...:~/build/m4-1.4.13# cd .. root at ...40...:~/build# apt-get install autoconf Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: autoconf: Depends: m4 (>= 1.4.13) but it is not installable E: Broken packages root at ...40...:~/build# From support at ...2529... Fri Aug 10 11:43:53 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 02:43:53 -0700 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <1344586669.8613.5.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> Message-ID: <1344591833.8613.14.camel@...1833...> On Fri, 2012-08-10 at 01:17 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > > > > > Gambas cannot run on Android. It requires a GNU operating system at the > > moment. > > > > I'm seeing some strange version checking going on as I try to get > autoconf, automake and libtool installed. When I run apt-get install > autoconf, I get the following error when I just built m4 from scratch > successfully. It almost seems like the 'BackTrack' distro is calling the > shots what can and can't be installed via apt-get. (shooting at stars > with that guess) > > I'm going to try and build autoconf, automake and libtool from source if > this is the case. > > ====================== > All 69 tests passed > (8 tests were not run) > ====================== > make[5]: Leaving directory `/root/build/m4-1.4.13/tests' > make[4]: Leaving directory `/root/build/m4-1.4.13/tests' > make[3]: Leaving directory `/root/build/m4-1.4.13/tests' > make[2]: Leaving directory `/root/build/m4-1.4.13/tests' > make[1]: Leaving directory `/root/build/m4-1.4.13' > root at ...40...:~/build/m4-1.4.13# cd .. > root at ...40...:~/build# apt-get install autoconf > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > autoconf: Depends: m4 (>= 1.4.13) but it is not installable > E: Broken packages > root at ...40...:~/build# > At this point my guess is that the BackTrack5 repositories aren't releasing the auto* utilities as they haven't passed their 'bullet proof' suite yet. I'm build the suite from source and running 'make check' on each to validate it's integrity. I can't wait for the apt-get of the Gambas dependencies to see what is being 'held back'. I know the qt4 may have to be a manual install. I remember something about a 'hold back' when doing my last apt-get update/upgrade. I'm curious, was the Raspberry Pi Gambas3 binary distribution built with a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the Pi? From gambas at ...2524... Fri Aug 10 11:56:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 09:56:47 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends In-Reply-To: <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Updates: Status: Fixed Owner: adrien.p... at ...626... Labels: -Version Version-TRUNK Comment #1 on issue 300 by adrien.p... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 Thanks for your report, the bug is fixed in revision #5025. From gambas.fr at ...626... Fri Aug 10 14:21:47 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 10 Aug 2012 14:21:47 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344542236.3572.4.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> <1344542236.3572.4.camel@...2901...> Message-ID: Then if you use only one connection you can use the last opened connection in all the project by using DB in the first form : Public $hConn as new Connection Public Sub _New() $hConn.host= $hConn.Name= $hConn.Type="sqlite" $hConn.Open Form2.Show End In Form2 : Public Sub Form_Open() dim hResult as Result hResult = DB.Find("mytable", "id=&1", 32) if hResult.Available then TextBox1.Text = hResult["field"] Else Message.Info("No result Found") endif end From gambas at ...2524... Fri Aug 10 14:38:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 12:38:19 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends In-Reply-To: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Comment #2 on issue 300 by uAle... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 I have tested it with my original code (extraction of the DomotiGa XMLRPC) and i can confirm it is solved now. Only i hit a compilation bug with the latest revision 5025. I will report this as a new bug. From jussi.lahtinen at ...626... Fri Aug 10 14:56:23 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 15:56:23 +0300 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: <1344558278.4970.3.camel@...2901...> References: <1344558278.4970.3.camel@...2901...> Message-ID: If Form.Visible is not what you need, then you can declare Opened boolean to form and set it true in Form_Open event. Jussi On 10 August 2012 03:24, rocko wrote: > Is there a way to check if a form is opened?? > > If Fmain.Open = True Then > do...something > endif > > I tries .Show but got an error. > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Aug 10 15:27:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 13:27:06 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" Message-ID: <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 302 by uAle... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5025 (if you use a development version) Operating system: Linux Distribution: Lubuntu ( LXDE) Architecture: x86 GUI component: QT4? / GTK+? Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. I run on r5025: ./reconf-all (success) ./configure -C (success) make (fails) The "make" output is as follows: /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0 -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -MT gb_gtk_la-gmouse.lo -MD -MP -MF .deps/gb_gtk_la-gmouse.Tpo -c -o gb_gtk_la-gmouse.lo `test -f 'gmouse.cpp' || echo './'`gmouse.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0 -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -MT gb_gtk_la-gmouse.lo -MD -MP -MF .deps/gb_gtk_la-gmouse.Tpo -c gmouse.cpp -fPIC -DPIC -o .libs/gb_gtk_la-gmouse.o gmouse.cpp: In static member function ?static int gMouse::getType()?: gmouse.cpp:233: error: ?gdk_device_get_source? was not declared in this scope make[5]: *** [gb_gtk_la-gmouse.lo] Error 1 make[5]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gambas3-r5025' make: *** [all] Error 2 This worked fine on gambas 3.2.1. I noticed new code has been added in "gmouse.cpp" which cases this "problem", when i restore the 3.2.1 version into the r5025 trunk, it compiles fine. All the buildlog are attached to this issue. 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: buildlog.tar.gz 34.9 KB From gambas at ...2524... Fri Aug 10 16:14:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:14:46 +0000 Subject: [Gambas-user] =?windows-1252?q?Issue_303_in_gambas=3A_rev_5025_ma?= =?windows-1252?q?ke_fails_with_=22gdk=5Fdevice=5Fget=5Fsource=92_w?= =?windows-1252?q?as_not_declared_in_this_scope=22?= Message-ID: <0-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 303 by sot... at ...626...: rev 5025 make fails with "gdk_device_get_source? was not declared in this scope" http://code.google.com/p/gambas/issues/detail?id=303 1) Describe the problem. make abort in gb.gtk/src 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=2.6.32-42-generic Architecture=x86_64 Memory=4059304 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 3] Version=3.2.90 rev # Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 3) Provide a little project that reproduces the bug or the crash. NA 4) If your project needs a database, try to provide it, or part of it. NA 5) Explain clearly how to reproduce the bug or the crash. NA 6) By doing that carefully, you have done 50% of the bug fix job! Attachments: 5025_make 495 KB From gambas at ...2524... Fri Aug 10 16:29:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:29:19 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Updates: Status: Started Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Is it fixed by revision #5026? Note: This 3.2.1, not 3.21! From gambas at ...2524... Fri Aug 10 16:30:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:30:19 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Comment #2 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Issue 303 has been merged into this issue. From gambas at ...2524... Fri Aug 10 16:31:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:31:19 +0000 Subject: [Gambas-user] =?windows-1252?q?Issue_303_in_gambas=3A_rev_5025_ma?= =?windows-1252?q?ke_fails_with_=22gdk=5Fdevice=5Fget=5Fsource=92_w?= =?windows-1252?q?as_not_declared_in_this_scope=22?= In-Reply-To: <0-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> Updates: Status: Duplicate Labels: -Version Version-TRUNK Mergedinto: 302 Comment #1 on issue 303 by benoit.m... at ...626...: rev 5025 make fails with "gdk_device_get_source? was not declared in this scope" http://code.google.com/p/gambas/issues/detail?id=303 (No comment was entered for this change.) From gambas at ...2524... Fri Aug 10 16:32:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:32:19 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #2 on issue 301 by benoit.m... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 Sorry, I don't understand a word of what you wrote. Can you try again? From gambas at ...2524... Fri Aug 10 16:33:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:33:19 +0000 Subject: [Gambas-user] Issue 282 in gambas: xmlreader.node.value charset problems In-Reply-To: <12-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> <0-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #13 on issue 282 by benoit.m... at ...626...: xmlreader.node.value charset problems http://code.google.com/p/gambas/issues/detail?id=282 Apparently it is fixed? From gambas at ...2524... Fri Aug 10 16:34:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:34:19 +0000 Subject: [Gambas-user] Issue 282 in gambas: xmlreader.node.value charset problems In-Reply-To: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> <0-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Comment #14 on issue 282 by Kokok... at ...626...: xmlreader.node.value charset problems http://code.google.com/p/gambas/issues/detail?id=282 Yes, thanks. From gambas at ...2524... Fri Aug 10 16:48:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:48:38 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Comment #3 on issue 302 by uAle... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Sorry, you're right, i meant 3.2.1. revision #5026 compiles successfully, thanks for fixing this one. From gambas at ...2524... Fri Aug 10 16:54:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:54:52 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 (No comment was entered for this change.) From sunblaster5 at ...626... Fri Aug 10 18:15:30 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:15:30 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <5024A9E7.9000504@...169...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> Message-ID: <1344615330.1993.10.camel@...2901...> Should the table name be in parenthesis?? I'm getting an error: "Unknown Identifier: inventory" sResult = $hConn.Find(inventory, "id = &1 ", ID) For Each sResult $date1 = sResult!endDate $date2 = sResult!startDate Print DateDiff($date1, $date2, gb.Day) On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > On 10/08/12 15:13, rocko wrote: > > I've read the help files and seen a lot of examples on how > > to add data to a table but I can' find any examples on how > > to get data from a table. > > > > I need to get total number of fields from a table. I've looked at: > > 'Property Read Count As Integer' in the Help file. > > Can i simply put this at the top of my class and then do a > > Print Count ?? > > > > I need the Count so i can iterate thru the fields and extract data, > > something like: > > For Each Count > > get specific field > > do something with field > > Next > > I suppose I could use the primary key ID as the For Each loop > > But not sure about that. > > > > > Try this > > myResult = dbcon.find(myTable, "id = &1",ID) > for each myResult > TextBox1.text = myResult!myField1 > TextBox2.text = myResult!myField2 > next > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Fri Aug 10 18:16:13 2012 From: charlie at ...2793... (Cogier) Date: Fri, 10 Aug 2012 09:16:13 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <50241C1F.6080805@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> <34278479.post@...1379...> <50241C1F.6080805@...221...> Message-ID: <34282627.post@...1379...> The InputBox problem does seem to relate to which desktop is being used. With regard to the "Button" problem - I am trying to find out more as if I create a new program and create "Button1" it all works as expected. It may be a conversion issue from Gambas 2 to 3. If I can reliably recreate the problem I will open a new thread. Thanks again for your help. Matti-4 wrote: > > Better open a new thread about gb3 and Mint and Ubuntu, because I don't > know > anything about that! > > Am 09.08.2012 20:20, schrieb Cogier: >> >> Thanks again Matti-4. >> >> I took your advice regarding Gambas3 and I love the new collapsible SUBs >> and >> the way that changing a button name automatically changes the code. >> >> BUT >> >> I have installed it on 2 machines one with Mint 13 and the other with >> Ubuntu >> 12.04 and in both cases the program will run but clicking on the >> "Buttons" >> has no effect. >> >> I installed it from the instructions on the Gambas site adding the PPA >> below >> and installing with APT-GET. >> http://ppa.launchpad.net/nemh/gambas3/ubuntu >> >> Am I doing something wrong? >> >> >> Matti-4 wrote: >>> >>> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it >>> isn't >>> centered. >>> Btw: you should update to gb3, it's much better! >>> >>> Example code for a ShowModal window: >>> >>> Create a form FMain with just two buttons (btnCancel and btnInput). >>> Then create a form FInput with the Text "What's your name?", a TextBox >>> (TextBox1) and two buttons (btnCancel and btnOK). >>> >>> The FMain code is: >>> >>> Public Sub Form_Open() >>> Me.Center >>> End >>> >>> Public Sub btnCancel_Click() >>> Me.Close >>> End >>> >>> Public Sub btnInput_Click() >>> FInput.ShowModal >>> If Me.Tag = "" Then >>> Print "User has cancelled." >>> Else >>> Print "The name is " & Me.Tag & "." >>> Endif >>> End >>> >>> The FInput code is: >>> >>> Public Sub btnCancel_Click() >>> FMain.Tag = "" >>> Me.Close >>> End >>> >>> Public Sub btnOK_Click() >>> FMain.Tag = TextBox1.Text >>> Me.Close >>> End >>> >>> Easy, isn't it? >>> >>> >>> >>> Am 07.08.2012 15:34, schrieb Cogier: >>>> >>>> Thanks for the reply Matti-4. >>>> >>>> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >>>> >>>> Can you give me any example code of the 'xyz.ShowModal'? >>>> >>>> Thanks for any help. >>>> >>>> >>>> Matti-4 wrote: >>>>> >>>>> What is your Gambas version and your environment? >>>>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly >>>>> centered. >>>>> >>>>> But as a workaround, you can easily create a tiny form for the input >>>>> and >>>>> open it >>>>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>>>> same >>>>> amount of code. >>>>> >>>>> >>>>> Am 06.08.2012 10:15, schrieb Cogier: >>>>>> >>>>>> Is there a way to centre the InputBox on the screen as I always see >>>>>> it >>>>>> in >>>>>> the >>>>>> top left hand corner and it is missed by the user? >>>>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. >>> Discussions >>> will include endpoint security, mobile security and the latest in >>> malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34282627.html Sent from the gambas-user mailing list archive at Nabble.com. From linuxos at ...1896... Fri Aug 10 18:18:23 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:18:23 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344615330.1993.10.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> Message-ID: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Yes, in parenthesis Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > Should the table name be in parenthesis?? > I'm getting an error: > "Unknown Identifier: inventory" > > sResult = $hConn.Find(inventory, "id = &1 ", ID) > For Each sResult > $date1 = sResult!endDate > $date2 = sResult!startDate > Print DateDiff($date1, $date2, gb.Day) > > On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >> On 10/08/12 15:13, rocko wrote: >>> I've read the help files and seen a lot of examples on how >>> to add data to a table but I can' find any examples on how >>> to get data from a table. >>> >>> I need to get total number of fields from a table. I've looked at: >>> 'Property Read Count As Integer' in the Help file. >>> Can i simply put this at the top of my class and then do a >>> Print Count ?? >>> >>> I need the Count so i can iterate thru the fields and extract data, >>> something like: >>> For Each Count >>> get specific field >>> do something with field >>> Next >>> I suppose I could use the primary key ID as the For Each loop >>> But not sure about that. >>> >>> >> Try this >> >> myResult = dbcon.find(myTable, "id = &1",ID) >> for each myResult >> TextBox1.text = myResult!myField1 >> TextBox2.text = myResult!myField2 >> next >> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Fri Aug 10 18:21:55 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:21:55 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Message-ID: <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> Sorry, in apostrophes. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:18, Olivier Cruilles a ?crit : > Yes, in parenthesis > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > >> Should the table name be in parenthesis?? >> I'm getting an error: >> "Unknown Identifier: inventory" >> >> sResult = $hConn.Find(inventory, "id = &1 ", ID) >> For Each sResult >> $date1 = sResult!endDate >> $date2 = sResult!startDate >> Print DateDiff($date1, $date2, gb.Day) >> >> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >>> On 10/08/12 15:13, rocko wrote: >>>> I've read the help files and seen a lot of examples on how >>>> to add data to a table but I can' find any examples on how >>>> to get data from a table. >>>> >>>> I need to get total number of fields from a table. I've looked at: >>>> 'Property Read Count As Integer' in the Help file. >>>> Can i simply put this at the top of my class and then do a >>>> Print Count ?? >>>> >>>> I need the Count so i can iterate thru the fields and extract data, >>>> something like: >>>> For Each Count >>>> get specific field >>>> do something with field >>>> Next >>>> I suppose I could use the primary key ID as the For Each loop >>>> But not sure about that. >>>> >>>> >>> Try this >>> >>> myResult = dbcon.find(myTable, "id = &1",ID) >>> for each myResult >>> TextBox1.text = myResult!myField1 >>> TextBox2.text = myResult!myField2 >>> next >>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Fri Aug 10 18:26:25 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:26:25 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Message-ID: <1344615985.1993.12.camel@...2901...> Should the 'ID' at the end be As Integer or Result?? I have it As Integer ATM, but nothing gets printed. On Fri, 2012-08-10 at 18:18 +0200, Olivier Cruilles wrote: > Yes, in parenthesis > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > > > Should the table name be in parenthesis?? > > I'm getting an error: > > "Unknown Identifier: inventory" > > > > sResult = $hConn.Find(inventory, "id = &1 ", ID) > > For Each sResult > > $date1 = sResult!endDate > > $date2 = sResult!startDate > > Print DateDiff($date1, $date2, gb.Day) > > > > On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > >> On 10/08/12 15:13, rocko wrote: > >>> I've read the help files and seen a lot of examples on how > >>> to add data to a table but I can' find any examples on how > >>> to get data from a table. > >>> > >>> I need to get total number of fields from a table. I've looked at: > >>> 'Property Read Count As Integer' in the Help file. > >>> Can i simply put this at the top of my class and then do a > >>> Print Count ?? > >>> > >>> I need the Count so i can iterate thru the fields and extract data, > >>> something like: > >>> For Each Count > >>> get specific field > >>> do something with field > >>> Next > >>> I suppose I could use the primary key ID as the For Each loop > >>> But not sure about that. > >>> > >>> > >> Try this > >> > >> myResult = dbcon.find(myTable, "id = &1",ID) > >> for each myResult > >> TextBox1.text = myResult!myField1 > >> TextBox2.text = myResult!myField2 > >> next > >> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Fri Aug 10 18:33:21 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:33:21 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> Message-ID: <1344616401.1993.16.camel@...2901...> Oh yes, I meant quotes, These: " " NOT These: () apostrophes gives an error: "Unexpected end of line" CODE: sResult = $hConn.Find("inventory", "id = &1 ", ID) For Each sResult $date1 = sResult!endDate $date2 = sResult!startDate Print DateDiff($date1, $date2, gb.Day) Next On Fri, 2012-08-10 at 18:21 +0200, Olivier Cruilles wrote: > Sorry, in apostrophes. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:18, Olivier Cruilles a ?crit : > > > Yes, in parenthesis > > > > > > Cordialement, > > > > Olivier Cruilles > > Mail: linuxos at ...1896... > > > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > > > >> Should the table name be in parenthesis?? > >> I'm getting an error: > >> "Unknown Identifier: inventory" > >> > >> sResult = $hConn.Find(inventory, "id = &1 ", ID) > >> For Each sResult > >> $date1 = sResult!endDate > >> $date2 = sResult!startDate > >> Print DateDiff($date1, $date2, gb.Day) > >> > >> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > >>> On 10/08/12 15:13, rocko wrote: > >>>> I've read the help files and seen a lot of examples on how > >>>> to add data to a table but I can' find any examples on how > >>>> to get data from a table. > >>>> > >>>> I need to get total number of fields from a table. I've looked at: > >>>> 'Property Read Count As Integer' in the Help file. > >>>> Can i simply put this at the top of my class and then do a > >>>> Print Count ?? > >>>> > >>>> I need the Count so i can iterate thru the fields and extract data, > >>>> something like: > >>>> For Each Count > >>>> get specific field > >>>> do something with field > >>>> Next > >>>> I suppose I could use the primary key ID as the For Each loop > >>>> But not sure about that. > >>>> > >>>> > >>> Try this > >>> > >>> myResult = dbcon.find(myTable, "id = &1",ID) > >>> for each myResult > >>> TextBox1.text = myResult!myField1 > >>> TextBox2.text = myResult!myField2 > >>> next > >>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> Live Security Virtual Conference > >>>> Exclusive live event will cover all the ways today's security and > >>>> threat landscape has changed and how IT managers can respond. Discussions > >>>> will include endpoint security, mobile security and the latest in malware > >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Live Security Virtual Conference > >>> Exclusive live event will cover all the ways today's security and > >>> threat landscape has changed and how IT managers can respond. Discussions > >>> will include endpoint security, mobile security and the latest in malware > >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From linuxos at ...1896... Fri Aug 10 18:34:18 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:34:18 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344615985.1993.12.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> <1344615985.1993.12.camel@...2901...> Message-ID: <9994AE81-8FF9-4233-BE68-4484B1EA84AA@...1896...> ID is same type of the id field Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:26, rocko a ?crit : > Should the 'ID' at the end be As Integer or Result?? > I have it As Integer ATM, but nothing gets printed. > > > > On Fri, 2012-08-10 at 18:18 +0200, Olivier Cruilles wrote: >> Yes, in parenthesis >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 10 ao?t 2012 ? 18:15, rocko a ?crit : >> >>> Should the table name be in parenthesis?? >>> I'm getting an error: >>> "Unknown Identifier: inventory" >>> >>> sResult = $hConn.Find(inventory, "id = &1 ", ID) >>> For Each sResult >>> $date1 = sResult!endDate >>> $date2 = sResult!startDate >>> Print DateDiff($date1, $date2, gb.Day) >>> >>> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >>>> On 10/08/12 15:13, rocko wrote: >>>>> I've read the help files and seen a lot of examples on how >>>>> to add data to a table but I can' find any examples on how >>>>> to get data from a table. >>>>> >>>>> I need to get total number of fields from a table. I've looked at: >>>>> 'Property Read Count As Integer' in the Help file. >>>>> Can i simply put this at the top of my class and then do a >>>>> Print Count ?? >>>>> >>>>> I need the Count so i can iterate thru the fields and extract data, >>>>> something like: >>>>> For Each Count >>>>> get specific field >>>>> do something with field >>>>> Next >>>>> I suppose I could use the primary key ID as the For Each loop >>>>> But not sure about that. >>>>> >>>>> >>>> Try this >>>> >>>> myResult = dbcon.find(myTable, "id = &1",ID) >>>> for each myResult >>>> TextBox1.text = myResult!myField1 >>>> TextBox2.text = myResult!myField2 >>>> next >>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Live Security Virtual Conference >>>>> Exclusive live event will cover all the ways today's security and >>>>> threat landscape has changed and how IT managers can respond. Discussions >>>>> will include endpoint security, mobile security and the latest in malware >>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> >>>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Live Security Virtual Conference >>>> Exclusive live event will cover all the ways today's security and >>>> threat landscape has changed and how IT managers can respond. Discussions >>>> will include endpoint security, mobile security and the latest in malware >>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From fulippo_fulippo at ...152... Fri Aug 10 18:54:36 2012 From: fulippo_fulippo at ...152... (fulippo_fulippo at ...152...) Date: Fri, 10 Aug 2012 18:54:36 +0200 (CEST) Subject: [Gambas-user] Printer code request Message-ID: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Dear All I need to send to the printer the active window , or at least all the screen contents , i searched on web but i find poor thinks Thank you in advances Francesco Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/ From emil.lenngren at ...626... Fri Aug 10 19:07:42 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 10 Aug 2012 19:07:42 +0200 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <1344591833.8613.14.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> Message-ID: 2012/8/10 John Spikowski > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > Pi? > > There is not a single "the gambas3 binary distribution", but one for each distro. I think most of them are cross-compiled, because there is no reason to compile directly on the Pi. As long as the same compiler is used on both machines, identical machine code should be produced. I can recommend a program called "distcc" which replaces the gcc program on the Pi with another that calls gcc with arm target on a remote computer on the network. All preprocessing, linking etc. is done on the Pi, so include files and libraries do not need to be available on the remote machine, only on the Pi. "crosstool-ng" can be used to set up a cross-compiler. /Emil From sunblaster5 at ...626... Fri Aug 10 19:14:48 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 10:14:48 -0700 Subject: [Gambas-user] Update DataView?? Message-ID: <1344618888.1993.20.camel@...2901...> Is it possible to update a dataview in realtime? I Have an SQlite database that i acces with a dataSource and dataview. I have a form that enables users to add records to the database, But the dataview doesn't update untill i re-run the program. I would like to have the dataview update when it adds a record. Iv'e tried this: DataView1.Update but that gives an error. Do I have to update the DataSource first?? From support at ...2529... Fri Aug 10 20:26:20 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 11:26:20 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> Message-ID: <1344623180.8613.25.camel@...1833...> On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > 2012/8/10 John Spikowski > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > Pi? > > > > > There is not a single "the gambas3 binary distribution", but one for each > distro. I think most of them are cross-compiled, because there is no reason > to compile directly on the Pi. As long as the same compiler is used on both > machines, identical machine code should be produced. > > I can recommend a program called "distcc" which replaces the gcc program on > the Pi with another that calls gcc with arm target on a remote computer on > the network. All preprocessing, linking etc. is done on the Pi, so include > files and libraries do not need to be available on the remote machine, only > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > /Emil I guess I have different goals. I'm trying to build a native ARM development environment. Android Linux is too restrictive and the chroot option seems to be just what I'm looking for. I was able to get the auto* tools compiled last night on my SGT2_10.1 and will try a test compile of Gambas3 from svn trunk today. From jussi.lahtinen at ...626... Fri Aug 10 20:48:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 21:48:52 +0300 Subject: [Gambas-user] Printer code request In-Reply-To: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Message-ID: See Barcode example for how to send things to printer. And this for how to take screenshot: http://gambasdoc.org/help/comp/gb.qt4/desktop/screenshot?v3 Jussi On 10 August 2012 19:54, fulippo_fulippo at ...152... < fulippo_fulippo at ...152...> wrote: > Dear All > > I need to send to the printer the active window , or at least > all the screen contents , i searched on web but i find poor thinks > > > Thank you in advances > > Francesco > > > Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? > di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! > Un amico al mese e parli e navighi sempre gratis: > http://freelosophy.tiscali.it/ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Sat Aug 11 01:20:09 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 16:20:09 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344623180.8613.25.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> Message-ID: <1344640809.8613.28.camel@...1833...> On Fri, 2012-08-10 at 11:26 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > > 2012/8/10 John Spikowski > > > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > > Pi? > > > > > > > > There is not a single "the gambas3 binary distribution", but one for each > > distro. I think most of them are cross-compiled, because there is no reason > > to compile directly on the Pi. As long as the same compiler is used on both > > machines, identical machine code should be produced. > > > > I can recommend a program called "distcc" which replaces the gcc program on > > the Pi with another that calls gcc with arm target on a remote computer on > > the network. All preprocessing, linking etc. is done on the Pi, so include > > files and libraries do not need to be available on the remote machine, only > > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > > > /Emil > > I guess I have different goals. > > I'm trying to build a native ARM development environment. Android Linux > is too restrictive and the chroot option seems to be just what I'm > looking for. > > I was able to get the auto* tools compiled last night on my SGT2_10.1 > and will try a test compile of Gambas3 from svn trunk today. I'm having a problem getting the mysql-client-dev requirement for Gambas install on Ubuntu ARM. (see attached screen shot) Any ideas how to get around this? -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql-client-dev.png Type: image/png Size: 228543 bytes Desc: not available URL: From gambas at ...1... Sat Aug 11 01:30:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 01:30:06 +0200 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <501E4A23.5090708@...1823...> References: <501E4A23.5090708@...1823...> Message-ID: <5025997E.3040000@...1...> Le 05/08/2012 12:25, richard a ?crit : > Hi, > > I wondered if there was any way to programatically set the height of the > drop down list which pops up when the combo box is clicked? > > Regards > > richard > I don't think so. -- Beno?t Minisini From gambas at ...1... Sat Aug 11 01:57:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 01:57:12 +0200 Subject: [Gambas-user] FreeMono Font Segfault In-Reply-To: <20120731143220.GA513@...2774...> References: <20120730185308.GE500@...2774...> <5016E8FF.5060808@...1...> <20120731143220.GA513@...2774...> Message-ID: <50259FD8.6030100@...1...> Le 31/07/2012 16:32, Tobias Boege a ?crit : > On Mon, 30 Jul 2012, Beno??t Minisini wrote: >> Le 30/07/2012 20:53, Tobias Boege a ??crit : >>> Hi Beno???t, >>> >>> I have one potential bug from Hans pending for some weeks now - I could not >>> reproduce the others from him when I finally brought myself to boot this >>> slow graphical Ubuntu from USB this afternoon... >>> >>> One (potential) bug, however was reproducable, though. There is nothing >>> special on the Form, just one TextEdit and a Button to trigger the action. >>> As you can see, I have used Qt: >>> >>> tobias at ...1008...:~/Gambas3_Projekte/test$ cat .src/FMain.class >>> ' Gambas class file >>> >>> Public Sub Button1_Click() >>> TextEdit1.Format.Alignment = Align.Center >>> TextEdit1.Format.Color = Color.Red >>> TextEdit1.Format.Background = Color.LightGray >>> TextEdit1.Format.Font = Font["FreeMono"] >>> End >> >> Can you send me your little project by mail anyway? >> >> -- >> Beno??t Minisini >> > > Of course. Here it is. > The bug should be fixed in revision #5027. Regards, -- Beno?t Minisini From support at ...2529... Sat Aug 11 03:20:01 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 18:20:01 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344640809.8613.28.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> Message-ID: <1344648001.8613.31.camel@...1833...> On Fri, 2012-08-10 at 16:20 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 11:26 -0700, John Spikowski wrote: > > On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > > > 2012/8/10 John Spikowski > > > > > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > > > Pi? > > > > > > > > > > > There is not a single "the gambas3 binary distribution", but one for each > > > distro. I think most of them are cross-compiled, because there is no reason > > > to compile directly on the Pi. As long as the same compiler is used on both > > > machines, identical machine code should be produced. > > > > > > I can recommend a program called "distcc" which replaces the gcc program on > > > the Pi with another that calls gcc with arm target on a remote computer on > > > the network. All preprocessing, linking etc. is done on the Pi, so include > > > files and libraries do not need to be available on the remote machine, only > > > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > > > > > /Emil > > > > I guess I have different goals. > > > > I'm trying to build a native ARM development environment. Android Linux > > is too restrictive and the chroot option seems to be just what I'm > > looking for. > > > > I was able to get the auto* tools compiled last night on my SGT2_10.1 > > and will try a test compile of Gambas3 from svn trunk today. > > I'm having a problem getting the mysql-client-dev requirement for Gambas > install on Ubuntu ARM. (see attached screen shot) > > Any ideas how to get around this? I have hit the wall with the libmysqlclient-dev install issue on ARM. If someone has a solution then I will continue on with trying to get a Ubuntu native ARM of Gambas3 compiled. This is going on the 'back burner' until then. From support at ...2529... Sat Aug 11 04:05:17 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 19:05:17 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344648001.8613.31.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> Message-ID: <1344650717.8613.35.camel@...1833...> On Fri, 2012-08-10 at 18:20 -0700, John Spikowski wrote: > > > > I'm having a problem getting the mysql-client-dev requirement for Gambas > > install on Ubuntu ARM. (see attached screen shot) > > > > Any ideas how to get around this? > This seems to be a know issue with MySQL 5.1 and Ubuntu 10.04 LTS. http://kb.askmonty.org/en/ubuntu-1004-lts-server-now-a-package-conflict-with-libmysqlclient16/ Before going the MariaDB 5.2, to try and solve this, can I assume this has been fixed in later versions of Ubuntu and the Pi build compiled without issues. I was worried about using a Ubuntu build so old. From support at ...2529... Sat Aug 11 04:21:02 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 19:21:02 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344650717.8613.35.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> <1344650717.8613.35.camel@...1833...> Message-ID: <1344651662.8613.38.camel@...1833...> On Fri, 2012-08-10 at 19:05 -0700, John Spikowski wrote: > This seems to be a know issue with MySQL 5.1 and Ubuntu 10.04 LTS. > > http://kb.askmonty.org/en/ubuntu-1004-lts-server-now-a-package-conflict-with-libmysqlclient16/ > > Before going the MariaDB 5.2, to try and solve this, can I assume this > has been fixed in later versions of Ubuntu and the Pi build compiled > without issues. I was worried about using a Ubuntu build so old. I decided to start over with a later version of Ubuntu ARM as my chroot image. I'll post something here if I make any progress. From support at ...2529... Sat Aug 11 07:14:17 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 22:14:17 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344651662.8613.38.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> <1344650717.8613.35.camel@...1833...> <1344651662.8613.38.camel@...1833...> Message-ID: <1344662057.8613.42.camel@...1833...> On Fri, 2012-08-10 at 19:21 -0700, John Spikowski wrote: > I decided to start over with a later version of Ubuntu ARM as my chroot > image. I'll post something here if I make any progress. I have Ubuntu ARM 12.05 LTS running on the SGT2_10.1 under Android. I tried to install the Pi build with the same libffi issue as before. There are missing tools and libraries apt-get wasn't able to find. (I may need to build them from source again) -------------- next part -------------- A non-text attachment was scrubbed... Name: Ubuntu_12.04_ARM.png Type: image/png Size: 373518 bytes Desc: not available URL: From rterry at ...1823... Sat Aug 11 08:42:26 2012 From: rterry at ...1823... (richard) Date: Sat, 11 Aug 2012 16:42:26 +1000 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <5025997E.3040000@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> Message-ID: <5025FED2.7030503@...1823...> On 11/08/12 09:30, Beno?t Minisini wrote: > Le 05/08/2012 12:25, richard a ?crit : >> Hi, >> >> I wondered if there was any way to programatically set the height of the >> drop down list which pops up when the combo box is clicked? >> >> Regards >> >> richard >> > I don't think so. > Thanks, its a pity there is option to auto-size a combo height - its a nuisance to have to scroll down a longish list regards richard From gambas at ...1... Sat Aug 11 08:51:51 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 08:51:51 +0200 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <5025FED2.7030503@...1823...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> Message-ID: <50260107.9060006@...1...> Le 11/08/2012 08:42, richard a ?crit : > On 11/08/12 09:30, Beno?t Minisini wrote: >> Le 05/08/2012 12:25, richard a ?crit : >>> Hi, >>> >>> I wondered if there was any way to programatically set the height of the >>> drop down list which pops up when the combo box is clicked? >>> >>> Regards >>> >>> richard >>> >> I don't think so. >> > Thanks, its a pity there is option to auto-size a combo height - its a > nuisance to have to scroll down a longish list > > regards > > richard > When you have a *lot* of options, you should not use a ComboBox. -- Beno?t Minisini From rterry at ...1823... Sat Aug 11 09:38:41 2012 From: rterry at ...1823... (richard) Date: Sat, 11 Aug 2012 17:38:41 +1000 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <50260107.9060006@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> <50260107.9060006@...1...> Message-ID: <50260C01.1050404@...1823...> On 11/08/12 16:51, Beno?t Minisini wrote: > Le 11/08/2012 08:42, richard a ?crit : >> On 11/08/12 09:30, Beno?t Minisini wrote: >>> Le 05/08/2012 12:25, richard a ?crit : >>>> Hi, >>>> >>>> I wondered if there was any way to programatically set the height of the >>>> drop down list which pops up when the combo box is clicked? >>>> >>>> Regards >>>> >>>> richard >>>> >>> I don't think so. >>> >> Thanks, its a pity there is option to auto-size a combo height - its a >> nuisance to have to scroll down a longish list >> >> regards >> >> richard >> > When you have a *lot* of options, you should not use a ComboBox. > Yes of course, but if you have just a few too many it becomes annoying. richard From bbruen at ...2308... Sat Aug 11 09:53:05 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 11 Aug 2012 17:23:05 +0930 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <50260107.9060006@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> <50260107.9060006@...1...> Message-ID: <1344671585.28244.22.camel@...40...> On Sat, 2012-08-11 at 08:51 +0200, Beno?t Minisini wrote: > > When you have a *lot* of options, you should not use a ComboBox. > This is very interesting. We have 579 Thoroughbred Auction Houses registered for our system, each has a 4 letter identifier (just like 3 letter airport codes only bigger and better!). I have tried various solutions to the user selecting a particular house and none seem to have the same useability as the combo box (and that observation is supported by user comments on the other mechanisms we have tried). These "house" combo boxes appear in about 20 to 30 forms in the mainstream system. Our users report that it is reasonably easy to learn the codes and use the combo boxes by typing the first letter of the code they want when the combo dropdown is displayed. Even when they don't remember the code for some of the less frequently active houses, it is reasonably easy to scroll around after typing that first letter. The one thing that they continually ask for is that we "slow down" the typing response so they can pick a second letter to narrow the search. As an example in the "s" area we have (something like) SBYN (Strathalbyn) SCCT (Sunshine Coast Thoroughbreds) SCPF (Sunshine Coast Private) SDGT (Sandown General Trading) SDG2 (Sandown General Trading - 2YO) SDG3 (Sandown General Trading - 3YO) SDG4 (Sandown General Trading - 4YO) SDGO (Sandown General Trading - Other) SENT (South East NSW Thoroughbreds) In other words, the code part allows those users who know the codes *and* can type quick enough, an easy way to get to within a bulls roar of the one they want in the combobox. Those who don't know or who cant remember the code for a less used house keep asking for a way to go through the dropdown at "two finger typing speed". I have never found a way to achieve that, so I'll ask the question: Is there a way (in gb.qt4) to slow down the rate at which the combo box reacts to keystrokes? regards Bruce From gambas.fr at ...626... Sat Aug 11 10:38:07 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 10:38:07 +0200 Subject: [Gambas-user] Update DataView?? In-Reply-To: <1344618888.1993.20.camel@...2901...> References: <1344618888.1993.20.camel@...2901...> Message-ID: 2012/8/10 rocko > Is it possible to update a dataview in realtime? > I Have an SQlite database that i acces with a dataSource > and dataview. > I have a form that enables users to add records to the database, > But the dataview doesn't update untill i re-run the program. > > I would like to have the dataview update when it adds a record. > Iv'e tried this: > DataView1.Update but that gives an error. > Do I have to update the DataSource first?? > normally it will be update... what error do you have ? > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From charles at ...1784... Sat Aug 11 11:38:18 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 02:38:18 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Message-ID: <34285144.post@...1379...> Jussi Lahtinen wrote: > > See Barcode example for how to send things to printer. > My barcode example only printed from Gambas2. I did submit a Gambas3 version to the mailing list that did print from Gambas 3 but it never made it into the source repository. I see the source version of the barcode example in G3 has been recently hacked to exclude the printing ('cos it didn't work!) Here is the printing G3 Barcode source. http://old.nabble.com/file/p34285144/BarcodeG3-0.0.5.tar.gz BarcodeG3-0.0.5.tar.gz -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285144.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 11 11:39:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 11:39:52 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285144.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> Message-ID: <50262868.7030102@...1...> Le 11/08/2012 11:38, charlesg a ?crit : > > > Jussi Lahtinen wrote: >> >> See Barcode example for how to send things to printer. >> > > My barcode example only printed from Gambas2. I did submit a Gambas3 version > to the mailing list that did print from Gambas 3 but it never made it into > the source repository. I don't remember. When? > > I see the source version of the barcode example in G3 has been recently > hacked to exclude the printing ('cos it didn't work!) > > Here is the printing G3 Barcode source. > > http://old.nabble.com/file/p34285144/BarcodeG3-0.0.5.tar.gz > BarcodeG3-0.0.5.tar.gz > Your file is unreadable. Please join it to your post as a normal attachment. Regards, -- Beno?t Minisini From charles at ...1784... Sat Aug 11 11:58:29 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 02:58:29 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: <50262868.7030102@...1...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> Message-ID: <34285191.post@...1379...> Beno?t Minisini wrote: > > I don't remember. When? > Your file is unreadable. Please join it to your post as a normal > attachment. > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has been deleted. I seem to remember you found fault with something. Perhaps you expected me to correct it but I couldn't because I couldn't understand the problem! I use Nabble and cannot for the life of me find how to attach a file. I send again as a tar rather than a gz http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tar BarcodeG3-0.0.5.tar -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285191.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 11 12:16:41 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 11 Aug 2012 12:16:41 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285191.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> Message-ID: <50263109.7080202@...1...> Le 11/08/2012 11:58, charlesg a ?crit : > > > Beno?t Minisini wrote: >> >> I don't remember. When? >> Your file is unreadable. Please join it to your post as a normal >> attachment. >> > > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has > been deleted. I seem to remember you found fault with something. Perhaps you > expected me to correct it but I couldn't because I couldn't understand the > problem! > > I use Nabble and cannot for the life of me find how to attach a file. I send > again as a tar rather than a gz > > http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tar BarcodeG3-0.0.5.tar > I found it. I had found that bug: > The "Case" tests in ChkInput method are incorrect: > > Select Key.Code > Case (key["n"] Or Key["N"]) And Key.Alt > > does not mean: > > If (Key.Code = Key["n"] Or Key.Code = Key["N"]) And Key.Alt > > but: > > If Key.Code = ((Key["n"] Or Key["N"]) And Key.Alt) > > And if you want to check against an alphabetic key, you should use Key.Text, > not Key.Code. But you didn't answer. As the version didn't change, I guess you didn't fix it. Could you? -- Beno?t Minisini From lists at ...2828... Sat Aug 11 12:26:25 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 12:26:25 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <4FC78084.6000001@...1950...> Message-ID: <000001cd77ab$c6400610$0f00a8c0@...2829...> Noticed a very high CPU usage when using the serialport on a Raspberry Pi running Debian Squeeze and trying to understand whats causing it... Just opening the serialport in the SerialPort demo takes 12-26% depending on if using the built in serialport (/dev/ttyAMA0) or if using a standard USB to TLL converter (/dev/ttyUSB0) Serial Port Demo - /dev/ttyAMA0 opened @ 9600 8N1 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 22287 christer 20 0 30720 9284 7504 S 12.0 3.9 0:09.30 gbr3 /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas Serial Port Demo - /dev/ttyUSB0 opened @ 9600 8N1. PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 23970 christer 20 0 30852 9372 7524 S 26.0 4.0 1:05.15 gbr3 /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas Above readings are from htop and attached are also a screenshot showing the CPU graph in Xfce. Are anyone of you other Raspberry Pi users experiencing the same? The serialport seems to work OK (at least on 9600 8N1) but it seems quite wierd that so much CPU is used just for listening on a serialport, any ideas? /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: High CPU use when using serialport.png Type: image/png Size: 58648 bytes Desc: not available URL: From gambas at ...1... Sat Aug 11 12:57:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 12:57:41 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000001cd77ab$c6400610$0f00a8c0@...2829...> References: <000001cd77ab$c6400610$0f00a8c0@...2829...> Message-ID: <50263AA5.4030507@...1...> Le 11/08/2012 12:26, Christer Johansson a ?crit : > Noticed a very high CPU usage when using the serialport on a > Raspberry Pi running Debian Squeeze and trying to understand > whats causing it... > > Just opening the serialport in the SerialPort demo takes 12-26% > depending on if using the built in serialport (/dev/ttyAMA0) or > if using a standard USB to TLL converter (/dev/ttyUSB0) > > Serial Port Demo - /dev/ttyAMA0 opened @ 9600 8N1 > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 22287 christer 20 0 30720 9284 7504 S 12.0 3.9 0:09.30 gbr3 > /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas > > Serial Port Demo - /dev/ttyUSB0 opened @ 9600 8N1. > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 23970 christer 20 0 30852 9372 7524 S 26.0 4.0 1:05.15 gbr3 > /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas > > Above readings are from htop and attached are also a screenshot > showing the CPU graph in Xfce. > > Are anyone of you other Raspberry Pi users experiencing the same? > > The serialport seems to work OK (at least on 9600 8N1) but it seems > quite wierd that so much CPU is used just for listening on a serialport, > any ideas? > > /CJ > As the SerialPort example asks for DTR, RNG, ... Change events, the gb.net component watches if serial port file device is ready for writing and uses that to watch the serial port signals. So I guess the watch callback is called again and again (i.e. the serial port device is always ready for writing). There is a one millisecond sleep inside the callback so that not to much CPU is consumed, but RPi is a slow machine. To confirm that, can you use gdb to run the exemple, hit CTRL+C during the high CPU usage, and show me what the backtrace is then? Thanks in advance. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 11 13:43:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 14:43:52 +0300 Subject: [Gambas-user] Printer code request In-Reply-To: <50263109.7080202@...1...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> Message-ID: Hints... ((Key["n"] Or Key["N"]) And Key.Alt) Here "Or" and "And" are bitwise operators. Example: Key["a"] = 65 Key["b"] = 66 And so... (Key["a"] Or Key["b"]) = 67 Also Key["n"] and Key["N"] have same value (78). But, (Key["n"] And Key.Alt) will work as long as Key.Code = 0 is not passed. When Key.Alt = False ? (Key["n"] And Key.Alt) 0 When Key.Alt = True ? (Key["n"] And Key.Alt) 78 Jussi On 11 August 2012 13:16, Beno?t Minisini wrote: > Le 11/08/2012 11:58, charlesg a ?crit : > > > > > > Beno?t Minisini wrote: > >> > >> I don't remember. When? > >> Your file is unreadable. Please join it to your post as a normal > >> attachment. > >> > > > > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it > has > > been deleted. I seem to remember you found fault with something. Perhaps > you > > expected me to correct it but I couldn't because I couldn't understand > the > > problem! > > > > I use Nabble and cannot for the life of me find how to attach a file. I > send > > again as a tar rather than a gz > > > > http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tarBarcodeG3-0.0.5.tar > > > > I found it. I had found that bug: > > > The "Case" tests in ChkInput method are incorrect: > > > > Select Key.Code > > Case (key["n"] Or Key["N"]) And Key.Alt > > > > does not mean: > > > > If (Key.Code = Key["n"] Or Key.Code = Key["N"]) And Key.Alt > > > > but: > > > > If Key.Code = ((Key["n"] Or Key["N"]) And Key.Alt) > > > > And if you want to check against an alphabetic key, you should use > Key.Text, > > not Key.Code. > > But you didn't answer. As the version didn't change, I guess you didn't > fix it. Could you? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Aug 11 13:47:10 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 13:47:10 +0200 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: References: <1344558278.4970.3.camel@...2901...> Message-ID: Or simply: If FMain then If fmain is not used then it is not instanciate so its value must be null... I think... Another way can be to add a static value to fmain 'in fmain Static Private $iCnt as integer Property Read IsOpened as boolean PUblic sub _New() inc $iCnt endif Public sub Form_Close() dec $iCnt end Static Public Function IsOpened_Read() as Boolean Return $iCnt >0 end 'so in form 2 you can call : if FMain.IsOpened then ... From charles at ...1784... Sat Aug 11 14:12:08 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 05:12:08 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> Message-ID: <34285575.post@...1379...> Jussi Lahtinen wrote: > > Hints... > > ((Key["n"] Or Key["N"]) And Key.Alt) > > Here "Or" and "And" are bitwise operators. > AAHH! Thanks. I will correct. -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285575.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Aug 11 14:35:59 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 14:35:59 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285575.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> <34285575.post@...1379...> Message-ID: And how to print a screenshot with gb.report: the code : Public Sub Button1_Click() Dim hImg As Image Dim hReport As New Report Dim hReportLabel As New ReportLabel(hreport) Dim hRepImg As New ReportImage(hReport) hreport.Orientation = Printer.Landscape hreport.Padding = ReportPadding["2 cm"] hReport.Spacing = "1 cm" hImg = Desktop.Screenshot().Image hReportLabel.Text = "MyScreenSHot" hReportLabel.Autoresize = True hReportLabel.Alignment = Align.Center hReportLabel.Font.Size = 24 hRepImg.Image = hImg hRepImg.Autoresize = True hRepImg.Stretch = Report.Proportional hRepImg.Expand = True hReport.Preview End Well i can do more short (no formating) dim hImg as new reportimage(report) hImg.Image = desktop.screenshot() himg.strech=report.proportional himg.expand=true report.preview() -------------- next part -------------- A non-text attachment was scrubbed... Name: report_screenshot-0.0.1.tar.gz Type: application/x-gzip Size: 4891 bytes Desc: not available URL: From gambas.fr at ...626... Sat Aug 11 14:43:18 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 14:43:18 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> <34285575.post@...1379...> Message-ID: a version with simply a report designed by the report designer . I use the report_data event so the image is updated at each redraw (zoom, move), but the image can be intialized in the _new event. with Reportimage1.image = desktop.screenshot().image -------------- next part -------------- A non-text attachment was scrubbed... Name: report_screenshot-0.0.2.tar.gz Type: application/x-gzip Size: 5120 bytes Desc: not available URL: From lists at ...2828... Sat Aug 11 15:12:05 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:12:05 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50263AA5.4030507@...1...> Message-ID: <000001cd77c3$086c0f40$0f00a8c0@...2829...> > From: Beno?t Minisini [mailto:gambas at ...1...] > > As the SerialPort example asks for DTR, RNG, ... Change events, the > gb.net component watches if serial port file device is ready for writing > and uses that to watch the serial port signals. > > So I guess the watch callback is called again and again (i.e. the serial > port device is always ready for writing). There is a one millisecond > sleep inside the callback so that not to much CPU is consumed, but RPi > is a slow machine. Thanks for the input Beno?t, however what I find strange is that when I test the same code (a simple CLI only opening /dev/ttyUSB0) on my other ARM SBC running Debian Lenny it consumes close to nothing (i.e htop shows CPU% as 0.0% all the time) using the serialport, below is stat from my NSA-220 and the listed "gateway" process have been running for several weeks... PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 30456 root 15 0 13336 2072 724 R 0.0 1.6 0:12.48 gbr3 ./gateway.gambas And the ARM CPU in NSA-220 is quite a bit weaker than the one in RasPi, just for reference something like 330 vs 790 BogoMIPS so something strange is going on, maybe it's something with the RasPi HW?? > To confirm that, can you use gdb to run the exemple, hit > CTRL+C during the high CPU usage, and show me what the backtrace is then? Hope I did things correctly and it helps you to get some clues? christer at ...2912...:~/Gambas 3/Projekt/SerialPort$ gdb gbx3 GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbx3...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] ^C Program received signal SIGINT, Interrupt. 0x400efcfc in nanosleep () from /lib/libpthread.so.0 (gdb) bt #0 0x400efcfc in nanosleep () from /lib/libpthread.so.0 #1 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so #2 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Also attaches a screenshot... /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshotwin_15-09-41.png Type: image/png Size: 103450 bytes Desc: not available URL: From lists at ...2828... Sat Aug 11 15:21:27 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:21:27 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50263AA5.4030507@...1...> Message-ID: <000001cd77c4$391141a0$0f00a8c0@...2829...> > From: Beno?t Minisini [mailto:gambas at ...1...] > > To confirm that, can you use gdb to run the exemple, hit > CTRL+C during the high CPU usage, and show me what the backtrace is then? Sorry I forgott to include system info, test was done in 3.1.1 but also happend in 3.2.1. [System] OperatingSystem=Linux Kernel=3.1.9+ Architecture=armv6l Memory=236872 kB DistributionVendor=debian DistributionRelease=6.0.5 Desktop=Xfce [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.3 GTK+=libgtk-x11-2.0.so.0.2000.1 /CJ From gambas at ...1... Sat Aug 11 15:24:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 15:24:58 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000001cd77c3$086c0f40$0f00a8c0@...2829...> References: <000001cd77c3$086c0f40$0f00a8c0@...2829...> Message-ID: <50265D2A.5030106@...1...> Le 11/08/2012 15:12, Christer Johansson a ?crit : > > >> From: Beno?t Minisini [mailto:gambas at ...1...] >> >> As the SerialPort example asks for DTR, RNG, ... Change events, the >> gb.net component watches if serial port file device is ready for writing >> and uses that to watch the serial port signals. >> >> So I guess the watch callback is called again and again (i.e. the serial >> port device is always ready for writing). There is a one millisecond >> sleep inside the callback so that not to much CPU is consumed, but RPi >> is a slow machine. > > Thanks for the input Beno?t, however what I find strange is that when I test > the same code (a simple CLI only opening /dev/ttyUSB0) on my other ARM > SBC running Debian Lenny it consumes close to nothing (i.e htop shows CPU% > as 0.0% all the time) using the serialport, below is stat from my NSA-220 > and > the listed "gateway" process have been running for several weeks... > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 30456 root 15 0 13336 2072 724 R 0.0 1.6 0:12.48 gbr3 > ./gateway.gambas > > And the ARM CPU in NSA-220 is quite a bit weaker than the one in RasPi, > just for reference something like 330 vs 790 BogoMIPS so something strange > is going on, maybe it's something with the RasPi HW?? > >> To confirm that, can you use gdb to run the exemple, hit >> CTRL+C during the high CPU usage, and show me what the backtrace is then? > > Hope I did things correctly and it helps you to get some clues? > > christer at ...2912...:~/Gambas 3/Projekt/SerialPort$ gdb gbx3 > GNU gdb (GDB) 7.0.1-debian > Copyright (C) 2009 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "arm-linux-gnueabi". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/gbx3...(no debugging symbols found)...done. > (gdb) run > Starting program: /usr/bin/gbx3 > [Thread debugging using libthread_db enabled] > ^C > Program received signal SIGINT, Interrupt. > 0x400efcfc in nanosleep () from /lib/libpthread.so.0 > (gdb) bt > #0 0x400efcfc in nanosleep () from /lib/libpthread.so.0 > #1 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so > #2 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > (gdb) > > Also attaches a screenshot... > > /CJ > Can you try: 1) By using gb.qt4 instead of gb.gtk? 2) By commenting all SPort1_xxxChange event handlers in the example source code? -- Beno?t Minisini From lists at ...2828... Sat Aug 11 15:34:49 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:34:49 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50265D2A.5030106@...1...> Message-ID: <000001cd77c6$17d509c0$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > Can you try: > > 1) By using gb.qt4 instead of gb.gtk? > > 2) By commenting all SPort1_xxxChange event handlers in the example > source code? I will try later today but since the same problem exists in CLI program I doubt it lies in the GUI part. I'm a bit unsure how I change from gb.gtk to gb.qt4 in the existing SerialPort demo? Do I just change used components in Project > Properties > Components? /CJ From lists at ...2828... Sat Aug 11 15:58:51 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:58:51 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50265D2A.5030106@...1...> Message-ID: <000101cd77c9$73277530$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > 2) By commenting all SPort1_xxxChange event handlers in the example > source code? Bingo! This improved things alot... Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as expected. Will do some more testing with USB to TTL adapter when I get back... /CJ From gambas at ...2524... Sat Aug 11 16:25:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:25:54 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) Message-ID: <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 1) Describe the problem. gambas3 r5027 (and r5025 and r5026) segmentation fault signal 11 Attached is the backtrace of gdb gambas3 3.2.1 works fine with the same code. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5027 Operating system: Linux Distribution: Lubuntu 10.04 Architecture: x86 GUI component: QT4 Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Backtrace is attached 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: bt-20120811-r5027.txt 6.8 KB From gambas at ...2524... Sat Aug 11 16:32:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:32:15 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 304 by benoit.m... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 OK, we have the backtrace. But we have no idea of what does the code you run! From gambas at ...2524... Sat Aug 11 16:33:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:33:15 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Labels: -Type-Bug Type-Crash Comment #2 on issue 304 by benoit.m... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 (No comment was entered for this change.) From gambas at ...2524... Sat Aug 11 16:35:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:35:16 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #3 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi Benoit, i am running DomotiGa (www.domotiga.nl) 0.1.209 under gambas3. The issue seems to be in the XMLRPC (server) component. I will try to find a better reproduction scenario. From gambas at ...2524... Sat Aug 11 16:40:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:40:37 +0000 Subject: [Gambas-user] Issue 145 in gambas: SIGSEGV (#11) In-Reply-To: <5-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> <0-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 145 by benoit.m... at ...626...: SIGSEGV (#11) http://code.google.com/p/gambas/issues/detail?id=145 According to another Gambas user, this crash does not occur with Ubuntu 12.04 and the same version of Gambas. So maybe it is a bug in Ubuntu... I mark the bug as "WontFix". Please open a new issue if you get the same bug with a recent Ubuntu (or another distribution). From gambas at ...1... Sat Aug 11 16:40:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 16:40:58 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000101cd77c9$73277530$0f00a8c0@...2829...> References: <000101cd77c9$73277530$0f00a8c0@...2829...> Message-ID: <50266EFA.3020506@...1...> Le 11/08/2012 15:58, Christer Johansson a ?crit : > > >> -----Original Message----- >> From: Beno?t Minisini [mailto:gambas at ...1...] >> >> 2) By commenting all SPort1_xxxChange event handlers in the example >> source code? > > Bingo! This improved things alot... > > Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as > expected. > Will do some more testing with USB to TTL adapter when I get back... > > /CJ > So maybe I was right. I will try to do the polling differently, and will add a property to define the frequency of the polling. Regards, -- Beno?t Minisini From john.aaron.rose at ...626... Sat Aug 11 16:51:35 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 11 Aug 2012 15:51:35 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344696695.3046.4.camel@...2811...> I'm trying to validate an entered Latitude value as having a maximum of 6 digits after the decimal point. Sometimes it doesn't work. In the case below, it is 48.590278. This should be valid, but the 'Message.Info("More than 6 decimal digits - try again")' line is being executed. As you can see from the Print statements, the check should be OK. Am I missing something really obvious? Public Sub ValueBoxLatitude_LostFocus() Dim latitude As Float Dim f As Float Dim g As Float If IsNull(Last.Value) Then Return latitude = Last.Value If latitude < -90 Or latitude > 90 Then Message.Info("Must be between -90 and +90 - try again") Last.SetFocus() Stop Event End If f = latitude * 1000000 g = CFloat(CInt(f)) Print "f=" & f Print "g=" & g If f <> g Then Message.Info("More than 6 decimal digits - try again") Last.SetFocus() Stop Event End If f=48590278 g=48590278 -- Regards, John +44 1902 331266 +44 7894 211434 From gambas at ...1... Sat Aug 11 16:52:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 16:52:35 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50266EFA.3020506@...1...> References: <000101cd77c9$73277530$0f00a8c0@...2829...> <50266EFA.3020506@...1...> Message-ID: <502671B3.5060505@...1...> Le 11/08/2012 16:40, Beno?t Minisini a ?crit : > Le 11/08/2012 15:58, Christer Johansson a ?crit : >> >> >>> -----Original Message----- >>> From: Beno?t Minisini [mailto:gambas at ...1...] >>> >>> 2) By commenting all SPort1_xxxChange event handlers in the example >>> source code? >> >> Bingo! This improved things alot... >> >> Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as >> expected. >> Will do some more testing with USB to TTL adapter when I get back... >> >> /CJ >> > > So maybe I was right. I will try to do the polling differently, and will > add a property to define the frequency of the polling. > > Regards, > Can you try the unmodified SerialPort example with revision #5029? Now I do the polling with a fixed frequency. That frequency is defined with a new optional argument to the Open() method. It is 50ms by default, so the CPU usage should be lower. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 11 17:02:35 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 18:02:35 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344696695.3046.4.camel@...2811...> References: <1344696695.3046.4.camel@...2811...> Message-ID: I cannot reproduce your problem... What is your Gambas version? Jussi On 11 August 2012 17:51, John Rose wrote: > I'm trying to validate an entered Latitude value as having a maximum of > 6 digits after the decimal point. Sometimes it doesn't work. In the case > below, it is 48.590278. This should be valid, but the > 'Message.Info("More than 6 decimal digits - try again")' line is being > executed. As you can see from the Print statements, the check should be > OK. Am I missing something really obvious? > > Public Sub ValueBoxLatitude_LostFocus() > Dim latitude As Float > Dim f As Float > Dim g As Float > If IsNull(Last.Value) Then Return > latitude = Last.Value > If latitude < -90 Or latitude > 90 Then > Message.Info("Must be between -90 and +90 - try again") > Last.SetFocus() > Stop Event > End If > f = latitude * 1000000 > g = CFloat(CInt(f)) > Print "f=" & f > Print "g=" & g > If f <> g Then > Message.Info("More than 6 decimal digits - try again") > Last.SetFocus() > Stop Event > End If > > f=48590278 > g=48590278 > > -- > Regards, > John > +44 1902 331266 > +44 7894 211434 > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Aug 11 17:07:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 17:07:11 +0200 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: References: <1344696695.3046.4.camel@...2811...> Message-ID: If len(frac(latitude)) sup 8 then... Le 11 ao?t 2012 17:03, "Jussi Lahtinen" a ?crit : > I cannot reproduce your problem... What is your Gambas version? > > Jussi > > > > On 11 August 2012 17:51, John Rose wrote: > > > I'm trying to validate an entered Latitude value as having a maximum of > > 6 digits after the decimal point. Sometimes it doesn't work. In the case > > below, it is 48.590278. This should be valid, but the > > 'Message.Info("More than 6 decimal digits - try again")' line is being > > executed. As you can see from the Print statements, the check should be > > OK. Am I missing something really obvious? > > > > Public Sub ValueBoxLatitude_LostFocus() > > Dim latitude As Float > > Dim f As Float > > Dim g As Float > > If IsNull(Last.Value) Then Return > > latitude = Last.Value > > If latitude < -90 Or latitude > 90 Then > > Message.Info("Must be between -90 and +90 - try again") > > Last.SetFocus() > > Stop Event > > End If > > f = latitude * 1000000 > > g = CFloat(CInt(f)) > > Print "f=" & f > > Print "g=" & g > > If f <> g Then > > Message.Info("More than 6 decimal digits - try again") > > Last.SetFocus() > > Stop Event > > End If > > > > f=48590278 > > g=48590278 > > > > -- > > Regards, > > John > > +44 1902 331266 > > +44 7894 211434 > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sat Aug 11 17:33:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 15:33:44 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #4 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 (this reply can be duplicate) Hi Benoit, I found a reproduction scenario, this is attached to the reply (DS.tar.gz). It seems the XMLRPC component can't handle "incorrect" XML formatted requests. In the previous gambas2 and gambas3 3.2.1 is didn't segmentation fault, but gave a proper error message. Regards, Alex Attachments: DS.tar.gz 369 KB From lists at ...2828... Sat Aug 11 18:49:43 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 18:49:43 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <502671B3.5060505@...1...> Message-ID: <000001cd77e1$53aa9e90$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > Can you try the unmodified SerialPort example with revision #5029? > > Now I do the polling with a fixed frequency. That frequency is defined > with a new optional argument to the Open() method. It is 50ms by default, > so the CPU usage should be lower. I will test the new version as soon as I have managed to compile latest version from the trunk. Compiling on the RasPi itself is painstakingly slow so wouldn't it be nice having VirtualBox setup to be able to quickly cross-compile latest source from the trunk in an easy way :) Something like... 1. Download latest source from trunk 2. Cross compile it on fast CPU 3. Make a DEB-package of it 4. Install DEB-package on Raspberry Pi After trying to wrap my head around making DEB-packages and now reading a few links about setting up a cross compiler toolchain my head is spinning - maybe someday I will be knowledged enough, maybe someday :) BTW: Thanks for looking into this issue and coming up with a potential fix within hours after I posted my first e-mail, you guys are truly awesome! /CJ From gambas at ...2524... Sat Aug 11 20:56:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 18:56:52 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #5 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 I found another reproduction scenario, it is in the attach "XMLParser.tar.gz". If you run the XMLParser3 project under Gambas3 r5025 and up, it segmentation faults. It works fine under gambas2 and gambas3 3.2.1 I also found the "new" gb.xml isn't compatible with gambas2 and neither with the XML specs, i will open another issue for this. Attachments: XMLParse-example.tar.gz 15.3 KB From gambas at ...2524... Sat Aug 11 21:05:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 19:05:16 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage Message-ID: <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 1) Describe the problem. The new gb.xml component output is different then the "old" gambas2 version. The XmlReader doesn't support node depth and empty values contain garbage. The new component doesn't seem to support the complete XML spec? 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK and 3.2.1 Revision: r5025, r5026, r5027 Operating system: Linux Distribution: Lubuntu Architecture: x86 GUI component: n/a Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. The XMLParser example contains a XML response received from the weatherbug website. The gambas2 project produces the following output (the first 2 parts are the node depth names!): aws:weatherxmlns:aws|=|http://www.aws.com/aws aws:weatheraws:apiversion|=|2.0 aws:weatheraws:locationsaws:locationcityname|=|Zwijndrecht aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Netherlands aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|71394 aws:weatheraws:locationsaws:locationcitytype|=|1 aws:weatheraws:locationsaws:locationcityname|=|Zwijndrecht aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Belgium aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|50991 aws:weatheraws:locationsaws:locationcitytype|=|1 aws:weatheraws:locationsaws:locationcityname|=|Zakynthos aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Greece aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|63454 aws:weatheraws:locationsaws:locationcitytype|=|1 When i run this on gambas3 i loose all the node depths: xmlns:aws|=|http://www.aws.com/aws version|=|2.0 cityname|=|Zwijndrecht statename|=| countryname|=|Netherlands zipcode|=| citycode|=|71394 citytype|=|1 cityname|=|Zwijndrecht statename|=| countryname|=|Belgium zipcode|=| citycode|=|50991 citytype|=|1 cityname|=|Zakynthos statename|=| countryname|=|Greece zipcode|=| citycode|=|63454 citytype|=|1 Also the fields like "zipcode" doesn't contain any value in the XML, this gives garbage in the output (not visible in the copy-paste above, but clearly visible in the debugger - i done this with gambas2 and gambas3) 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: XMLParse-example.tar.gz 15.3 KB From john.aaron.rose at ...626... Sat Aug 11 21:10:28 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 11 Aug 2012 20:10:28 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344712228.3046.7.camel@...2811...> Jussi, Gambas 3.2.1 for Lucid from kendek's ppa. PS I've found another solution to the requirement: convert the Float value to a string & check on the length of the number of digits before the decimal point by use of Len, Mid & Instr functions. -- Regards, John +44 1902 331266 +44 7894 211434 From jussi.lahtinen at ...626... Sat Aug 11 21:28:49 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 22:28:49 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344712228.3046.7.camel@...2811...> References: <1344712228.3046.7.camel@...2811...> Message-ID: I suspect that there was something else wrong with your project. But just in case, I would like to know if someone else can reproduce your problem. Test project is attached. John, can you reproduce your original problem with that test project? Jussi On 11 August 2012 22:10, John Rose wrote: > Jussi, > > Gambas 3.2.1 for Lucid from kendek's ppa. > > PS I've found another solution to the requirement: > convert the Float value to a string & check on the length of the number > of digits before the decimal point by use of Len, Mid & Instr > functions. > > -- > Regards, > John > +44 1902 331266 > +44 7894 211434 > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.1.tar.gz Type: application/x-gzip Size: 4953 bytes Desc: not available URL: From support at ...2529... Sat Aug 11 22:10:42 2012 From: support at ...2529... (John Spikowski) Date: Sat, 11 Aug 2012 13:10:42 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM Message-ID: <1344715842.2424.8.camel@...1833...> Sorry folks I can't let myself lose focus with my initial intent of creating a native Linux ARM environment to develop Android applications. Gambas is too big for me to fail. :-) Here is a new screen shot if you want to have a peek. http://files.allbasic.info/ScriptBasic/uxPC.png From gambas at ...2524... Sat Aug 11 23:57:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 21:57:06 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Status: Fixed Owner: adrien.p... at ...626... Comment #6 on issue 304 by adrien.p... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi, This is (finally!) fixed in revision #5032. From gambas at ...2524... Sat Aug 11 23:58:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 21:58:06 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #7 on issue 304 by adrien.p... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi, This is (finally!) fixed in revision #5032. From bbruen at ...2308... Sun Aug 12 00:19:22 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 12 Aug 2012 07:49:22 +0930 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: References: <1344558278.4970.3.camel@...2901...> Message-ID: <1344723562.28244.38.camel@...40...> On Sat, 2012-08-11 at 13:47 +0200, Fabien Bodard wrote: > Or simply: > If FMain then > > If fmain is not used then it is not instanciate so its value must be > null... I think... > > Another way can be to add a static value to fmain > > 'in fmain > > Static Private $iCnt as integer > > Property Read IsOpened as boolean > > PUblic sub _New() > > inc $iCnt > > endif > > Public sub Form_Close() > > dec $iCnt > > end > > > Static Public Function IsOpened_Read() as Boolean > > Return $iCnt >0 > > end > > > 'so in form 2 you can call : > > > if FMain.IsOpened then ... However, remember that if a form has been opened and then closed non-modally, the form object remains. It is not null, but invalid. (http://gambasdoc.org/help/def/invalid?v3) In that case, checking for either IsNull(myForm) or trying to reference a symbol within the form will both result in an Invalid Object(29) error (http://gambasdoc.org/help/error/iobject?v3). Typically, this arises when a non-modal child form is shown (and closed) several times during an execution or when trying to close any non-modal child forms when the program is exiting. In these cases, the solution is to set the Persistent property of the child form, either in the designer or via myForm.Persistent=True. That way, you can always check for IsNull(myForm) and then myForm.Visible with success. So my generalised algorithm for non-modal forms is: 1. Ensure that the form object is created with Persistent=true 2. Check for "form is shown" by If not IsNull(myForm) If MyForm.Visible then ... hth Bruce From bbruen at ...2308... Sun Aug 12 01:10:10 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 12 Aug 2012 08:40:10 +0930 Subject: [Gambas-user] Balloons on menus Message-ID: <1344726610.28244.46.camel@...40...> 'Morning all, Is there some way to set a balloon on a menu item. We have a dynamic menu in the main form that gets submenus added to it during the course of a run. When the program starts, there is no sub-menus and it would be nice to alert the user that there are "No found yet" rather than just silently ignoring the click on the parent menu. According to our resident GUI design guru, the Balloon popup would be the nicest way to achieve this, but there does not appear to be a way to attach the balloon to a menu item as they are not controls. Any ideas? Bruce From wally at ...2037... Sun Aug 12 07:27:30 2012 From: wally at ...2037... (wally) Date: Sun, 12 Aug 2012 07:27:30 +0200 Subject: [Gambas-user] gb.jit component on other than intel-cpu ? Message-ID: <2192778.mrM4AuWPgi@...46...> Hello, does it make sense to build and use gb.jit component on other than Intel CPUs ? e.g. ARM , Raspberry etc. wally From kevinfishburne at ...1887... Sun Aug 12 08:27:03 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 12 Aug 2012 02:27:03 -0400 Subject: [Gambas-user] gb3: 2D ray-casting algorithm Message-ID: <50274CB7.4040108@...1887...> I need to know if a point lies within a three-sided polygon (triangle) on a 2D plane for combat hit detection in my game. Raw speed, not mathematical purity is extremely important. I've read this: http://en.wikipedia.org/wiki/Point_in_polygon and many more articles and posts and have come to the conclusion that my brain is not wired to solve this sort of problem independently in a reasonable time frame. I somewhat understand the concept, but not the mathematical implementation. From what I understand, you take the point and create a ray from it (a line with a beginning but no end), then do an intersection calculation between the ray and each line segment of the triangle. If the number of intersections is odd then the point is inside the triangle. If the number of intersections is even then the point is outside the triangle. So I guess what I'm asking is how do you define a ray (even a "fake" one like a line segment with one point REALLY far away for speed) and how do you calculate if a ray intersects a line segment? Stuff like this humbles me because I know it must be simple mathematically but I'm just too damn stupid to grok it. Thanks, as always. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Sun Aug 12 08:37:41 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 06:37:41 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #8 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Thanks, it doesn't segmentation fault anymore. With the XMLParse-example.tar.gz i noticed that i got more warning messages from gbx3 now. I will append them in Issue 305. From gambas at ...2524... Sun Aug 12 08:40:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 06:40:02 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #1 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 OK, i retested with gambas3 r5032 and the output slightly changed and it is visible that the XMLReader component doesn't fully function. The output is now (the warning message and some fields contain garbage!): xmlns:aws|=|http://www.aws.com/aws version|=|2.0 cityname|=|Zwijndrecht gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() statename|=|?" countryname|=|Netherlands zipcode|=| citycode|=|71394 citytype|=|1 cityname|=|Zwijndrecht statename|=| countryname|=|Belgium zipcode|=| citycode|=|50991 citytype|=|1 cityname|=|Zakynthos gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() statename|=|? " odename countryname|=|Greece gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() zipcode|=|@?! ename citycode|=|63454 citytype|=|1 Ended From john.aaron.rose at ...626... Sun Aug 12 09:09:06 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 12 Aug 2012 08:09:06 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344755346.3046.21.camel@...2811...> Jussi, I've put the code below into the Fmain class in that Test project and it works OK! The Test project needs a lot more code in order to obtain the Latitude from the database. I'll check it out again with the full project. Public Sub ValueBoxLongitude_KeyRelease() If Key.Code = Key.Return Or Key.Code = Key.Enter Or Key.Code = Key.Tab Then ButtonExit.SetFocus() Endif End Public Sub ValueBoxLatitude_LostFocus() Dim latitude As Float Dim f As Float Dim g As Float If IsNull(Last.Value) Then Return latitude = Last.Value If latitude < -90 Or latitude > 90 Then Message.Info("Must be between -90 and +90 - try again") Last.SetFocus() Stop Event End If f = latitude * 1000000 g = CFloat(CInt(f)) Print "f=" & f Print "g=" & g If f <> g Then Message.Info("More than 6 decimal digits - try again") Last.SetFocus() Stop Event End If ButtonExit.SetFocus End Sub From emil.lenngren at ...626... Sun Aug 12 11:00:35 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 12 Aug 2012 11:00:35 +0200 Subject: [Gambas-user] gb.jit component on other than intel-cpu ? In-Reply-To: <2192778.mrM4AuWPgi@...46...> References: <2192778.mrM4AuWPgi@...46...> Message-ID: I tried to run it on the raspberry pi. LLVM seemed to crash or produce illegal code or something... I will check further when I have time. /Emil 2012/8/12 wally > Hello, > > does it make sense to build and use gb.jit component on > other than Intel CPUs ? > e.g. ARM , Raspberry etc. > > wally > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 12 13:53:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Aug 2012 13:53:54 +0200 Subject: [Gambas-user] gb3: 2D ray-casting algorithm In-Reply-To: <50274CB7.4040108@...1887...> References: <50274CB7.4040108@...1887...> Message-ID: <50279952.1090307@...1...> Le 12/08/2012 08:27, Kevin Fishburne a ?crit : > I need to know if a point lies within a three-sided polygon (triangle) > on a 2D plane for combat hit detection in my game. Raw speed, not > mathematical purity is extremely important. I've read this: > > http://en.wikipedia.org/wiki/Point_in_polygon > > and many more articles and posts and have come to the conclusion that my > brain is not wired to solve this sort of problem independently in a > reasonable time frame. I somewhat understand the concept, but not the > mathematical implementation. > > From what I understand, you take the point and create a ray from it (a > line with a beginning but no end), then do an intersection calculation > between the ray and each line segment of the triangle. If the number of > intersections is odd then the point is inside the triangle. If the > number of intersections is even then the point is outside the triangle. > So I guess what I'm asking is how do you define a ray (even a "fake" one > like a line segment with one point REALLY far away for speed) and how do > you calculate if a ray intersects a line segment? Stuff like this > humbles me because I know it must be simple mathematically but I'm just > too damn stupid to grok it. Thanks, as always. > Why don't you ask Google ? http://www.blackpawn.com/texts/pointinpoly/default.html -- Beno?t Minisini From gambas at ...2524... Sun Aug 12 14:40:57 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 12:40:57 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Updates: Status: Started Owner: adrien.p... at ...626... Labels: -Version Version-TRUNK Comment #2 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Does it work better with the last revision ? (#5034) From gambas at ...2524... Sun Aug 12 14:58:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 12:58:01 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <2-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #3 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Hi, I have the same problem here. My screen size is 1024*600px, and the font size I use is 9px. Attachments: capture d'?cran12.png 134 KB From gambas at ...2524... Sun Aug 12 15:01:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 13:01:13 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #3 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, r5034 doesn't compile on my system (got a fresh copy from SVN), i get the following message during "make": /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-textnode.lo -MD -MP -MF .deps/gb_xml_la-textnode.Tpo -c -o gb_xml_la-textnode.lo `test -f 'textnode.cpp' || echo './'`textnode.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-textnode.lo -MD -MP -MF .deps/gb_xml_la-textnode.Tpo -c textnode.cpp -fPIC -DPIC -o .libs/gb_xml_la-textnode.o mv -f .deps/gb_xml_la-textnode.Tpo .deps/gb_xml_la-textnode.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-element.lo -MD -MP -MF .deps/gb_xml_la-element.Tpo -c -o gb_xml_la-element.lo `test -f 'element.cpp' || echo './'`element.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-element.lo -MD -MP -MF .deps/gb_xml_la-element.Tpo -c element.cpp -fPIC -DPIC -o .libs/gb_xml_la-element.o element.cpp: In constructor ?Element::Element(const char*, size_t)?: element.cpp:47: error: type ?Element? is not a direct base of ?Element? make[5]: *** [gb_xml_la-element.lo] Error 1 make[5]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gambas3-r5034/gb.xml' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gambas3-r5034/gb.xml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gambas3-r5034' make: *** [all] Error 2 From gambas at ...2524... Sun Aug 12 15:03:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 13:03:38 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #4 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Same remark: why do you use a big font on a small screen ? From karl.reinl at ...9... Sun Aug 12 15:50:49 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 12 Aug 2012 15:50:49 +0200 Subject: [Gambas-user] XMLReader / XMLWriter Message-ID: <1344779449.2651.9.camel@...40...> Salut Adrien, for reading the XMLreader needs this syntax : Text="{pYear} & '/' & format({pMonth},'0#-')" Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" but the XMLwriter put out the Attributs (not transformt) Text="{pYear} & '/' & format({pMonth},'0#-')" Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" is that normal, will that stay like that? gambas3 svn 5019 -- Amicalement Charlie From gambas at ...2524... Sun Aug 12 16:52:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 14:52:28 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #5 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Just because this is the smallest font I can easily read. By seeing the screenshots on my desktop screen, I find the fonts huge too. But on my netbook, smaller fonts are unreadable. From vuott at ...325... Sun Aug 12 17:14:08 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 16:14:08 +0100 (BST) Subject: [Gambas-user] Error "Making" Rev. #5034 Message-ID: <1344784448.29924.YahooMailClassic@...2691...> Hello, updating my Gambas-3 with Rev. #5034, I received this error: ******* element.cpp: In constructor 'Element::Element(const char*, size_t)': element.cpp:47:62: error: type 'Element' is not a direct base of 'Element' make[5]: *** [gb_xml_la-element.lo] Errore 1 make[5]: uscita dalla directory "/home/vuott/trunk/gb.xml/src" make[4]: *** [all-recursive] Errore 1 make[4]: uscita dalla directory "/home/vuott/trunk/gb.xml/src" make[3]: *** [all-recursive] Errore 1 make[3]: uscita dalla directory "/home/vuott/trunk/gb.xml" make[2]: *** [all] Errore 2 make[2]: uscita dalla directory "/home/vuott/trunk/gb.xml" make[1]: *** [all-recursive] Errore 1 make[1]: uscita dalla directory "/home/vuott/trunk" make: *** [all] Errore 2 ******************************** Regards. Vuott From gambas at ...2524... Sun Aug 12 17:18:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:18:02 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #6 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 I will try to make the dialog smaller if possible. But you will have the same problem with other programs! From gambas at ...2524... Sun Aug 12 17:27:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:27:38 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #4 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 There is no error on my system. Does it work with revision #5035 ? From gambas at ...2524... Sun Aug 12 17:34:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:34:32 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #7 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Is it better with revision #5036? From gambas at ...2524... Sun Aug 12 17:46:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:46:28 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #8 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Yes, the dialog is more comfortable now, thanks. From vuott at ...325... Sun Aug 12 18:46:47 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 17:46:47 +0100 (BST) Subject: [Gambas-user] R: Balloons on menus In-Reply-To: <1344726610.28244.46.camel@...40...> Message-ID: <1344790007.57768.YahooMailClassic@...2695...> Hello, an option "would be" to put a little label "next/contiguous" to the menu (if, however, do not bother with other objects on the form). Then you'll write a event-routine: when the mouse enters in that label... if there's not a sub-menu (here called Menu2), then we'll be the ballon: Public Sub Label1_Enter() If IsNull(Me.Controls["Menu2"]) Then Balloon.Warning("No sub-Menu!", Label1) Endif End Bye Vuott --- Dom 12/8/12, Bruce ha scritto: > Da: Bruce > Oggetto: [Gambas-user] Balloons on menus > A: gambas-user at lists.sourceforge.net > Data: Domenica 12 agosto 2012, 01:10 > 'Morning all, > > Is there some way to set a balloon on a menu item. > > We have a dynamic menu in the main form that gets submenus > added to it > during the course of a run.? When the program starts, > there is no > sub-menus and it would be nice to alert the user that there > are "No > found yet" rather than just silently > ignoring the click > on the parent menu.? According to our resident GUI > design guru, the > Balloon popup would be the nicest way to achieve this, but > there does > not appear to be a way to attach the balloon to a menu item > as they are > not controls. > > Any ideas? > > Bruce > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Aug 12 19:48:46 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 18:48:46 +0100 (BST) Subject: [Gambas-user] R: Error "Making" Rev. #5034 In-Reply-To: <1344784448.29924.YahooMailClassic@...2691...> Message-ID: <1344793726.20760.YahooMailClassic@...2748...> Well, with rev. #5036 I had no longer that problem. --- Dom 12/8/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] Error "Making" Rev. #5034 > A: gambas-user at lists.sourceforge.net > Data: Domenica 12 agosto 2012, 17:14 > Hello, > > updating my Gambas-3 with Rev. #5034, I received this > error: > ******* > > element.cpp: In constructor 'Element::Element(const char*, > size_t)': > element.cpp:47:62: error: type 'Element' is not a direct > base of 'Element' > make[5]: *** [gb_xml_la-element.lo] Errore 1 > make[5]: uscita dalla directory > "/home/vuott/trunk/gb.xml/src" > make[4]: *** [all-recursive] Errore 1 > make[4]: uscita dalla directory > "/home/vuott/trunk/gb.xml/src" > make[3]: *** [all-recursive] Errore 1 > make[3]: uscita dalla directory "/home/vuott/trunk/gb.xml" > make[2]: *** [all] Errore 2 > make[2]: uscita dalla directory "/home/vuott/trunk/gb.xml" > make[1]: *** [all-recursive] Errore 1 > make[1]: uscita dalla directory "/home/vuott/trunk" > make: *** [all] Errore 2 > > ******************************** > > Regards. > Vuott > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Aug 12 21:50:31 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 19:50:31 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #5 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, Thanks, it compiles successfully on my system now. Also the output looks great, again thanks for fixing this all. Regards, Alex From karl.reinl at ...9... Sun Aug 12 23:07:58 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 12 Aug 2012 23:07:58 +0200 Subject: [Gambas-user] XML since rev. #5036 Message-ID: <1344805678.2222.10.camel@...40...> Salut Adrien, since rev. #5036 the attached xslt is no more a valide xml. Some minutes before on rev. #5019 and all the years before it did its job. test : DIM Xsl AS NEW XmlDocument Xsl.FromString(File.Load("xml2file.xslt")) ' -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: xml2file.xslt Type: application/xslt+xml Size: 541 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sun Aug 12 23:59:03 2012 From: adrien.prokopowicz at ...626... (adrien.prokopowicz at ...626...) Date: Sun, 12 Aug 2012 23:59:03 +0200 Subject: [Gambas-user] XMLReader / XMLWriter In-Reply-To: <1344779449.2651.9.camel@...40...> References: <1344779449.2651.9.camel@...40...> Message-ID: <2397990.PFJiOJBVma@...2913...> Le dimanche 12 ao?t 2012 15:50:49 Karl Reinl a ?crit : > Salut Adrien, > > for reading the XMLreader needs this syntax : > > Text="{pYear} & '/' & format({pMonth},'0#-')" > Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" > > but the XMLwriter put out the Attributs (not transformt) > > Text="{pYear} & '/' & format({pMonth},'0#-')" > Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" > > is that normal, will that stay like that? > > gambas3 svn 5019 No, this is a bug. :-) This should be fixed in revision #5037. Regards, Adrien. From adrien.prokopowicz at ...626... Mon Aug 13 00:05:48 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 13 Aug 2012 00:05:48 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <1344805678.2222.10.camel@...40...> References: <1344805678.2222.10.camel@...40...> Message-ID: <3165083.7cjZPujjfp@...2913...> Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > Salut Adrien, > > since rev. #5036 the attached xslt is no more a valide xml. > Some minutes before on rev. #5019 and all the years before it did its > job. > > test : > DIM Xsl AS NEW XmlDocument > Xsl.FromString(File.Load("xml2file.xslt")) ' Fixed in revision #5037. By the way, why are you using the slowest and longest method to load a document ? :-) You can simply do : Dim Xsl As New XmlDocument Xsl.Open("xml2file.xslt") ... or, even better : Dim Xsl As New XmlDocument("xml2file.xslt") Regards, Adrien. From Karl.Reinl at ...2345... Mon Aug 13 11:00:00 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 11:00:00 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <3165083.7cjZPujjfp@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> Message-ID: <1344848400.2199.22.camel@...40...> Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > Salut Adrien, > > > > since rev. #5036 the attached xslt is no more a valide xml. > > Some minutes before on rev. #5019 and all the years before it did its > > job. > > > > test : > > DIM Xsl AS NEW XmlDocument > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > Fixed in revision #5037. > > By the way, why are you using the slowest and longest method to load > a document ? :-) > > You can simply do : > e > Dim Xsl As New XmlDocument > Xsl.Open("xml2file.xslt") > > ... or, even better : > > Dim Xsl As New XmlDocument("xml2file.xslt") > > Regards, > Adrien. Salut Adrien, thank you, and also for your hints. My problem is to make DBReport ready for gambas3, and that project uses 2 big constructions within gambas3. XML and libraries, if these make me no more problems, I will have a look at it, because your hint are all marked in me workbook. Thanks again, I will give it a try. -- Amicalement Charlie From Karl.Reinl at ...2345... Mon Aug 13 11:57:56 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 11:57:56 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <3165083.7cjZPujjfp@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> Message-ID: <1344851877.2199.37.camel@...40...> Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > Salut Adrien, > > > > since rev. #5036 the attached xslt is no more a valide xml. > > Some minutes before on rev. #5019 and all the years before it did its > > job. > > > > test : > > DIM Xsl AS NEW XmlDocument > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > Fixed in revision #5037. > ----------8<----------------------------------------------- Salut Adrien, ok now it loads,.....but the transform fails. Says 'invalid style sheet' -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: newXML-0.0.5.tar.gz Type: application/x-compressed-tar Size: 16218 bytes Desc: not available URL: From nando_f at ...951... Mon Aug 13 13:53:42 2012 From: nando_f at ...951... (nando) Date: Mon, 13 Aug 2012 07:53:42 -0400 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344755346.3046.21.camel@...2811...> References: <1344755346.3046.21.camel@...2811...> Message-ID: <20120813114034.M72709@...951...> I'd say, if a number has been inputted and it's in the range -90 ... + 90 then it is a valid long. No more testing required. Period!!! If you multiply it by 6 zero's then it could be -90,000,000 ... +90,000,000 and you're defeating the whole thing. What you're doing is pointless. for this snippet... 1> f = latitude * 1000000 2> g = CFloat(CInt(f)) 3> Print "f=" & f 4> Print "g=" & g 5> If f <> g Then 6> Message.Info("More than 6 decimal digits - try again") 7> Last.SetFocus() 8> Stop Event 9> End If if you want f to be with no digits to the right of the decimal point then use INTEGER, not FLOAT so, f should be an INTEGER You're trying so hard to do things an INTEGER does well line 2,4,5,6,7,8 are not needed but is line 1 purpose only for testing, then you don't even need line 1 Overall, if lat is -90 ... +90 then it's in range. No more tests required. if someone types in: 89.12361263571235671235645345345 and you don't want all those extra digits to the right of the 6th decimal digit DO NOTHING. TEST NOTHING. because it doesn't matter. It really doesn't!! -Fernando ---------- Original Message ----------- From: John Rose To: GambasUsers MailingList Sent: Sun, 12 Aug 2012 08:09:06 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working > Jussi, > > I've put the code below into the Fmain class in that Test project and it > works OK! The Test project needs a lot more code in order to obtain the > Latitude from the database. I'll check it out again with the full > project. > > Public Sub ValueBoxLongitude_KeyRelease() > If Key.Code = Key.Return Or Key.Code = Key.Enter Or Key.Code = Key.Tab > Then > ButtonExit.SetFocus() > Endif > End > > Public Sub ValueBoxLatitude_LostFocus() > Dim latitude As Float > Dim f As Float > Dim g As Float > If IsNull(Last.Value) Then Return > latitude = Last.Value > If latitude < -90 Or latitude > 90 Then > Message.Info("Must be between -90 and +90 - try again") > Last.SetFocus() > Stop Event > End If > f = latitude * 1000000 > g = CFloat(CInt(f)) > Print "f=" & f > Print "g=" & g > If f <> g Then > Message.Info("More than 6 decimal digits - try again") > Last.SetFocus() > Stop Event > End If > ButtonExit.SetFocus > End Sub > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From adrien.prokopowicz at ...626... Mon Aug 13 14:47:57 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 13 Aug 2012 14:47:57 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <1344851877.2199.37.camel@...40...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> <1344851877.2199.37.camel@...40...> Message-ID: <6968993.E4uEEPkBfg@...2913...> Le lundi 13 ao?t 2012 11:57:56 Charlie Reinl a ?crit : > Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > > Salut Adrien, > > > > > > since rev. #5036 the attached xslt is no more a valide xml. > > > Some minutes before on rev. #5019 and all the years before it did its > > > job. > > > > > > test : > > > DIM Xsl AS NEW XmlDocument > > > > > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > > > Fixed in revision #5037. > > ----------8<----------------------------------------------- > Salut Adrien, > > ok now it loads,.....but the transform fails. > > Says 'invalid style sheet' Hallo Charlie, It works for me with revision #5038. Can you confirm ? From Karl.Reinl at ...2345... Mon Aug 13 14:58:32 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 14:58:32 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <6968993.E4uEEPkBfg@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> <1344851877.2199.37.camel@...40...> <6968993.E4uEEPkBfg@...2913...> Message-ID: <1344862712.3225.2.camel@...40...> Am Montag, den 13.08.2012, 14:47 +0200 schrieb Adrien Prokopowicz: > Le lundi 13 ao?t 2012 11:57:56 Charlie Reinl a ?crit : > > Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien > Prokopowicz: > > > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > > > Salut Adrien, > > > > > > > > since rev. #5036 the attached xslt is no more a valide xml. > > > > Some minutes before on rev. #5019 and all the years before it > did its > > > > job. > > > > > > > > test : > > > > DIM Xsl AS NEW XmlDocument > > > > > > > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > > > > > Fixed in revision #5037. > > > > ----------8<----------------------------------------------- > > Salut Adrien, > > > > ok now it loads,.....but the transform fails. > > > > Says 'invalid style sheet' > > Hallo Charlie, > > It works for me with revision #5038. Can you confirm ? > Salut Adrien, yes works also here and now I can also confirm about 'XMLReader/XMLWriter' Thank you very much. -- Amicalement Charlie From john.aaron.rose at ...626... Mon Aug 13 15:31:32 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 13 Aug 2012 14:31:32 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344864692.3046.26.camel@...2811...> Fernando, The number of digits does matter. The use of this Gambas app is for maintenance of a database which is used by an Android app that I'm currently developing. I don't intend to discuss why the number of digits matters to the Android app except to say that it does. Thus, the Gambas app is required to do this validation. From sotema at ...626... Mon Aug 13 16:53:56 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Mon, 13 Aug 2012 16:53:56 +0200 Subject: [Gambas-user] Menu children shown even if parent is disabled Message-ID: <50291504.10501@...626...> When a Menu is disabled the event Click isn't raised. But if you click on a closed enabled menu and then move the mouse over the disabled one it's children pop-ups. Is this correct? The attached project show the behaviour. Click on the Menu1 and move the pointer over Menu2 This happens with both QT4 and GTK Regards, Emanuele -------------- next part -------------- A non-text attachment was scrubbed... Name: disablemenu.tar.gz Type: application/x-gzip Size: 5226 bytes Desc: not available URL: From nando_f at ...951... Mon Aug 13 18:09:14 2012 From: nando_f at ...951... (nando) Date: Mon, 13 Aug 2012 12:09:14 -0400 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344864692.3046.26.camel@...2811...> References: <1344864692.3046.26.camel@...2811...> Message-ID: <20120813160547.M32939@...951...> That's perfectly fine. Let me offer this plan of attack. Test if it is between -90 and +90 multiply by 1,000,000 into an INTEGER which chops all decimal digits to the right of the decimal point. then if you need float, divide by 1,000,000. But if you do that , don't be surprised for digits farther to the right of the 6th decimal point because it's float. -Fernando ---------- Original Message ----------- From: John Rose To: GambasUsers MailingList Sent: Mon, 13 Aug 2012 14:31:32 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working > Fernando, > The number of digits does matter. The use of this Gambas app is for > maintenance of a database which is used by an Android app that I'm > currently developing. I don't intend to discuss why the number of digits > matters to the Android app except to say that it does. Thus, the Gambas > app is required to do this validation. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From emil.lenngren at ...626... Mon Aug 13 18:18:47 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 13 Aug 2012 18:18:47 +0200 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <20120813160547.M32939@...951...> References: <1344864692.3046.26.camel@...2811...> <20120813160547.M32939@...951...> Message-ID: A 64-bit floating point value use to have about 14-15 correct digits. /Emil 2012/8/13 nando > That's perfectly fine. > Let me offer this plan of attack. > Test if it is between -90 and +90 > multiply by 1,000,000 into an INTEGER > which chops all decimal digits to the right of the decimal point. > then if you need float, divide by 1,000,000. > But if you do that , don't be surprised for digits farther to the right > of the 6th decimal point because it's float. > -Fernando > > > > > > ---------- Original Message ----------- > From: John Rose > To: GambasUsers MailingList > Sent: Mon, 13 Aug 2012 14:31:32 +0100 > Subject: [Gambas-user] Check on entered number having more than 6 digits > not working > > > Fernando, > > The number of digits does matter. The use of this Gambas app is for > > maintenance of a database which is used by an Android app that I'm > > currently developing. I don't intend to discuss why the number of digits > > matters to the Android app except to say that it does. Thus, the Gambas > > app is required to do this validation. > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Mon Aug 13 18:19:04 2012 From: sebikul at ...626... (Sebi) Date: Mon, 13 Aug 2012 16:19:04 +0000 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344864692.3046.26.camel@...2811...> References: <1344864692.3046.26.camel@...2811...> Message-ID: <37157188-1344874744-cardhu_decombobulator_blackberry.rim.net-1537206014-@...2914...> What about this?? Round(latitude, -6) http://gambasdoc.org/help/lang/round?v3 -----Original Message----- From: John Rose Date: Mon, 13 Aug 2012 14:31:32 To: GambasUsers MailingList Reply-To: mailing list for gambas users Subject: [Gambas-user] Check on entered number having more than 6 digits not working Fernando, The number of digits does matter. The use of this Gambas app is for maintenance of a database which is used by an Android app that I'm currently developing. I don't intend to discuss why the number of digits matters to the Android app except to say that it does. Thus, the Gambas app is required to do this validation. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Mon Aug 13 18:21:57 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 13 Aug 2012 19:21:57 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <20120813160547.M32939@...951...> References: <1344864692.3046.26.camel@...2811...> <20120813160547.M32939@...951...> Message-ID: Conversion and checking is two different things... Jussi On 13 August 2012 19:09, nando wrote: > That's perfectly fine. > Let me offer this plan of attack. > Test if it is between -90 and +90 > multiply by 1,000,000 into an INTEGER > which chops all decimal digits to the right of the decimal point. > then if you need float, divide by 1,000,000. > But if you do that , don't be surprised for digits farther to the right > of the 6th decimal point because it's float. > -Fernando > > > > > > ---------- Original Message ----------- > From: John Rose > To: GambasUsers MailingList > Sent: Mon, 13 Aug 2012 14:31:32 +0100 > Subject: [Gambas-user] Check on entered number having more than 6 digits > not working > > > Fernando, > > The number of digits does matter. The use of this Gambas app is for > > maintenance of a database which is used by an Android app that I'm > > currently developing. I don't intend to discuss why the number of digits > > matters to the Android app except to say that it does. Thus, the Gambas > > app is required to do this validation. > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Mon Aug 13 19:21:13 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 13 Aug 2012 18:21:13 +0100 (BST) Subject: [Gambas-user] R: Menu children shown even if parent is disabled In-Reply-To: <50291504.10501@...626...> Message-ID: <1344878473.1332.YahooMailClassic@...2758...> Soteeemaaaaaa ! --- Lun 13/8/12, Emanuele Sottocorno ha scritto: > Da: Emanuele Sottocorno > Oggetto: [Gambas-user] Menu children shown even if parent is disabled > A: gambas-user at lists.sourceforge.net > Data: Luned? 13 agosto 2012, 16:53 > When a Menu is disabled the event > Click isn't raised. But if you click on a closed enabled > menu and then move the mouse over the disabled one it's > children pop-ups. Is this correct? > The attached project show the behaviour. Click on the Menu1 > and move the pointer over Menu2 > This happens with both QT4 and GTK > Regards, > Emanuele > > > -----Segue allegato----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > -----Segue allegato----- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Aug 14 00:11:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:11:48 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate Message-ID: <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 306 by adamn... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 1) Describe the problem. (This is one of several issues that will all use the attached project) As soon as a signal is declared for Catching, the application will not terminate when closed normally. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5037 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 / GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Open the attached project in the IDE and run it. It just shows a blank form. Close the form and the process terminates normally. Now, uncomment line 5: Signal[Signal.SIGUSR1].Catch and re-run the project. When I close the form, the process does not terminate? 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: testsig-0.0.4.tar.gz 4.6 KB From gambas at ...2524... Tue Aug 14 00:21:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:21:44 +0000 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler Message-ID: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 307 by adamn... at ...626...: gb.signal - IDE automatically breakpoints in event handler http://code.google.com/p/gambas/issues/detail?id=307 1) Describe the problem. When Application_Signal is caught, the IDE automatically breakpoints 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: etc, as per 306 3) Provide a little project that reproduces the bug or the crash. Use project from 306 (with line 5 uncommented) 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Run the project within the IDE In a virtual terminal, issue "ps u|grep testsig" and "kill -SIGUSR1 " The signal is caught and the event handler is called but the IDE breakpoints at line 12? 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Aug 14 00:25:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:25:12 +0000 Subject: [Gambas-user] Issue 308 in gambas: gb.signal - segfault when event handled Message-ID: <0-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 308 by adamn... at ...626...: gb.signal - segfault when event handled http://code.google.com/p/gambas/issues/detail?id=308 1) Describe the problem. Although the event handler appears to complete, the running process segfaults. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: as before 3) Provide a little project that reproduces the bug or the crash. Use project from 306 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. When the run breakpoints in issue 307, just press F5 The process terminates but with a segfault? 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Aug 14 00:32:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:32:33 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant Message-ID: <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 309 by adamn... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 1) Describe the problem. Signal[int].Catch actually sets event firing for all signal values, not just the one specified by the int 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: as before 3) Provide a little project that reproduces the bug or the crash. Use project from 306 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Run the project in the IDE In a virtual terminal: ps u|grep testsig kill -SIGUSR2 the process terminates. Uncomment line 6 and repeat Now the behaviour is as expected. ? 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Aug 14 00:41:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:41:55 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant In-Reply-To: <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Comment #1 on issue 309 by adamn... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 WITHDRAWN! I didn't know that SIGUSR2 acts like a SIGKILL. From bbruen at ...2308... Tue Aug 14 07:10:39 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 14:40:39 +0930 Subject: [Gambas-user] Proposal: Add-Ins for the Gambas3 IDE Message-ID: <1344921039.23798.8.camel@...2688...> Dear folks, I hope you can forgive the long post and manage to wade through the following. Introduction ------------ This (the attached) project is a "proof of concept" (herafter "POC") for a means to add a capability to the Gambas3 IDE to allow add-in programs to be called directly from within the IDE. As a POC, there are many unimplemented features and requirements but it suffices to demonstrate the concept at a minimal level of complexity. It has been distributed by Paddys-Hill dot Net in order to guage whether there is an initial level of interest in the idea within the Gambas community and to garner any feedback regarding the concept or its current vision for deployment. Disclaimer ---------- Subject to the level of interest displayed, Paddys-Hill dot Net may at its own discretion continue the development of the concept with view to having it included in the public Gambas 3 product. There is no guarantee, express or implied in that, that the concept will be developed further by Paddys-Hill dot Net. Background ---------- Over the last years, Paddys-Hill dot Net has developed a set of utility programs that assist the Gambas programmer. We imagine the same has occurred in other Gambas 3 development organizations and even in the case of single developers who use Gambas 3 for their own private programming purposes. However, our utilities (and we imagine, yours) are not integrated into the Gambas IDE and so are not readliy accessible from within the IDE. In short, they are stand alone programs (developed mainly in Gambas) that are started when needed from menus, desktop icons etc etc. Some time ago, (Gambas 2.19??) I started looking into how these utilites could be incorporated into the IDE and yet remain outside the core Gambas product. In other words, how to "add something in" to the IDE without affecting it. I had little success under Gambas 2 and put the idea, and work on it, on hold. Recently, I have revitalised the idea and we have progressed it to a much more stable base under Gambas 3. There is still a lot of work to be done yet though! Concepts, Requirements and Principals ------------------------------------- 1) The entire management and administration of add-ins should be encapsulated and separate from the main IDE code, i.e. in short, it should all reside in a Gambas 3 Component. 2) The interaction of the IDE with the component must be kept at an absolute minimum in order to preserve the stability of the Gambas IDE. 3) No add-in should require direct support from the IDE. That is, there should be no code changes to the IDE necessary to support a specific add-in. 4) Add-ins (i.e. the payload part) could be any executable. To expand that, I foresee three general types of addins: utilities written in Gambas code and run as a normal executable; utilities based on external code that are "wrapped" in a Gambas framework to provide the add-in infrastructure; and "simple" external utilities/programs where it may be "handy" to invoke from within the IDE. 5) There "may be" information flow from the IDE to the add-in when it is started (handled by the "manager" component) but initially and for some forseeable future, there will be no information flow back from the add-in to the IDE. This is again so there is no impact on the IDE. 6) Add-in management should persist between invocations of the IDE on a per user basis. That is, if the user enables an add-in during an IDE session, then it should be enabled again automatically when another IDE session is started. (In other words, the manager will use the Settings component and the users gambas3.config file to store the enabled add-ins.) 7) Closing the IDE should close all instances of add-ins started and running for that session. The POC project --------------- The POC is contained in a single source archive attached "addinmeta1". It consists of a simple main form (FTest) that emulates the IDE in a @@very rudimentary@@ way. (Note: It does contain extraneous matter due to where it came from. These other "features" should be ignored.) The other major contents are the FAIManager form, which provides the administration of add-ins and is the only thing "visible" to our "IDE". The "IDE" form (FTest) shows that the only changes that would be needed in the Gambas IDE. These are : * addition of the "Add Ins" menu item in the Tools menu * addition of a private global variable "$addinmgr" to reference the manager * instantiation of the $addinmgr when the IDE form is first opened, and * a call to the $addinmgr.CloseAll method issued when the IDE is closed. In order to demonstrate the concept, we have also attached a simple addin that opens a virtual terminal (woohoo!) Not very useful I know, but we are POC'ing here! It is in the "runterminal_simple" autotools archive. To have a look at the demonstration: ------------------------------------ 1) Unpack and install the runterminal_simple app somewhere handy. 2) Unpack the addinmeta archive somewhere and open the contained project in the Gambas3 IDE. (This is important!) 3) Run the project from within the Gambas IDE a) Select the File|Open menu item and load one of the source files (just to give a feeling of the fake IDE, hereafter called the Add-Ins POC) b) Select Tools|Add Ins|Manager menu item, this will open the Manager c) Click on the blue "+" button (Register a new add-in), navigate to where you placed the runterminal_simple executable and select it (the .gambas file!) and click OK d) This registers the addd-in and automatically activates it. e) Click the OK button in the Manager form (saves the Settings for the add-in, if you click Cancel the add-in is active for the current "Add-Ins POC" session only!) f) You should now have a new menu item in the Add Ins menu "runterm_simple" and clicking on it should (hopefully !) open the default terminal for your desktop. g) Leave the terminal running and close the "Add-Ins POC". The terminal should also close. h) IMPORTANT. The POC process will not terminate properly. This is because of Issue #306. Just use the "stop run" button in the Gambas IDE. i) Have a play around with the POC. Outstanding Items/Bugs/etc -------------------------- Apart from issue #306, there are some other problems evident in the POC. Sometimes the terminal will not close, it loses connection with the POC somehow. The Manager form is incomplete if you look at the full set of properties that need to be massaged to complete the add-in profile. etc etc. It's just a POC! Next Steps ---------- Ours ---- We will be continuing the development of the POC for our own use and if people are interested we will release a stable component version for Benoit to consider for inclusion. Yours ----- Please let me know if you think this might be a valuable feature for the IDE Please let me know if you'd like to help!!!! Thanks for you patience in reading this rather long and large posting best regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: addinmeta1-0.0.6.tar.gz Type: application/x-compressed-tar Size: 25520 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paddys-hill-runterm_simple-0.0.4.tar.gz Type: application/x-compressed-tar Size: 60558 bytes Desc: not available URL: From gambas at ...2524... Tue Aug 14 11:01:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:01:00 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #6 on issue 305 by benoit.m... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Is the issue fixed? From gambas at ...2524... Tue Aug 14 11:02:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:02:01 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #9 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:04:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:04:03 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #7 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Yes, r5036 gives the correct output. The issue can be closed. From gambas at ...2524... Tue Aug 14 11:22:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:22:14 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Updates: Status: Started Labels: -Version Version-3.2.0 Comment #1 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 Yes. As soon as one signal is catched, the interpreter event loop watches it. To quit the program, you must both close the window and stop watchings signals. Anyway, the component needs to be rewritten because support of signal watching has been added to the interpreter recently. So I will do that instead of trying to fix the bugs. Normally, these bugs should vanish with the rewrite, but you will tell me! :-) From gambas at ...2524... Tue Aug 14 11:23:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:23:14 +0000 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler In-Reply-To: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 307 by benoit.m... at ...626...: gb.signal - IDE automatically breakpoints in event handler http://code.google.com/p/gambas/issues/detail?id=307 Yes, because the IDE uses SIGUSR1 to tell the debugged program to break! From gambas at ...2524... Tue Aug 14 11:24:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:24:14 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant In-Reply-To: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #2 on issue 309 by benoit.m... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:27:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:27:19 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Updates: Status: Verified Comment #8 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:53:56 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:53:56 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 OK. Rewrote done in revision #5039. As soon as you call 'Signal[Signal.SIGUSR1].Reset' in the Form_Close() event handler, the form closes normally. From gambas at ...2524... Tue Aug 14 12:08:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 10:08:09 +0000 Subject: [Gambas-user] Issue 308 in gambas: gb.signal - segfault when event handled In-Reply-To: <0-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-3.2.0 Comment #1 on issue 308 by benoit.m... at ...626...: gb.signal - segfault when event handled http://code.google.com/p/gambas/issues/detail?id=308 Fixed in revision #5040. This was not a bug related to signals at all! From bbruen at ...2308... Tue Aug 14 12:20:47 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 19:50:47 +0930 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <1344939647.23798.11.camel@...2688...> On Tue, 2012-08-14 at 09:53 +0000, gambas at ...2524... wrote: > Updates: > Status: Fixed > > Comment #2 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont > terminate > http://code.google.com/p/gambas/issues/detail?id=306 > > OK. Rewrote done in revision #5039. > > As soon as you call 'Signal[Signal.SIGUSR1].Reset' in the Form_Close() > event handler, the form closes normally. Excellent! I thought that might have been the way. B From bbruen at ...2308... Tue Aug 14 12:21:49 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 19:51:49 +0930 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler In-Reply-To: <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Message-ID: <1344939709.23798.13.camel@...2688...> On Tue, 2012-08-14 at 09:23 +0000, gambas at ...2524... wrote: > Updates: > Status: WontFix > Labels: -Version Version-TRUNK > > Comment #1 on issue 307 by benoit.m... at ...626...: gb.signal - IDE > automatically breakpoints in event handler > http://code.google.com/p/gambas/issues/detail?id=307 > > Yes, because the IDE uses SIGUSR1 to tell the debugged program to break! > > Merde! I was hoping to use SIGUSR1 myself. :-( I'll see if I can trap SIGUSR2 instead. B From bbruen at ...2308... Tue Aug 14 13:35:24 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 21:05:24 +0930 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") Message-ID: <1344944125.23798.26.camel@...2688...> Can't build 5040 :-( The last make log is attached, but iirc this is a 32 vs 64 bit error? pliz help. Bruce -------------- next part -------------- configure: loading cache config.cache configure: WARNING: jit component is disabled by configure option checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bb/trunk/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for exp10... (cached) yes checking for exp2... (cached) yes checking for log2... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc and cc understand -c and -o together... (cached) yes checking for libintl headers... (cached) /usr/include/ checking for libintl libraries... (cached) //lib/ checking for libiconv headers... (cached) /usr/include/ checking for libiconv libraries... (cached) no configure: WARNING: This library may be located inside the system C library checking for libffi component with pkg-config... OK checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating share/Makefile config.status: creating gbc/Makefile config.status: creating gbx/Makefile config.status: creating lib/Makefile config.status: creating lib/debug/Makefile config.status: creating lib/eval/Makefile config.status: creating lib/db/Makefile config.status: creating lib/vb/Makefile config.status: creating lib/compress/Makefile config.status: creating lib/option/Makefile config.status: creating lib/draw/Makefile config.status: creating lib/gui/Makefile config.status: creating lib/gui.opengl/Makefile config.status: creating lib/image/Makefile config.status: creating lib/image.effect/Makefile config.status: creating lib/signal/Makefile config.status: creating lib/complex/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || This library may be located inside the system C library, so you can ignore that warning... || === configuring in gb.compress.bzlib2 (/home/bb/trunk/gb.compress.bzlib2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.bzlib2 headers... (cached) /usr/include/ checking for gb.compress.bzlib2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.compress.zlib (/home/bb/trunk/gb.compress.zlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.zlib headers... (cached) /usr/include/ checking for gb.compress.zlib libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.mysql (/home/bb/trunk/gb.db.mysql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.mysql headers... (cached) /usr/include/mysql/ checking for gb.db.mysql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.odbc (/home/bb/trunk/gb.db.odbc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.odbc headers... (cached) /usr/include/ checking for gb.db.odbc libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.postgresql (/home/bb/trunk/gb.db.postgresql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/server/ /usr/include/postgresql/server/catalog/ /usr/include/ checking for gb.db.postgresql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite2 (/home/bb/trunk/gb.db.sqlite2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite2 headers... (cached) /usr/include/ checking for gb.db.sqlite2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite3 (/home/bb/trunk/gb.db.sqlite3) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite3 component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net (/home/bb/trunk/gb.net) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net headers... (cached) checking for gb.net libraries... (cached) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.curl (/home/bb/trunk/gb.net.curl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.curl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.smtp (/home/bb/trunk/gb.net.smtp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.smtp component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pcre (/home/bb/trunk/gb.pcre) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pcre headers... (cached) /usr/include/ checking for gb.pcre libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl (/home/bb/trunk/gb.sdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.sdl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl.sound (/home/bb/trunk/gb.sdl.sound) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for gb.sdl.sound headers... (cached) /usr/include/SDL/ checking for gb.sdl.sound libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.libxml (/home/bb/trunk/gb.libxml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.libxml component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.xml (/home/bb/trunk/gb.xml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CXXFLAGS for gcc -std=c++0x... (cached) -std=c++0x checking for gb.xml headers... (cached) checking for gb.xml libraries... (cached) checking for gb.xml.html headers... (cached) checking for gb.xml.html libraries... (cached) checking for gb.xml.xslt component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/html/Makefile config.status: creating src/xslt/Makefile config.status: creating src/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.v4l (/home/bb/trunk/gb.v4l) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.v4l component with pkg-config... OK checking for gb.v4l headers... (cached) /usr/include/ checking for gb.v4l libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.crypt (/home/bb/trunk/gb.crypt) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.crypt headers... (cached) /usr/include/ checking for gb.crypt libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.qt4 (/home/bb/trunk/gb.qt4) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.qt4 component with pkg-config... OK checking for gb.qt4.ext component with pkg-config... OK checking for gb.qt4.webkit component with pkg-config... OK checking for gb.qt4.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ext/Makefile config.status: creating src/webkit/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gtk (/home/bb/trunk/gb.gtk) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.gtk component with pkg-config... OK checking for gb.gtk.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.opengl (/home/bb/trunk/gb.opengl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.opengl component with pkg-config... OK checking for gb.opengl.glsl component with pkg-config... OK checking for gb.opengl.glu component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/glu/Makefile config.status: creating src/glsl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.desktop (/home/bb/trunk/gb.desktop) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XTestQueryExtension in -lXtst... (cached) yes checking for gb.desktop headers... (cached) checking for gb.desktop libraries... (cached) checking for gb.desktop.gnome component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gnome/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pdf (/home/bb/trunk/gb.pdf) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pdf component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.cairo (/home/bb/trunk/gb.cairo) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.cairo component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.io (/home/bb/trunk/gb.image.io) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.io component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.imlib (/home/bb/trunk/gb.image.imlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.imlib component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.dbus (/home/bb/trunk/gb.dbus) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.dbus component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gsl (/home/bb/trunk/gb.gsl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.gsl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.ncurses (/home/bb/trunk/gb.ncurses) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.ncurses headers... (cached) /usr/include/ checking for gb.ncurses libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.media (/home/bb/trunk/gb.media) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.media component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in comp (/home/bb/trunk/comp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in app (/home/bb/trunk/app) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in examples (/home/bb/trunk/examples) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged || || THESE COMPONENTS ARE DISABLED: || - gb.jit || make all-recursive make[1]: Entering directory `/home/bb/trunk' Making all in main make[2]: Entering directory `/home/bb/trunk/main' make all-recursive make[3]: Entering directory `/home/bb/trunk/main' Making all in gbc make[4]: Entering directory `/home/bb/trunk/main/gbc' gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -MT gbi3-gbi.o -MD -MP -MF .deps/gbi3-gbi.Tpo -c -o gbi3-gbi.o `test -f 'gbi.c' || echo './'`gbi.c mv -f .deps/gbi3-gbi.Tpo .deps/gbi3-gbi.Po /bin/sh ../libtool --tag=CC --mode=link gcc -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -o gbi3 gbi3-gb_error.o gbi3-gb_alloc.o gbi3-gb_array.o gbi3-gb_str.o gbi3-gb_file.o gbi3-gb_table.o gbi3-gb_common.o gbi3-gbc_arch.o gbi3-gbi.o -ldl libtool: link: gcc -DGAMBAS_PATH=\"/usr/local/bin\" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -o gbi3 gbi3-gb_error.o gbi3-gb_alloc.o gbi3-gb_array.o gbi3-gb_str.o gbi3-gb_file.o gbi3-gb_table.o gbi3-gb_common.o gbi3-gbc_arch.o gbi3-gbi.o -ldl make[4]: Leaving directory `/home/bb/trunk/main/gbc' Making all in gbx make[4]: Entering directory `/home/bb/trunk/main/gbx' gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O3 -I../share -MT libgbx_a-gb_error.o -MD -MP -MF .deps/libgbx_a-gb_error.Tpo -c -o libgbx_a-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c mv -f .deps/libgbx_a-gb_error.Tpo .deps/libgbx_a-gb_error.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O3 -I../share -MT libgbx_a-gbx_exec_loop.o -MD -MP -MF .deps/libgbx_a-gbx_exec_loop.Tpo -c -o libgbx_a-gbx_exec_loop.o `test -f 'gbx_exec_loop.c' || echo './'`gbx_exec_loop.c mv -f .deps/libgbx_a-gbx_exec_loop.Tpo .deps/libgbx_a-gbx_exec_loop.Po rm -f libgbx.a ar cru libgbx.a libgbx_a-gb_error.o libgbx_a-gbx_exec_loop.o ranlib libgbx.a /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c -o gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gb_la-gbx_c_class.o mv -f .deps/gb_la-gbx_c_class.Tpo .deps/gb_la-gbx_c_class.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c -o gb_la-gbx_c_collection.lo `test -f 'gbx_c_collection.c' || echo './'`gbx_c_collection.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c gbx_c_collection.c -fPIC -DPIC -o .libs/gb_la-gbx_c_collection.o mv -f .deps/gb_la-gbx_c_collection.Tpo .deps/gb_la-gbx_c_collection.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c -o gb_la-gbx_c_error.lo `test -f 'gbx_c_error.c' || echo './'`gbx_c_error.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c gbx_c_error.c -fPIC -DPIC -o .libs/gb_la-gbx_c_error.o mv -f .deps/gb_la-gbx_c_error.Tpo .deps/gb_la-gbx_c_error.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c -o gb_la-gbx_c_gambas.lo `test -f 'gbx_c_gambas.c' || echo './'`gbx_c_gambas.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c gbx_c_gambas.c -fPIC -DPIC -o .libs/gb_la-gbx_c_gambas.o mv -f .deps/gb_la-gbx_c_gambas.Tpo .deps/gb_la-gbx_c_gambas.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c -o gb_la-gbx_c_file.lo `test -f 'gbx_c_file.c' || echo './'`gbx_c_file.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c gbx_c_file.c -fPIC -DPIC -o .libs/gb_la-gbx_c_file.o mv -f .deps/gb_la-gbx_c_file.Tpo .deps/gb_la-gbx_c_file.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c -o gb_la-gbx_c_application.lo `test -f 'gbx_c_application.c' || echo './'`gbx_c_application.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c gbx_c_application.c -fPIC -DPIC -o .libs/gb_la-gbx_c_application.o mv -f .deps/gb_la-gbx_c_application.Tpo .deps/gb_la-gbx_c_application.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_system.lo -MD -MP -MF .deps/gb_la-gbx_c_system.Tpo -c -o gb_la-gbx_c_system.lo `test -f 'gbx_c_system.c' || echo './'`gbx_c_system.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_system.lo -MD -MP -MF .deps/gb_la-gbx_c_system.Tpo -c gbx_c_system.c -fPIC -DPIC -o .libs/gb_la-gbx_c_system.o mv -f .deps/gb_la-gbx_c_system.Tpo .deps/gb_la-gbx_c_system.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c -o gb_la-gbx_c_array.lo `test -f 'gbx_c_array.c' || echo './'`gbx_c_array.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c gbx_c_array.c -fPIC -DPIC -o .libs/gb_la-gbx_c_array.o mv -f .deps/gb_la-gbx_c_array.Tpo .deps/gb_la-gbx_c_array.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c -o gb_la-gbx_c_process.lo `test -f 'gbx_c_process.c' || echo './'`gbx_c_process.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c gbx_c_process.c -fPIC -DPIC -o .libs/gb_la-gbx_c_process.o mv -f .deps/gb_la-gbx_c_process.Tpo .deps/gb_la-gbx_c_process.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c -o gb_la-gbx_c_string.lo `test -f 'gbx_c_string.c' || echo './'`gbx_c_string.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c gbx_c_string.c -fPIC -DPIC -o .libs/gb_la-gbx_c_string.o mv -f .deps/gb_la-gbx_c_string.Tpo .deps/gb_la-gbx_c_string.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_observer.lo -MD -MP -MF .deps/gb_la-gbx_c_observer.Tpo -c -o gb_la-gbx_c_observer.lo `test -f 'gbx_c_observer.c' || echo './'`gbx_c_observer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_observer.lo -MD -MP -MF .deps/gb_la-gbx_c_observer.Tpo -c gbx_c_observer.c -fPIC -DPIC -o .libs/gb_la-gbx_c_observer.o mv -f .deps/gb_la-gbx_c_observer.Tpo .deps/gb_la-gbx_c_observer.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c -o gb_la-gbx_c_subcollection.lo `test -f 'gbx_c_subcollection.c' || echo './'`gbx_c_subcollection.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c gbx_c_subcollection.c -fPIC -DPIC -o .libs/gb_la-gbx_c_subcollection.o mv -f .deps/gb_la-gbx_c_subcollection.Tpo .deps/gb_la-gbx_c_subcollection.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c -o gb_la-gbx_c_enum.lo `test -f 'gbx_c_enum.c' || echo './'`gbx_c_enum.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c gbx_c_enum.c -fPIC -DPIC -o .libs/gb_la-gbx_c_enum.o mv -f .deps/gb_la-gbx_c_enum.Tpo .deps/gb_la-gbx_c_enum.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c -o gb_la-gbx_c_timer.lo `test -f 'gbx_c_timer.c' || echo './'`gbx_c_timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c gbx_c_timer.c -fPIC -DPIC -o .libs/gb_la-gbx_c_timer.o mv -f .deps/gb_la-gbx_c_timer.Tpo .deps/gb_la-gbx_c_timer.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c -o gb_la-gbx_class_info.lo `test -f 'gbx_class_info.c' || echo './'`gbx_class_info.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c gbx_class_info.c -fPIC -DPIC -o .libs/gb_la-gbx_class_info.o mv -f .deps/gb_la-gbx_class_info.Tpo .deps/gb_la-gbx_class_info.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -module -L//lib/ -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_system.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_observer.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -lintl -ldl -lpthread -lffi libtool: link: rm -fr .libs/gb.la .libs/gb.lai .libs/gb.so .libs/gb.so.0 .libs/gb.so.0.0.0 libtool: link: gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_system.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_observer.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o -L//lib/ -lm -lintl -ldl -lpthread -lffi -Wl,-soname -Wl,gb.so.0 -o .libs/gb.so.0.0.0 libtool: link: (cd ".libs" && rm -f "gb.so.0" && ln -s "gb.so.0.0.0" "gb.so.0") libtool: link: (cd ".libs" && rm -f "gb.so" && ln -s "gb.so.0.0.0" "gb.so") libtool: link: ( cd ".libs" && rm -f "gb.la" && ln -s "../gb.la" "gb.la" ) gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_jit.o -MD -MP -MF .deps/gbx3-gbx_jit.Tpo -c -o gbx3-gbx_jit.o `test -f 'gbx_jit.c' || echo './'`gbx_jit.c mv -f .deps/gbx3-gbx_jit.Tpo .deps/gbx3-gbx_jit.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_stack.o -MD -MP -MF .deps/gbx3-gbx_stack.Tpo -c -o gbx3-gbx_stack.o `test -f 'gbx_stack.c' || echo './'`gbx_stack.c mv -f .deps/gbx3-gbx_stack.Tpo .deps/gbx3-gbx_stack.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_value.o -MD -MP -MF .deps/gbx3-gbx_value.Tpo -c -o gbx3-gbx_value.o `test -f 'gbx_value.c' || echo './'`gbx_value.c mv -f .deps/gbx3-gbx_value.Tpo .deps/gbx3-gbx_value.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_type.o -MD -MP -MF .deps/gbx3-gbx_type.Tpo -c -o gbx3-gbx_type.o `test -f 'gbx_type.c' || echo './'`gbx_type.c mv -f .deps/gbx3-gbx_type.Tpo .deps/gbx3-gbx_type.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec.o -MD -MP -MF .deps/gbx3-gbx_exec.Tpo -c -o gbx3-gbx_exec.o `test -f 'gbx_exec.c' || echo './'`gbx_exec.c mv -f .deps/gbx3-gbx_exec.Tpo .deps/gbx3-gbx_exec.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_push.o -MD -MP -MF .deps/gbx3-gbx_exec_push.Tpo -c -o gbx3-gbx_exec_push.o `test -f 'gbx_exec_push.c' || echo './'`gbx_exec_push.c mv -f .deps/gbx3-gbx_exec_push.Tpo .deps/gbx3-gbx_exec_push.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_enum.o -MD -MP -MF .deps/gbx3-gbx_exec_enum.Tpo -c -o gbx3-gbx_exec_enum.o `test -f 'gbx_exec_enum.c' || echo './'`gbx_exec_enum.c mv -f .deps/gbx3-gbx_exec_enum.Tpo .deps/gbx3-gbx_exec_enum.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_pop.o -MD -MP -MF .deps/gbx3-gbx_exec_pop.Tpo -c -o gbx3-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo './'`gbx_exec_pop.c mv -f .deps/gbx3-gbx_exec_pop.Tpo .deps/gbx3-gbx_exec_pop.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_operator.o -MD -MP -MF .deps/gbx3-gbx_exec_operator.Tpo -c -o gbx3-gbx_exec_operator.o `test -f 'gbx_exec_operator.c' || echo './'`gbx_exec_operator.c mv -f .deps/gbx3-gbx_exec_operator.Tpo .deps/gbx3-gbx_exec_operator.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_class_init.o -MD -MP -MF .deps/gbx3-gbx_class_init.Tpo -c -o gbx3-gbx_class_init.o `test -f 'gbx_class_init.c' || echo './'`gbx_class_init.c mv -f .deps/gbx3-gbx_class_init.Tpo .deps/gbx3-gbx_class_init.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_class.o -MD -MP -MF .deps/gbx3-gbx_class.Tpo -c -o gbx3-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c gbx_class.c: In function ?CLASS_DESC_get_type_name?: gbx_class.c:912:22: error: ?CLASS_DESC_GAMBAS? has no member named ?val4? gbx_class.c:927:1: warning: control reaches end of non-void function make[4]: *** [gbx3-gbx_class.o] Error 1 make[4]: Leaving directory `/home/bb/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk' make: *** [all] Error 2 Making install in main make[1]: Entering directory `/home/bb/trunk/main' Making install in gbc make[2]: Entering directory `/home/bb/trunk/main/gbc' make[3]: Entering directory `/home/bb/trunk/main/gbc' test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c gbc3 gba3 gbi3 '/usr/local/bin' libtool: install: /usr/bin/install -c gbc3 /usr/local/bin/gbc3 /usr/bin/install: cannot remove `/usr/local/bin/gbc3': Permission denied make[3]: *** [install-binPROGRAMS] Error 1 make[3]: Leaving directory `/home/bb/trunk/main/gbc' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/bb/trunk/main/gbc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk/main' make: *** [install-recursive] Error 1 From gambas at ...1... Tue Aug 14 13:47:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:47:30 +0200 Subject: [Gambas-user] Proposal: Add-Ins for the Gambas3 IDE In-Reply-To: <1344921039.23798.8.camel@...2688...> References: <1344921039.23798.8.camel@...2688...> Message-ID: <502A3AD2.1040705@...1...> Le 14/08/2012 07:10, Bruce a ?crit : > Dear folks, > > I hope you can forgive the long post and manage to wade through the > following. > > Introduction > ------------ > This (the attached) project is a "proof of concept" (herafter "POC") for > a means to add a capability to the Gambas3 IDE to allow add-in programs > to be called directly from within the IDE. As a POC, there are many > unimplemented features and requirements but it suffices to demonstrate > the concept at a minimal level of complexity. > > It has been distributed by Paddys-Hill dot Net in order to guage whether > there is an initial level of interest in the idea within the Gambas > community and to garner any feedback regarding the concept or its > current vision for deployment. > > Disclaimer > ---------- > Subject to the level of interest displayed, Paddys-Hill dot Net may at > its own discretion continue the development of the concept with view to > having it included in the public Gambas 3 product. There is no > guarantee, express or implied in that, that the concept will be > developed further by Paddys-Hill dot Net. > > Background > ---------- > Over the last years, Paddys-Hill dot Net has developed a set of utility > programs that assist the Gambas programmer. We imagine the same has > occurred in other Gambas 3 development organizations and even in the > case of single developers who use Gambas 3 for their own private > programming purposes. > However, our utilities (and we imagine, yours) are not integrated into > the Gambas IDE and so are not readliy accessible from within the IDE. > In short, they are stand alone programs (developed mainly in Gambas) > that are started when needed from menus, desktop icons etc etc. > Some time ago, (Gambas 2.19??) I started looking into how these utilites > could be incorporated into the IDE and yet remain outside the core > Gambas product. In other words, how to "add something in" to the IDE > without affecting it. I had little success under Gambas 2 and put the > idea, and work on it, on hold. Recently, I have revitalised the idea > and we have progressed it to a much more stable base under Gambas 3. > There is still a lot of work to be done yet though! > > Concepts, Requirements and Principals > ------------------------------------- > 1) The entire management and administration of add-ins should be > encapsulated and separate from the main IDE code, i.e. in short, it > should all reside in a Gambas 3 Component. > 2) The interaction of the IDE with the component must be kept at an > absolute minimum in order to preserve the stability of the Gambas IDE. > 3) No add-in should require direct support from the IDE. That is, there > should be no code changes to the IDE necessary to support a specific > add-in. > 4) Add-ins (i.e. the payload part) could be any executable. To expand > that, I foresee three general types of addins: utilities written in > Gambas code and run as a normal executable; utilities based on external > code that are "wrapped" in a Gambas framework to provide the add-in > infrastructure; and "simple" external utilities/programs where it may be > "handy" to invoke from within the IDE. > 5) There "may be" information flow from the IDE to the add-in when it is > started (handled by the "manager" component) but initially and for some > forseeable future, there will be no information flow back from the > add-in to the IDE. This is again so there is no impact on the IDE. > 6) Add-in management should persist between invocations of the IDE on a > per user basis. That is, if the user enables an add-in during an IDE > session, then it should be enabled again automatically when another IDE > session is started. (In other words, the manager will use the Settings > component and the users gambas3.config file to store the enabled > add-ins.) > 7) Closing the IDE should close all instances of add-ins started and > running for that session. > > The POC project > --------------- > The POC is contained in a single source archive attached "addinmeta1". > It consists of a simple main form (FTest) that emulates the IDE in a > @@very rudimentary@@ way. (Note: It does contain extraneous matter due > to where it came from. These other "features" should be ignored.) > The other major contents are the FAIManager form, which provides the > administration of add-ins and is the only thing "visible" to our "IDE". > > The "IDE" form (FTest) shows that the only changes that would be needed > in the Gambas IDE. These are : > * addition of the "Add Ins" menu item in the Tools menu > * addition of a private global variable "$addinmgr" to reference > the manager > * instantiation of the $addinmgr when the IDE form is first > opened, and > * a call to the $addinmgr.CloseAll method issued when the IDE is > closed. > > In order to demonstrate the concept, we have also attached a simple > addin that opens a virtual terminal (woohoo!) Not very useful I know, > but we are POC'ing here! It is in the "runterminal_simple" autotools > archive. > > To have a look at the demonstration: > ------------------------------------ > 1) Unpack and install the runterminal_simple app somewhere handy. > 2) Unpack the addinmeta archive somewhere and open the contained project > in the Gambas3 IDE. (This is important!) > 3) Run the project from within the Gambas IDE > a) Select the File|Open menu item and load one of the source > files (just to give a feeling of the fake IDE, hereafter called > the Add-Ins POC) > b) Select Tools|Add Ins|Manager menu item, this will open the > Manager > c) Click on the blue "+" button (Register a new add-in), > navigate to where you placed the runterminal_simple executable > and select it (the .gambas file!) and click OK > d) This registers the addd-in and automatically activates it. > e) Click the OK button in the Manager form (saves the Settings > for the add-in, if you click Cancel the add-in is active for the > current "Add-Ins POC" session only!) > f) You should now have a new menu item in the Add Ins menu > "runterm_simple" and clicking on it should (hopefully !) open > the default terminal for your desktop. > g) Leave the terminal running and close the "Add-Ins POC". The > terminal should also close. > h) IMPORTANT. The POC process will not terminate properly. This > is because of Issue #306. Just use the "stop run" button in the > Gambas IDE. > i) Have a play around with the POC. > > Outstanding Items/Bugs/etc > -------------------------- > Apart from issue #306, there are some other problems evident in the POC. > Sometimes the terminal will not close, it loses connection with the POC > somehow. The Manager form is incomplete if you look at the full set of > properties that need to be massaged to complete the add-in profile. etc > etc. It's just a POC! > > Next Steps > ---------- > Ours > ---- > We will be continuing the development of the POC for our own use and if > people are interested we will release a stable component version for > Benoit to consider for inclusion. > > Yours > ----- > Please let me know if you think this might be a valuable feature for the > IDE > Please let me know if you'd like to help!!!! > > > Thanks for you patience in reading this rather long and large posting > best regards > Bruce > The ideas are good, but I don't really like the code (no offense!). Far too complex for my tastes. :-) I have already think about adding some sort of "actions" to the IDE tools menu. These actions would be external programs that receive information about the project as arguments, and then perform their action, then eventually return. As for automatically closing child programs when exiting, I think I could add an option for that in the Process class. That would be a useful feature I think. Please explain exactly what features you need in addition to what I have just described. Maybe if I implement that, you will just have to directly use it. Regards, -- Beno?t Minisini From gambas at ...1... Tue Aug 14 13:48:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:48:33 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <1344944125.23798.26.camel@...2688...> References: <1344944125.23798.26.camel@...2688...> Message-ID: <502A3B11.2010406@...1...> Le 14/08/2012 13:35, Bruce a ?crit : > Can't build 5040 :-( > > The last make log is attached, but iirc this is a 32 vs 64 bit error? > > pliz help. > > Bruce > What is the last revision you successfully compiled in 32 bits? -- Beno?t Minisini From gambas at ...1... Tue Aug 14 13:51:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:51:21 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <502A3B11.2010406@...1...> References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> Message-ID: <502A3BB9.7010208@...1...> Le 14/08/2012 13:48, Beno?t Minisini a ?crit : > Le 14/08/2012 13:35, Bruce a ?crit : >> Can't build 5040 :-( >> >> The last make log is attached, but iirc this is a 32 vs 64 bit error? >> >> pliz help. >> >> Bruce >> > > What is the last revision you successfully compiled in 32 bits? > Mmm... Are you sure that you are compiling rev 5040? The error messages shows some lines of code that do not exist anymore. -- Beno?t Minisini From ualex73 at ...626... Tue Aug 14 16:11:11 2012 From: ualex73 at ...626... (Alexie) Date: Tue, 14 Aug 2012 16:11:11 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <502A3BB9.7010208@...1...> References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> <502A3BB9.7010208@...1...> Message-ID: I can successfully compile r5040 on Lubuntu 10.04 32-bits (just did it) 2012/8/14 Beno?t Minisini > Le 14/08/2012 13:48, Beno?t Minisini a ?crit : > > Le 14/08/2012 13:35, Bruce a ?crit : > >> Can't build 5040 :-( > >> > >> The last make log is attached, but iirc this is a 32 vs 64 bit error? > >> > >> pliz help. > >> > >> Bruce > >> > > > > What is the last revision you successfully compiled in 32 bits? > > > > Mmm... Are you sure that you are compiling rev 5040? The error messages > shows some lines of code that do not exist anymore. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Aug 14 18:08:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 16:08:22 +0000 Subject: [Gambas-user] Issue 310 in gambas: Crash when profiler code with Eval() Message-ID: <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Crash Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 310 by jussi.la... at ...626...: Crash when profiler code with Eval() http://code.google.com/p/gambas/issues/detail?id=310 1) Describe the problem. Print Eval("1+2+3") Crashes under profiling. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5038 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 3) Provide a little project that reproduces the bug or the crash. Attached. 5) Explain clearly how to reproduce the bug or the crash. Set profiler on, and run the code. Attachments: BugHunt-0.0.1.tar.gz 4.5 KB From gambas at ...1... Tue Aug 14 19:59:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 19:59:08 +0200 Subject: [Gambas-user] New feature in the IDE code editor Message-ID: <502A91EC.1030008@...1...> Hi, In revision #5041, I started to implement automatic declaration of undeclared local variable. For example, if you type: X = Sin(A) And if X is not declared, then the IDE will automatically add: Dim X As Float At the beginning of the function. This is not finished yet. The following is missing: - Support for FOR / FOR EACH loop variables. - Detection of the [ ... ] array creation operator. - Lot of tests. Enjoy it! -- Beno?t Minisini From mohareve at ...626... Tue Aug 14 20:00:59 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 14 Aug 2012 20:00:59 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502A91EC.1030008@...1...> References: <502A91EC.1030008@...1...> Message-ID: That will be great! Csaba From support at ...2529... Tue Aug 14 21:46:00 2012 From: support at ...2529... (John Spikowski) Date: Tue, 14 Aug 2012 12:46:00 -0700 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502A91EC.1030008@...1...> References: <502A91EC.1030008@...1...> Message-ID: <1344973560.4170.3.camel@...1833...> Personally I would have opted for a warning message indicating a missing declaration. I have problems when the IDE decides to take over my job as the programmer. On Tue, 2012-08-14 at 19:59 +0200, Beno?t Minisini wrote: > Hi, > > In revision #5041, I started to implement automatic declaration of > undeclared local variable. > > For example, if you type: > > X = Sin(A) > > And if X is not declared, then the IDE will automatically add: > > Dim X As Float > > At the beginning of the function. > > This is not finished yet. The following is missing: > - Support for FOR / FOR EACH loop variables. > - Detection of the [ ... ] array creation operator. > - Lot of tests. > > Enjoy it! > From sunblaster5 at ...626... Tue Aug 14 22:51:16 2012 From: sunblaster5 at ...626... (acidblue) Date: Tue, 14 Aug 2012 13:51:16 -0700 (PDT) Subject: [Gambas-user] Update DataView?? In-Reply-To: References: <1344618888.1993.20.camel@...2901...> Message-ID: <34298922.post@...1379...> "Unknown Symbol DataView1 in class FMain" Is the error I'm getting. Sorry for the late reply. Code: Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Else FMain.DataView1.Update Message.Info("Update was successful") Endif Fabien Bodard-4 wrote: > > 2012/8/10 rocko > >> Is it possible to update a dataview in realtime? >> I Have an SQlite database that i acces with a dataSource >> and dataview. >> I have a form that enables users to add records to the database, >> But the dataview doesn't update untill i re-run the program. >> >> I would like to have the dataview update when it adds a record. >> Iv'e tried this: >> DataView1.Update but that gives an error. >> Do I have to update the DataSource first?? >> > > normally it will be update... > > what error do you have ? > > >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Update-DataView---tp34282921p34298922.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Aug 14 22:58:47 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Aug 2012 22:58:47 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <1344973560.4170.3.camel@...1833...> References: <502A91EC.1030008@...1...> <1344973560.4170.3.camel@...1833...> Message-ID: <502ABC07.4070900@...1...> Le 14/08/2012 21:46, John Spikowski a ?crit : > Personally I would have opted for a warning message indicating a missing > declaration. I have problems when the IDE decides to take over my job as > the programmer. > There is a new option to disable this feature if you want. -- Beno?t Minisini From sunblaster5 at ...626... Tue Aug 14 23:04:24 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 14 Aug 2012 14:04:24 -0700 Subject: [Gambas-user] Trying to update table in SQLite Message-ID: <1344978264.2390.4.camel@...2901...> I'm trying to send data back to a table after retrieving it and doing some math to it. I tried doing a table update like>> table.Update But that doesn't seem to work. CODE: FNew.rTable = FMain.$hConn.Create("inventory") sResult = $hConn.Find("inventory", id = &1, ID) For Each sResult $date1 = sResult!endDate $date2 = Now Print $date2 $daysLeft = sResult!daysLeft $daysLeft = DateDiff($date2, $date1, gb.Day) Print $daysLeft FNew.rTable.Update I need to update the "daysLeft" field in the "inventory" table. From karl.reinl at ...9... Tue Aug 14 23:45:25 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 14 Aug 2012 23:45:25 +0200 Subject: [Gambas-user] just a question about editor-bookmarks Message-ID: <1344980725.2916.17.camel@...40...> Salut Beno?t, while missing bookmarks in the gambas IDE editor, I use the breakpoints which work like a charm for that. So my question is, can that method not be used to add 'bookmarks' to the editor? -- Amicalement Charlie From gambas at ...1... Tue Aug 14 23:56:59 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Aug 2012 23:56:59 +0200 Subject: [Gambas-user] just a question about editor-bookmarks In-Reply-To: <1344980725.2916.17.camel@...40...> References: <1344980725.2916.17.camel@...40...> Message-ID: <502AC9AB.9070908@...1...> Le 14/08/2012 23:45, Karl Reinl a ?crit : > Salut Beno?t, > > while missing bookmarks in the gambas IDE editor, I use the breakpoints > which work like a charm for that. > So my question is, can that method not be used to add 'bookmarks' to the > editor? > > Ha! Yes... The bookmarks... :-) -- Beno?t Minisini From karl.reinl at ...9... Wed Aug 15 00:03:09 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 15 Aug 2012 00:03:09 +0200 Subject: [Gambas-user] switch into debug mode Message-ID: <1344981789.2916.32.camel@...40...> Salut Beno?t, when I work with vba (MS-Office programming) there it a very good feature, when an error raise with a MsgBox. You press [Ctrl]+[Pause] then you switch into debug mode, just at the line where the error occurred, a very handy feature. -- Amicalement Charlie From bbruen at ...2308... Wed Aug 15 00:13:09 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 15 Aug 2012 07:43:09 +0930 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> <502A3BB9.7010208@...1...> Message-ID: <1344982389.23798.83.camel@...2688...> Perhaps it would make more sense if I attached the right output file. Sorry about that. Bruce -------------- next part -------------- configure: loading cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bb/trunk/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for exp10... (cached) yes checking for exp2... (cached) yes checking for log2... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc and cc understand -c and -o together... (cached) yes checking for libintl headers... (cached) /usr/include/ checking for libintl libraries... (cached) //lib/ checking for libiconv headers... (cached) /usr/include/ checking for libiconv libraries... (cached) no configure: WARNING: This library may be located inside the system C library checking for libffi component with pkg-config... OK checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating share/Makefile config.status: creating gbc/Makefile config.status: creating gbx/Makefile config.status: creating lib/Makefile config.status: creating lib/debug/Makefile config.status: creating lib/eval/Makefile config.status: creating lib/db/Makefile config.status: creating lib/vb/Makefile config.status: creating lib/compress/Makefile config.status: creating lib/option/Makefile config.status: creating lib/draw/Makefile config.status: creating lib/gui/Makefile config.status: creating lib/gui.opengl/Makefile config.status: creating lib/image/Makefile config.status: creating lib/image.effect/Makefile config.status: creating lib/signal/Makefile config.status: creating lib/complex/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || This library may be located inside the system C library, so you can ignore that warning... || === configuring in gb.compress.bzlib2 (/home/bb/trunk/gb.compress.bzlib2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.bzlib2 headers... (cached) /usr/include/ checking for gb.compress.bzlib2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.compress.zlib (/home/bb/trunk/gb.compress.zlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.zlib headers... (cached) /usr/include/ checking for gb.compress.zlib libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.mysql (/home/bb/trunk/gb.db.mysql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.mysql headers... (cached) /usr/include/mysql/ checking for gb.db.mysql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.odbc (/home/bb/trunk/gb.db.odbc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.odbc headers... (cached) /usr/include/ checking for gb.db.odbc libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.postgresql (/home/bb/trunk/gb.db.postgresql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/server/ /usr/include/postgresql/server/catalog/ /usr/include/ checking for gb.db.postgresql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite2 (/home/bb/trunk/gb.db.sqlite2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite2 headers... (cached) /usr/include/ checking for gb.db.sqlite2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite3 (/home/bb/trunk/gb.db.sqlite3) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite3 component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net (/home/bb/trunk/gb.net) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net headers... (cached) checking for gb.net libraries... (cached) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.curl (/home/bb/trunk/gb.net.curl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.curl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.smtp (/home/bb/trunk/gb.net.smtp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.smtp component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pcre (/home/bb/trunk/gb.pcre) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pcre headers... (cached) /usr/include/ checking for gb.pcre libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl (/home/bb/trunk/gb.sdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.sdl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl.sound (/home/bb/trunk/gb.sdl.sound) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for gb.sdl.sound headers... (cached) /usr/include/SDL/ checking for gb.sdl.sound libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.libxml (/home/bb/trunk/gb.libxml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.libxml component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.xml (/home/bb/trunk/gb.xml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CXXFLAGS for gcc -std=c++0x... (cached) -std=c++0x checking for gb.xml headers... (cached) checking for gb.xml libraries... (cached) checking for gb.xml.html headers... (cached) checking for gb.xml.html libraries... (cached) checking for gb.xml.xslt component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/html/Makefile config.status: creating src/xslt/Makefile config.status: creating src/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.v4l (/home/bb/trunk/gb.v4l) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.v4l component with pkg-config... OK checking for gb.v4l headers... (cached) /usr/include/ checking for gb.v4l libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.crypt (/home/bb/trunk/gb.crypt) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.crypt headers... (cached) /usr/include/ checking for gb.crypt libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.qt4 (/home/bb/trunk/gb.qt4) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.qt4 component with pkg-config... OK checking for gb.qt4.ext component with pkg-config... OK checking for gb.qt4.webkit component with pkg-config... OK checking for gb.qt4.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ext/Makefile config.status: creating src/webkit/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gtk (/home/bb/trunk/gb.gtk) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.gtk component with pkg-config... OK checking for gb.gtk.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.opengl (/home/bb/trunk/gb.opengl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.opengl component with pkg-config... OK checking for gb.opengl.glsl component with pkg-config... OK checking for gb.opengl.glu component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/glu/Makefile config.status: creating src/glsl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.
Name Value