From vschmid at ...210... Mon Sep 1 07:47:52 2003 From: vschmid at ...210... (Volker Schmid) Date: Mon, 01 Sep 2003 07:47:52 +0200 Subject: [Gambas-user] How to make multidimensional array? In-Reply-To: <1062267883.4884.8.camel@...248...> References: <200308301223.51162.gambas@...2...> <1062267883.4884.8.camel@...248...> Message-ID: Hello Benoit, Nelson, Thank you, I will try that tomorrow. Gr?sse, Volker From ronstk at ...239... Wed Sep 3 04:05:54 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 04:05:54 +0200 Subject: [Gambas-user] Re: SuSE 8.2 and Gambas Message-ID: <000001c371bf$e830a460$2101a8c0@...240...> Hi Benoit, For your request about installing on SuSE 8.2. I have compiled gambas 0.63 with the option --disable-db-component on SuSE 8.2 (no update, with qt 3.1.1 and KDE 3.1.1) and everything worked perfectly well. The only thing I had to do with 0.44 from SuSE was add a symbolic link in /usr/bin/ as libqt-mt.so to /usr/lib/qt3/lib/libqt-mt.so.3.1.1 and a link as libqt-mt.so.3 was there from the SuSE instalation. I had only some warning at the middle part (posted before) for 0.44 and 0.63 Compiling and installing gambas 0.65a with the ption --disable-db-component on the same system worked for me. Almost all warning were gone but only 3 warning regarding something about moc moc_CMessage.cpp, moc_CPrinter.cpp, moc_CProgres with the message 'No relevant classes found'. And as last one a datatype error. qeditor.cpp: In member function 'void QEditor::wrapline(int, int)': qeditor.cpp:4645/4647: warning: array subscript has type 'char' I have never seen "The program stopped unexpectedly by raising signal #11...". The only other compile and install was TiMidity and compiled before Gambas. I had also some other downloaded from SuSE but never found them. Afterall I found it was in the KDE menu but not SuSE menu. It looks SuSE sometime exchange the SuSE and KDE menu entry position as KDE in SuSE and SuSE in KDE menu's. The default is SuSE menu and I didn't found Gambas till I changed the menu in Control Center to see the diffs. I was yelling the programs were wrong and did not install. Sorry for them. It is now for 14 day's on my barebone Asus Terminator having all I/O on board. 1 PCI slot on mainboard. Pentium Celeron 2200Mc Und Marco, wie hast du den SuSE 8.2 mit KDE 3.1.3 bekommen? Ich habe nur mit FTP und nicht Yast ein Ordner gefunden mit manche Dateien aber kein installations Information wie Ich es installieren sol weiter functionierd es einfag und bin zufrieden damit. Ich ein teil fuer "http://www.nordphila.com" Briefmarken auktion das bieten formular in 5 sprachen gemacht. Dadurch etwas Deutsch ;) I must only learn to program in C/C++ or use Gambas, Basic is wel known for almost 20 years including a building an interpreter at the end of the 70's wich is used for several years in home made hardware projects with Z80 CPU. From ronstk at ...239... Wed Sep 3 05:31:43 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 05:31:43 +0200 Subject: [Gambas-user] C or Gambas? thats the question! Message-ID: <000101c371cb$e5742600$2101a8c0@...240...> Just finished a simple .bas file reader for lexical detection the keywords and structure is found. Yesss, written in C++. I'am a big programmer. LOL :) Did a C trial around 1992 with windows 3.0 :( It was just like windows in device manager, "All is working well', and as well known, no way. All those >$*($#}**< pre and suffixes in C. Less LOL. My TCP/IP AX25 packet network server with Z80 was easer to make in asm. Now the translator/compiler to P-code as definied by Jensen & Wirth. Nicklaus Wirth is the inventor of the programming languages Pascal, Modula-2 and Oberon. And then from Rockwell the 6502 variant for P-Code execution in it. Some KIM, TIM, RIOT and VIA chips as in the AIM65, Bye-bye WindowsSuckEdition. Or do I take the Intel 4004? I have one still working at high speed of 500kc but not enough ROM/RAM 2 x 1024 bytes. Overclocked 250kc normal!. But as steamboot doorbell still functional. Lives longer then Pentium. That were the good times. i8748 from 6mc at 24mc and bare to create a tv testpatern in code. Now 10% clockspeed up and the chip is gone. I know this is no bug report or feature request. I was only so happy. May be I can make a kind of a box to type some text and a button with the info as 'Send' on it, nice to send a message to the Gambas list. ---------- Greets Ron From ronstk at ...239... Wed Sep 3 06:22:53 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 06:22:53 +0200 Subject: [Gambas-user] IDE Extention. Message-ID: <000201c371d3$0b0f5c20$2101a8c0@...240...> First I take the content form /usr/local/src/gambas-0.65a/app/Gambas and put it in /opt/gambas/share/gambas. Then I add a little bit helping code in one of the forms. For v0.65 in my bin directory the size is 840kb. Then I compile and make executable of it and it was 1000kb. So here was something wrong. I reread and removed comments. Changed in my code the 'if ... then <1 statement> endif' to single line 'if ... then ' and dropped some temp variable used for control properties. Compiling now was 717kb Are there some settings I have to look for and is there a guide line how to make a compact result. I know i.e. a global Float[10000] is asking for space. But my code are several subs called if a condition flag is set. In short, is copy gambas source dir from the installed .bz2 source to the example dir, edit something, build the result file and copy the result to the normal bin the proper way? BTW the version info in the 0.65a .project is 0.62.56 ---------- Ron From rizky at ...225... Wed Sep 3 06:36:07 2003 From: rizky at ...225... (tahara!) Date: Wed, 3 Sep 2003 11:36:07 +0700 Subject: [Gambas-user] combobox In-Reply-To: <000101c371cb$e5742600$2101a8c0@...240...> References: <000101c371cb$e5742600$2101a8c0@...240...> Message-ID: <200309031136.07123.rizky@...225...> hi, i make a combobox and have lists in that combobox and i wanna the combobox is readonly=true... when the program runs, i want the list that i want, to be a default selected... so not the first list item that show when the program runs. how can i do that in gambas ? From ronstk at ...239... Wed Sep 3 14:16:22 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 14:16:22 +0200 Subject: [Gambas-user] Editor request Message-ID: <000001c37215$30465060$2101a8c0@...240...> Is it posible to get the line number of the first visible line and how many are visible in the GambasEditor? Also what should the ToPos, ToLine and ToColumn return as integer. I did found something in the src but cryptic QMAX(QMIN(pos-.lines)) ;( Ron From ronstk at ...239... Wed Sep 3 15:10:33 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 15:10:33 +0200 Subject: [Gambas-user] RE: Combobox selection Tahara Message-ID: <000101c3721c$c1b7ba00$2101a8c0@...240...> Hi Tahara I'm not shure from your question you mean the Combobox itself or one of the entries in it. If you want the Combobox is default selected in the form you can use in main() ComboBox.SetFocus(). If you mean one of the entries in the list you can use 3 ways. 1) ComboBox.Text="Tahara", it must be the text you want from the list 2) Combobox.Index=2, if it is the 3'word in the list Index is zero based. Like "aa", "bb", "Tahara", "cc" and "dd" 3) If the entry position is unknown. DIM arList as String[] DIM iEntry as Integer arList = Split(Combobox.list,"\n") iEntry = arList.Find("Tahara",gbText) if iEntry>0 THEN Combobox.Index = iEntry ELSE Message ("Not Found") ENDIF ------ Ron From ronstk at ...239... Wed Sep 3 15:48:13 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 15:48:13 +0200 Subject: [Gambas-user] PVRec program (Rob) Message-ID: <000001c37222$0540e760$2101a8c0@...240...> PUBLIC FUNCTION GetNextDefaultFilename() AS String DIM i AS Integer i = 0 DO WHILE Exist(Application.home &/ "pvrusb" & i & ".mpg") i = i + 1 LOOP RETURN Application.home &/ "pvrusb" & Format(i, "000") & ".mpg" END Hum, if 1'st file is saved as pvrusb000.mpg then DO WHILE can not find it, So the new one can be saved as pvrusb000.mpg. I think a better job wil be: DO WHILE Exist(Application.home &/ "pvrusb" & Format(i, "000") & ".mpg") ----- Ron From nferraz at ...184... Wed Sep 3 15:59:26 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 03 Sep 2003 10:59:26 -0300 Subject: [Gambas-user] C or Gambas? thats the question! In-Reply-To: <000101c371cb$e5742600$2101a8c0@...240...> References: <000101c371cb$e5742600$2101a8c0@...240...> Message-ID: <1062597566.14531.11.camel@...40...> Em Qua, 2003-09-03 ??s 00:31, R Onstenk escreveu: > Just finished a simple .bas file reader for lexical detection > the keywords and structure is found. Yesss, written in C++. > I'am a big programmer. LOL :) It sounds interesting, but what is a ".bas file reader for lexical detection"? I looked for "lexical detection" on Google, and found something related to Psychology :) []s Nelson From nferraz at ...184... Wed Sep 3 16:47:29 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 03 Sep 2003 11:47:29 -0300 Subject: [Gambas-user] PVRec program (Rob) In-Reply-To: <000001c37222$0540e760$2101a8c0@...240...> References: <000001c37222$0540e760$2101a8c0@...240...> Message-ID: <1062600449.14531.29.camel@...40...> > PUBLIC FUNCTION GetNextDefaultFilename() AS String > DIM i AS Integer > i = 0 > DO WHILE Exist(Application.home &/ "pvrusb" & i & ".mpg") > i = i + 1 > LOOP > RETURN Application.home &/ "pvrusb" & Format(i, "000") & ".mpg" > END > > Hum, if 1'st file is saved as pvrusb000.mpg then DO WHILE can not find it, > So the new one can be saved as pvrusb000.mpg. > > I think a better job wil be: > DO WHILE Exist(Application.home &/ "pvrusb" & Format(i, "000") & ".mpg") Suggestion: DO WHILE Exist(DefaultFilename(i)) i = i + 1 LOOP RETURN DefaultFilename(i) PRIVATE FUNCTION DefaultFilename(i as INTEGER) AS STRING RETURN Application.Home &/ "pvrusb" & Format(i, "000") & ".mpg" END (Just a cosmetic change :)) []s Nelson From sourceforge-raindog2 at ...94... Wed Sep 3 17:44:02 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 3 Sep 2003 11:44:02 -0400 Subject: [Gambas-user] PVRec program (Rob) In-Reply-To: <1062600449.14531.29.camel@...40...> References: <000001c37222$0540e760$2101a8c0@...240...> <1062600449.14531.29.camel@...40...> Message-ID: <200309031144.02939.sourceforge-raindog2@...94...> On Wednesday 03 September 2003 10:47, Nelson Ferraz wrote: > > DO WHILE Exist(Application.home &/ "pvrusb" & Format(i, > > "000") & ".mpg") > DO WHILE Exist(DefaultFilename(i)) > i = i + 1 > LOOP > RETURN DefaultFilename(i) > > PRIVATE FUNCTION DefaultFilename(i as INTEGER) AS STRING > RETURN Application.Home &/ "pvrusb" & Format(i, "000") & > ".mpg" END Thanks, these are both better than my code. I don't suppose either of you has one of those dongles to tell me how PVRec works for someone other than me; lots of people have downloaded it but I never got any feedback ;) Rob From sourceforge-raindog2 at ...94... Wed Sep 3 17:47:27 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 3 Sep 2003 11:47:27 -0400 Subject: [Gambas-user] C or Gambas? thats the question! In-Reply-To: <1062597566.14531.11.camel@...40...> References: <000101c371cb$e5742600$2101a8c0@...240...> <1062597566.14531.11.camel@...40...> Message-ID: <200309031147.27545.sourceforge-raindog2@...94...> On Wednesday 03 September 2003 09:59, Nelson Ferraz wrote: > It sounds interesting, but what is a ".bas file reader for > lexical detection"? I looked for "lexical detection" on > Google, and found something related to Psychology :) It's the first step towards writing a basic interpreter or compiler, if I remember right. I think the KBasic and GnomeBASIC people have something similar in their changelogs, like "lexical scanner" or "lexical parser". Rob From ronstk at ...239... Wed Sep 3 17:51:34 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 17:51:34 +0200 Subject: [Gambas-user] RE: C or Gambas? thats the question! Message-ID: <000001c37233$40aec540$2101a8c0@...240...> Hi Nelson Well The .bas file is a Basic file (program). Lexical detection is may be wrong bit it checks the grammar and construction of the script. Not what we are saying but how it is done. It read the file to find the basic key words like FOR NEXT etc. In my example it checks the grammar of language Basic if it is correct for keywords and symbols and return every word it finds. At this stage you can see it as a pre processor before the real interpreter get the text to handle. It is only a trial for using C as programming language. Interpreting basic programs I have already made once. The same way you can do with for example a SQL line. Bring it back to basic constuction. SELECT field1, field2 FROM table1, table2 WHERE table1.idx=table2.idx The keywords are here in uppercase and the symbols in lowercase. As the SQL Language constuction (grammar) says there are 1 or more fields (symbols) for the keywords SELECT, FROM and WHERE. Reading the symbols and punctation after WHERE is a recursieve loop to get the 1 or more relation conditions. Think the same as IF condition THEN in the basic grammar. When this method is understand then you can easy transfer the symbols to array's Give the keyword a token (p-code) then you know what to expect and handle the information i.e. typedef instruction command=integer /* code to use for SELECT arFields=array[] /* store of field names endtype With Split and Join on the array you can easy asemble and disasemble the line parts for human readability and for the program not needed. For the WHERE statement the same WHERE (condition relation condition) [ relation (condition relation condition) [...]] This way I made a form to create SQL lines. In a cell there are several dropdown boxes. Each cell has 1 for table,field,sort,condition etc. By selection in the combobox you define what symbol is used and the combobox position tells where in the SQL line it must be. This form is a webpage and sends only the arrays to the server. The server checks and reconstruct the SQL line and send it to MySQL. If you don't send the symbol name but the field index in the the text to send is smaller and charactersets UTF8 or UTF16 doesn't mather so much. Pro) This way you have also a protection agains bad users intentions. No nasty hidden '; DELETE * FROM table1' or other at the end. Against) The admin should not add a new field when there is a user working with it. Can be resolved with sessions. If you know MS Access there it is the graphical query designer. You build it with those cells and if you ask the SQL line it does the same to create it. May be I can convert it to a Gambas application (example). Could be nice project too for learning how Gambas works. This way you have rapid SQL line creator for dummys. Select what you want and the progam makes the correct SQL line. It's now a set of jscript,php and html code. This way working is the same as using a form designer instead of typing the textfile by hand. Guru's prefer typing by hand but the remaining? Afterall the basic form/sql line are there and adding by hand can always be done if you know the grammar. ---------- Ron From ronstk at ...239... Wed Sep 3 20:48:02 2003 From: ronstk at ...239... (R Onstenk) Date: Wed, 3 Sep 2003 20:48:02 +0200 Subject: [Gambas-user] SIGNAL11 report as requested in popup. Message-ID: <000001c3724b$e749e840$2101a8c0@...240...> And yes as suggested I started to make a form to contain the combobox, checked the constructors/destructors all of them Add to the form a gridview, 2 buttons already there and made the form 'startup'. In the code I add some private variables. in the _init a call to a sub to do that init job. in the sub setting the variable and add a combobox to the form. Saved all, add a second combobox to see more. Lets show how it looks and works. Boom signal11 occurs the first time. Wel simple get the code in a textfile and exit Gambas. The I try to find the project directory. Using Konqueror and it's nowhere, several reload/refresh done and still clean. Wel then I must be able to restart new project, so I did. Name "SQLdesigner", yes the same and create in "Examples". Got the error it was already existing. Retry to find it with Konqueror and Yes now it is there. How? i start new isn't it. So I delete it and was able to make the new one out of the box. The I re-make the form again and paste the code back and save. From ledominic at ...43... Thu Sep 4 19:09:59 2003 From: ledominic at ...43... (Dominico) Date: Thu, 4 Sep 2003 10:09:59 -0700 (PDT) Subject: [Gambas-user] Please help with the error starting up Gambas Message-ID: <20030904170959.71869.qmail@...250...> After I did the configure, make, and make-install, it went through fine. But when I start Gambas, I receive an error return below: **************** /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE **************** I searched the web and still couldn't find the solution to the error above. I believe I hit a dead-end on it. Please instruct me on how to fix it so that I can start up Gambas without errors. Many thanks in advance. Please advise, Dominic --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From rizky at ...225... Fri Sep 5 04:24:42 2003 From: rizky at ...225... (Tahara) Date: Fri, 5 Sep 2003 09:24:42 +0700 Subject: [Gambas-user] RE: Combobox selection Tahara In-Reply-To: <000101c3721c$c1b7ba00$2101a8c0@...240...> References: <000101c3721c$c1b7ba00$2101a8c0@...240...> Message-ID: <200309050924.42719.rizky@...225...> On Wednesday 03 September 2003 20:10, R Onstenk wrote: > Hi Tahara > > I'm not shure from your question you mean the Combobox > itself or one of the entries in it. > > If you want the Combobox is default selected in the form > you can use in main() ComboBox.SetFocus(). > > If you mean one of the entries in the list you can use 3 ways. > 1) > ComboBox.Text="Tahara", it must be the text you want from > the list > 2) > Combobox.Index=2, if it is the 3'word in the list > Index is zero based. > Like "aa", "bb", "Tahara", "cc" and "dd" > > 3) > If the entry position is unknown. > DIM arList as String[] > DIM iEntry as Integer > > arList = Split(Combobox.list,"\n") > iEntry = arList.Find("Tahara",gbText) > if iEntry>0 THEN > Combobox.Index = iEntry > ELSE > Message ("Not Found") > ENDIF > > ------ > Ron > yeah... sorry to post something that confuse... actually.. i also confuse on how to tell to the mailing list... btw, what i ment is the point at number 2.. thank you Ron.. oyeah.. it's already done with the .index property.. it's not long after i post my question.. once again.. thank you... From vschmid at ...210... Fri Sep 5 10:00:50 2003 From: vschmid at ...210... (Volker Schmid) Date: Fri, 05 Sep 2003 10:00:50 +0200 Subject: [Gambas-user] Can produce signal #11 with only one form, one line of code and one timer Message-ID: Hello, I create a simple form (Start-Class) and only this code for it: ' Gambas class file KoordX[3600,200] AS Integer This runs without a problem. Now I place a Timer-Control onto the form. Now starting produces the signal #11 Error. Irritating is, that, if I remove the statement KoordX[...] it will work fine. Dimensioning and the timer having a problem together! System: Mandrake 9.1 Gambas 0.65a The simple project is in the attached zip-file. This project generates the signal #11 error. Gr?sse, Volker Schmid -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.zip Type: application/zip Size: 2610 bytes Desc: not available URL: From samuel.derous at ...27... Fri Sep 5 13:28:33 2003 From: samuel.derous at ...27... (Samuel Derous) Date: Fri, 5 Sep 2003 13:28:33 +0200 Subject: [Gambas-user] limit on modules? Message-ID: <200309051328.33187.samuel.derous@...27...> Hey, Is there a limit on the number of modules that can be used... Because I'm working on a program here, and suddenly, he doesn''t recognize the modules I add... I just get the error message: "Unknown Idetifier MBla" From jamescrasto at ...251... Fri Sep 5 19:50:45 2003 From: jamescrasto at ...251... (James Crasto) Date: 5 Sep 2003 17:50:45 -0000 Subject: [Gambas-user] Please help remove this error Message-ID: <20030905175045.2045.qmail@...252...> Hi, I downloaded gambas-0.65a tar file from gambas site and compiled it as under : .\configure --disable-mysql-driver make su -c "make install" Everything went thru' without any errors. However, when I run gambas, the following error is reported : [james at ...40... gambas-0.65a]$ gambas /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE I'm on RedHat 9 with QT 3.1 and gcc 3.2.2 How do I get gambas running ? Thank you in advance, James. ___________________________________________________ Medicine meets Marketing; Dr. Swati Weds Jayaram. Rediff Matchmaker strikes another interesting match !! Visit http://rediff.com/matchmaker?2 From Gambasfr at ...11... Fri Sep 5 22:11:19 2003 From: Gambasfr at ...11... (Fabien BODARD) Date: Fri, 5 Sep 2003 22:11:19 +0200 Subject: [Gambas-user] limit on modules? In-Reply-To: <200309051328.33187.samuel.derous@...27...> References: <200309051328.33187.samuel.derous@...27...> Message-ID: <200309052211.19101.Gambasfr@...11...> Le Vendredi 5 Septembre 2003 13:28, Samuel Derous a ?crit : > Hey, > > Is there a limit on the number of modules that can be used... Because I'm > working on a program here, and suddenly, he doesn''t recognize the modules > I add... > I just get the error message: "Unknown Idetifier MBla" > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Can you send me your code or tell me how many module you have use ? Fabien Bodard From Gambasfr at ...11... Fri Sep 5 22:13:29 2003 From: Gambasfr at ...11... (Fabien BODARD) Date: Fri, 5 Sep 2003 22:13:29 +0200 Subject: [Gambas-user] Please help with the error starting up Gambas In-Reply-To: <20030904170959.71869.qmail@...250...> References: <20030904170959.71869.qmail@...250...> Message-ID: <200309052213.29280.Gambasfr@...11...> Le Jeudi 4 Septembre 2003 19:09, Dominico a ?crit : > After I did the configure, make, and make-install, it went through fine. > But when I start Gambas, I receive an error return below: > > **************** > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: > undefined symbol: _ZNSs4_Rep11_S_terminalE > > **************** > > I searched the web and still couldn't find the solution to the error above. > I believe I hit a dead-end on it. Please instruct me on how to fix it so > that I can start up Gambas without errors. > > Many thanks in advance. > > Please advise, > > Dominic > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > > > --------------------------------- > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software hi Please : Distribution Video card install LOG Thank Fabien From nferraz at ...184... Sat Sep 6 00:42:48 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Fri, 05 Sep 2003 19:42:48 -0300 Subject: [Gambas-user] off-topic: Metaclasses and Aspect-Oriented Programming (AOP) Message-ID: <3F591168.8030505@...184...> Some interesting articles from IBM developerWorks: -- February 26, 2003 - Most readers are already familiar with the concepts of object-oriented programming: inheritance, encapsulation, polymorphism. But the creation of objects of a given class, with certain parents, is usually thought of as a "just so" operation. It turns out that a number of new programming constructs become either easier, or possible at all, when you can customize the process of object creation. Metaclasses enable certain types of "aspect-oriented programming," for example, you can enhance classes with features like tracing capabilities, object persistence, exception logging, and more. http://www-106.ibm.com/developerworks/linux/library/l-pymeta.html -- August 28, 2003 - Michele and David's initial developerWorks article on metaclass programming prompted quite a bit of feedback, some of it from perplexed readers trying to grasp the subtleties of Python metaclasses. This article revisits the working of metaclasses and their relation to other OOP concepts. It contrasts class instantiation with inheritance, distinguishes classmethods and metamethods, and explains and solves metaclass conflicts. http://www-106.ibm.com/developerworks/linux/library/l-pymeta2/?ca=dgr-lnxw02MetaClass2 -- See also: Putting Metaclasses to Work by Ira R. Forman and Scott Danforth (Addison-Wesley; 1999) Guido van Rossum's essay, "Unifying types and classes in Python 2.2" http://www.python.org/2.2/descrintro.html Guide to Python introspection http://www-106.ibm.com/developerworks/library/l-pyint.html Improve modularity with aspect-oriented programming http://www-106.ibm.com/developerworks/java/library/j-aspectj/ []s Nelson From rizky at ...225... Sat Sep 6 05:53:24 2003 From: rizky at ...225... (Tahara) Date: Sat, 6 Sep 2003 10:53:24 +0700 Subject: [Gambas-user] Gambas 0.65a RPM In-Reply-To: <200309052213.29280.Gambasfr@...11...> References: <20030904170959.71869.qmail@...250...> <200309052213.29280.Gambasfr@...11...> Message-ID: <200309061053.24669.rizky@...225...> Hi Rob, thank you for making the Gambas 0.65a RPM now i'm testing it... From rizky at ...225... Sat Sep 6 07:15:58 2003 From: rizky at ...225... (Tahara) Date: Sat, 6 Sep 2003 12:15:58 +0700 Subject: [Gambas-user] Multiple Queries In-Reply-To: <200309061053.24669.rizky@...225...> References: <20030904170959.71869.qmail@...250...> <200309052213.29280.Gambasfr@...11...> <200309061053.24669.rizky@...225...> Message-ID: <200309061215.58124.rizky@...225...> Hi, I make a textarea and a button in a form. my program create a connection to mysql. when the program run, it will show a textarea and a button for the user to fill some query.. But, I have problem when I wanna doing the multiple queries. It raise error.. Do you guys know the algorithm of running multiple queries in gambas ? so, if i have queries like this: use `mysql`; select * from `user`; delete from `user`; I write them in textarea and when I hit the button, the queries will work just fine.. (just like other front-end).. Please help... From rizky at ...225... Sat Sep 6 08:36:40 2003 From: rizky at ...225... (Tahara) Date: Sat, 6 Sep 2003 13:36:40 +0700 Subject: [Gambas-user] Printing In-Reply-To: <200309061215.58124.rizky@...225...> References: <20030904170959.71869.qmail@...250...> <200309061053.24669.rizky@...225...> <200309061215.58124.rizky@...225...> Message-ID: <200309061336.41326.rizky@...225...> Can gambas print to printer ?? for example, if i wanna create a program that can print a report to the printer... how gambas do that ?? From elentirmo at ...20... Sat Sep 6 09:03:33 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 06 Sep 2003 09:03:33 +0200 Subject: [Gambas-user] limit on modules? In-Reply-To: <200309051328.33187.samuel.derous@...27...> References: <200309051328.33187.samuel.derous@...27...> Message-ID: <200309060903.33693.elentirmo@...20...> Am Freitag, 5. September 2003 13:28 schrieb Samuel Derous: > Hey, > > Is there a limit on the number of modules that can be used... Because I'm > working on a program here, and suddenly, he doesn''t recognize the modules > I add... > I just get the error message: "Unknown Idetifier MBla" > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Samuel, I get the same error when I rename a module and all references to it in the ide and compile the project. But when I close gambas and reopen the project everything workes fine. Gruss Marco Bauer From samuel.derous at ...27... Sat Sep 6 09:35:44 2003 From: samuel.derous at ...27... (Samuel Derous) Date: Sat, 6 Sep 2003 09:35:44 +0200 Subject: [Gambas-user] limit on modules? In-Reply-To: <200309060903.33693.elentirmo@...20...> References: <200309051328.33187.samuel.derous@...27...> <200309060903.33693.elentirmo@...20...> Message-ID: <200309060935.45038.samuel.derous@...27...> Op zaterdag 6 september 2003 09:03, schreef Marco Bauer: > Hi Samuel, > > I get the same error when I rename a module and all references to it in the > ide and compile the project. But when I close gambas and reopen the project > everything workes fine. > > Gruss > Marco Bauer Hey, Well, that works... Thanks Greetz Samuel From samuel.derous at ...27... Sat Sep 6 12:31:40 2003 From: samuel.derous at ...27... (Samuel Derous) Date: Sat, 6 Sep 2003 12:31:40 +0200 Subject: [Gambas-user] limit on modules? In-Reply-To: <200309052211.19101.Gambasfr@...11...> References: <200309051328.33187.samuel.derous@...27...> <200309052211.19101.Gambasfr@...11...> Message-ID: <200309061231.40382.samuel.derous@...27...> Op vrijdag 5 september 2003 22:11, schreef Fabien BODARD: > Le Vendredi 5 Septembre 2003 13:28, Samuel Derous a ?crit : > > Hey, > > > > Is there a limit on the number of modules that can be used... Because I'm > > working on a program here, and suddenly, he doesn''t recognize the > > modules I add... > > I just get the error message: "Unknown Idetifier MBla" > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hi > Can you send me your code or tell me how many module you have use ? At the moment I use 10 to 15 modules... It's a little bible program, every biblebook has his own module... Different bibles are in the program. I have noticed that if a start gambas over, the error vanishes... Very weird.. > > Fabien Bodard > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Sat Sep 6 18:52:17 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Sep 2003 12:52:17 -0400 Subject: [Gambas-user] Multiple Queries In-Reply-To: <200309061215.58124.rizky@...225...> References: <20030904170959.71869.qmail@...250...> <200309061053.24669.rizky@...225...> <200309061215.58124.rizky@...225...> Message-ID: <200309061252.17018.sourceforge-raindog2@...94...> On Saturday 06 September 2003 01:15, Tahara wrote: > Do you guys know the algorithm of running multiple queries in > gambas ? so, if i have queries like this: > use `mysql`; > select * from `user`; > delete from `user`; > I write them in textarea and when I hit the button, the > queries will work just fine.. (just like other front-end).. I would expect that running multiple queries like that would be the front end (i.e. your program) to handle, not the interface to mysql. You could do it like this (in the submit button's click event): dim statements as new String[] dim statement as string ... statements = split(",", myTextArea.Text) for each statement in statements myConnectionObject.exec(statement) next Obviously I haven't error checked that code, but that's my guess. I've also seen front ends that use the word "go" instead of a semicolon, and of course if you ever have a statement that includes a semicolon as part of a string value or something you'll need to check for that somehow (which will be easier once perl-style regexes are here ;) ) I guess I'd suggest doing a myConnectionObject.Begin before the above, and myConnectionObject.Commit after (or a myConnectionObject.Rollback in a CATCH clause if you want to implement error handling.) Rob From sourceforge-raindog2 at ...94... Sat Sep 6 18:56:17 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Sep 2003 12:56:17 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200309061336.41326.rizky@...225...> References: <20030904170959.71869.qmail@...250...> <200309061215.58124.rizky@...225...> <200309061336.41326.rizky@...225...> Message-ID: <200309061256.17008.sourceforge-raindog2@...94...> On Saturday 06 September 2003 02:36, Tahara wrote: > Can gambas print to printer ?? > for example, if i wanna create a program that can print a > report to the printer... how gambas do that ?? You can treat the Printer object as a drawing object, more or less. http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasComponentQtPrinter Sorry if the above URL breaks. If it does, just enter GambasComponentQtPrinter in the little box with "Go" next to it on any Gambas wiki page. Rob From sourceforge-raindog2 at ...94... Sat Sep 6 20:59:12 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Sep 2003 14:59:12 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200309061256.17008.sourceforge-raindog2@...94...> References: <20030904170959.71869.qmail@...250...> <200309061336.41326.rizky@...225...> <200309061256.17008.sourceforge-raindog2@...94...> Message-ID: <200309061459.12903.sourceforge-raindog2@...94...> On Saturday 06 September 2003 12:56, Rob wrote: > You can treat the Printer object as a drawing object, more or > less. I realize now that this is kinda vague since drawing to graphic devices isn't entirely the same as it is with VB. With Gambas, currently you must Draw.Begin(Printer) to start drawing to the printer, and then Draw.End to finish drawing and spool the job. One side effect of doing it this way (in particular, the Draw methods all being static) is that once you're sending data to the printer, you can't draw on anything else until you want to finish your print job (or at least a page of it, if you're clever about it.) Benoit, is there any way the Draw class members can be made not static so one can have multiple drawing objects open at once? I know you've talked about having Printer made less dependent on Qt somehow, but just being able to go drawPrinter.Begin(Printer) and drawScreen.Begin(myFancyProgressIndicatorThingy) and write to them simultaneously would be a wonderful thing ;) Finally, the documentation out there for Printer and Draw on the Gambas-wiki is not entirely up to date with the current Gambas version. In particular, Printer now has a lot of properties that correspond to the variables the user can set in the Setup dialog, and for instance Draw.Text is now Draw.Text(text,x,y) instead of Draw.Text(x,y,text). I've made a lot of progress on my new Perl-based automated export (which will allow me to export docs from current and future versions of Gambas without rewriting it every time, as long as gbi -f doesn't change its output format ;) ) but not quite ready to roll out the new set of docs yet. Maybe this afternoon I can make some headway on that. Rob From sourceforge-raindog2 at ...94... Sat Sep 6 22:51:09 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Sep 2003 16:51:09 -0400 Subject: [Gambas-user] updated test version of gambas-wiki Message-ID: <200309061651.09675.sourceforge-raindog2@...94...> The component docs on the test wiki, under http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasComponent now include the exported pages from my Perl gbi to wiki script. The script and therefore the export pages are incomplete. I already know of the following problems, intend to fix them, and don't want to hear about them ;) * Usage isn't listed for classes, only their symbols. * Classes are missing other info, like "You can use this with foreach" * Some descriptions (from the old help files) are missing. That last one is actually a bug with my old Gambas based help exporter, and I need to uninstall the current Gambas and reinstall 0.62 to fix it (since Gambas internals changed enough since then to break my help exporter so it won't even build.) So that may be the last thing I fix. The reason I'm rolling this out unfinished is because I finally got the symbol lists to include symbols inherited from other classes, and I want to make sure those are working. I couldn't find any broken links but I just wanted to make sure it looked okay. I think I'm going to attach my scripts just to make sure they're somewhere else besides my home directory ;) Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambasexportpgms-20030906.tar.gz Type: application/x-tgz Size: 18802 bytes Desc: not available URL: From rizky at ...225... Mon Sep 8 04:32:50 2003 From: rizky at ...225... (Tahara) Date: Mon, 8 Sep 2003 09:32:50 +0700 Subject: [Gambas-user] Limiting Input In-Reply-To: <200309061252.17018.sourceforge-raindog2@...94...> References: <20030904170959.71869.qmail@...250...> <200309061215.58124.rizky@...225...> <200309061252.17018.sourceforge-raindog2@...94...> Message-ID: <200309080932.50996.rizky@...225...> HI, in VB, i can limit keyboard input. for example, if i want the user when pressing a character in a textbox it just a number that the user can press or just the the character.. have you guys any example for gambas ? From sourceforge-raindog2 at ...94... Tue Sep 9 07:02:52 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 9 Sep 2003 01:02:52 -0400 Subject: [Gambas-user] Limiting Input In-Reply-To: <200309080932.50996.rizky@...225...> References: <20030904170959.71869.qmail@...250...> <200309061252.17018.sourceforge-raindog2@...94...> <200309080932.50996.rizky@...225...> Message-ID: <200309090102.52890.sourceforge-raindog2@...94...> On Sunday 07 September 2003 22:32, Tahara wrote: > in VB, i can limit keyboard input. for example, if i want the > user when pressing a character in a textbox it just a number > that the user can press or just the the character.. have you > guys any example for gambas ? Not an example per se, but if you change the KeyPress event handler for that textbox from a Sub to a Function (as Boolean), returning True from that function will prevent the character from being inserted into the textbox. So you can do whatever validation you need to and prevent the user from inserting stuff he shouldn't be typing. This isn't well-documented, but you can verify it in the http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasEventsDeclaration (or type GambasEventsDeclaration into the Go box on the wiki) page. I guess I should add it to DifferencesFromVB. Rob From gambas at ...2... Wed Sep 10 19:31:28 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 19:31:28 +0200 Subject: [Gambas-user] IDE Extention. In-Reply-To: <000201c371d3$0b0f5c20$2101a8c0@...240...> References: <000201c371d3$0b0f5c20$2101a8c0@...240...> Message-ID: <200309101931.28415.gambas@...2...> Le Mercredi 3 Septembre 2003 06:22, R Onstenk a ?crit : > First I take the content form > /usr/local/src/gambas-0.65a/app/Gambas and put it in > /opt/gambas/share/gambas. > > Then I add a little bit helping code in one of the forms. > For v0.65 in my bin directory the size is 840kb. > Then I compile and make executable of it and it was 1000kb. No idea why. The 'executable' is just an archive of the project without the source code. Maybe did you add images or data files ? > So here was something wrong. I reread and removed comments. That will change nothing. > Changed in my code the 'if ... then <1 statement> endif' to > single line 'if ... then ' and Idem. > dropped some temp > variable used for control properties. That can change a little thing. > Compiling now was 717kb > > Are there some settings I have to look for and is there a > guide line how to make a compact result. Did you check "form controls are public" or "keep debugging information in executable" ? These two options have an impact on the executable size. And, of course, adding data or images files in the project. > I know i.e. a global Float[10000] is asking for space. Not in the executable (except the variable declaration). > But my code are several subs called if a condition flag is set. > > In short, is copy gambas source dir from the installed .bz2 source > to the example dir, edit something, build the result file and copy > the result to the normal bin the proper way? I don't understand. The proper way for doing what ? > > BTW the version info in the 0.65a .project is 0.62.56 This must be updated by hand, and I forget it regularly. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Sep 10 19:47:39 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 19:47:39 +0200 Subject: [Gambas-user] Please help remove this error In-Reply-To: <20030905175045.2045.qmail@...252...> References: <20030905175045.2045.qmail@...252...> Message-ID: <200309101947.39506.gambas@...2...> Le Vendredi 5 Septembre 2003 19:50, James Crasto a ?crit : > Hi, > > I downloaded gambas-0.65a tar file from gambas site and compiled > it as under : > > .\configure --disable-mysql-driver > make > su -c "make install" > > Everything went thru' without any errors. However, when I run > gambas, the following error is reported : > > [james at ...40... gambas-0.65a]$ gambas > > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: > undefined symbol: _ZNSs4_Rep11_S_terminalE > > I'm on RedHat 9 with QT 3.1 and gcc 3.2.2 > > How do I get gambas running ? > > Thank you in advance, > > James. > Hi, RedHAT 9 users must upgrade their qt library as it is written on the 'important page' of the web site. I told that to many many many people. Can RedHat users confirm that this work ? I don't know because I only develop on a Mandrake at the moment. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Sep 10 19:39:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 19:39:49 +0200 Subject: [Gambas-user] Editor request In-Reply-To: <000001c37215$30465060$2101a8c0@...240...> References: <000001c37215$30465060$2101a8c0@...240...> Message-ID: <200309101939.49691.gambas@...2...> Le Mercredi 3 Septembre 2003 14:16, R Onstenk a ?crit : > Is it posible to get the line number of the first visible line No. What for ? > and how many are visible in the GambasEditor? Same answer. I don't if this is possible with qt. > > Also what should the ToPos, ToLine and ToColumn return as integer. There is an explanation in the TextArea documentation on the wiki. -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Sep 10 20:13:57 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 10 Sep 2003 14:13:57 -0400 Subject: [Gambas-user] Editor request In-Reply-To: <200309101939.49691.gambas@...2...> References: <000001c37215$30465060$2101a8c0@...240...> <200309101939.49691.gambas@...2...> Message-ID: <200309101413.57503.sourceforge-raindog2@...94...> On Wednesday 10 September 2003 13:39, Benoit Minisini wrote: > > and how many are visible in the GambasEditor? > Same answer. I don't if this is possible with qt. I think it is, with some of the members of qscrollview you're inheriting, but I also think that it will be a pain in the ass. Rob From gambas at ...2... Wed Sep 10 20:57:22 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 20:57:22 +0200 Subject: [Gambas-user] Can produce signal #11 with only one form, one line of code and one timer In-Reply-To: References: Message-ID: <200309102057.22059.gambas@...2...> Le Vendredi 5 Septembre 2003 10:00, Volker Schmid a ?crit : > Hello, > > I create a simple form (Start-Class) and only this code for it: > > ' Gambas class file > KoordX[3600,200] AS Integer > > This runs without a problem. Now I place a Timer-Control onto the form. > > Now starting produces the signal #11 Error. > > Irritating is, that, if I remove the statement KoordX[...] it will work > fine. > > Dimensioning and the timer having a problem together! > > System: Mandrake 9.1 Gambas 0.65a > > The simple project is in the attached zip-file. This project generates the > signal #11 error. > > Gr?sse, > > Volker Schmid This is a bug in the class loader of the interpreter. It will be fixed in the next version ! Thanks for your bug report. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Sep 10 19:21:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 19:21:49 +0200 Subject: [Gambas-user] Moved to Paris ! Message-ID: <200309101921.49066.gambas@...2...> Hello ! I have finished my move to Paris, and succeeded in making my ADSL modem/switch work :-) Now, I'm trying to read all my pending mails and answer them, and then I will try to make a gambas-0.66... I have far more theatre work this year than last year, so logically Gambas development will suffer - Yes, it is a pity. So, people, do not be too much impatient :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Sep 10 19:23:54 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 10 Sep 2003 19:23:54 +0200 Subject: [Gambas-user] Re: SuSE 8.2 and Gambas In-Reply-To: <000001c371bf$e830a460$2101a8c0@...240...> References: <000001c371bf$e830a460$2101a8c0@...240...> Message-ID: <200309101923.54861.gambas@...2...> Le Mercredi 3 Septembre 2003 04:05, R Onstenk a ?crit : > Hi Benoit, > > For your request about installing on SuSE 8.2. > > I have compiled gambas 0.63 with the option --disable-db-component on > SuSE 8.2 (no update, with qt 3.1.1 and KDE 3.1.1) and everything worked > perfectly well. > > The only thing I had to do with 0.44 from SuSE was add a symbolic link in > /usr/bin/ as libqt-mt.so to /usr/lib/qt3/lib/libqt-mt.so.3.1.1 and a link > as libqt-mt.so.3 was there from the SuSE instalation. > I had only some warning at the middle part (posted before) for 0.44 and > 0.63 > > Compiling and installing gambas 0.65a with the > ption --disable-db-component > on the same system worked for me. > Almost all warning were gone but only 3 warning regarding something about > moc > moc_CMessage.cpp, moc_CPrinter.cpp, moc_CProgres with the message > 'No relevant classes found'. This is not important. > And as last one a datatype error. > > qeditor.cpp: In member function 'void QEditor::wrapline(int, int)': > qeditor.cpp:4645/4647: warning: array subscript has type 'char' Funny, I have not this warning with my gcc ! Which version do you use ? > > I have never seen "The program stopped unexpectedly by raising signal > #11...". > -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Sep 12 07:25:08 2003 From: ronstk at ...239... (R Onstenk) Date: Fri, 12 Sep 2003 07:25:08 +0200 Subject: [Gambas-user] IDE Extention Message-ID: <000101c378ee$3ae76a60$2101a8c0@...240...> >> Are there some settings I have to look for and is there a >> guide line how to make a compact result. > >Did you check "form controls are public" or "keep debugging information in= >=20 >executable" ? These two options have an impact on the executable size. And,= >=20 >of course, adding data or images files in the project. > >> I know i.e. a global Float[10000] is asking for space. > >Not in the executable (except the variable declaration). > >> But my code are several subs called if a condition flag is set. >> >> In short, is copy gambas source dir from the installed .bz2 source >> to the example dir, edit something, build the result file and copy >> the result to the normal bin the proper way? > >I don't understand. The proper way for doing what ? The remake of the gambas executable. I did look again in the distribution directory and found not the .gambas file as in my changed version. So the gambad executable is already made I asume into the distubution. A byte compare between the to directories marks only my changed files so the project contains the same needed info I think. Stay's only the question when I add two controls to the form with event code to handle them why is it now 734kb instead 820kb for the orginal. Time will learn anyway. >> >> BTW the version info in the 0.65a .project is 0.62.56 > >This must be updated by hand, and I forget it regularly. > This happens me sometimes too. Thanks ----------- Ron From ronstk at ...239... Fri Sep 12 08:15:57 2003 From: ronstk at ...239... (R Onstenk) Date: Fri, 12 Sep 2003 08:15:57 +0200 Subject: [Gambas-user] Editor request Message-ID: <000201c378f5$548615a0$2101a8c0@...240...> Le Mercredi 3 Septembre 2003 14:16, R Onstenk a =E9crit : > Is it posible to get the line number of the first visible line No. What for ? > and how many are visible in the GambasEditor? Same answer. I don't if this is possible with qt. From ronstk at ...239... Fri Sep 12 06:26:45 2003 From: ronstk at ...239... (R Onstenk) Date: Fri, 12 Sep 2003 06:26:45 +0200 Subject: [Gambas-user] Re: SuSE 8.2 and Gambas Message-ID: <000001c378e6$12edee60$2101a8c0@...240...> > And as last one a datatype error. > > qeditor.cpp: In member function 'void QEditor::wrapline(int, int)': > qeditor.cpp:4645/4647: warning: array subscript has type 'char' =46unny, I have not this warning with my gcc ! Which version do you use ? > > I have never seen "The program stopped unexpectedly by raising signal > #11...". > Well this is what I get with gcc --version. gcc (GCC) 3.3 20030226 (prereleasse) (SuSE Linux) Copyright (C) 2002 Free Software Foundation, Inc. This was the downloaded install from there site at the start around 15-7-2003 I haven't made changes to that part of the installation. SuSU 8.2 KDE 3.1.1 QT3 (libqt-mt.so.3.1.1) I don't know how to get other version info from the lib's From rizky at ...225... Fri Sep 12 10:28:27 2003 From: rizky at ...225... (Rizky Tahara Shita) Date: Fri, 12 Sep 2003 15:28:27 +0700 Subject: [Gambas-user] Application.Version In-Reply-To: <000101c378ee$3ae76a60$2101a8c0@...240...> References: <000101c378ee$3ae76a60$2101a8c0@...240...> Message-ID: <200309121528.27355.rizky@...225...> when i write program with gambas. there is a verion property in a project that i create. can my program know what version of the current program that i create ?? for example, i fill the version of my program 0.0.1 from the menu Project>Properties i create a Fabout and a label in it. i want the label show the version of my program.. so i do not have to change every time i compiled the project.. how do i do that ?? From gambas at ...2... Fri Sep 12 11:11:12 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 12 Sep 2003 11:11:12 +0200 Subject: [Gambas-user] Application.Version In-Reply-To: <200309121528.27355.rizky@...225...> References: <000101c378ee$3ae76a60$2101a8c0@...240...> <200309121528.27355.rizky@...225...> Message-ID: <200309121111.12520.gambas@...2...> Le Vendredi 12 Septembre 2003 10:28, Rizky Tahara Shita a ?crit : > when i write program with gambas. there is a verion property in a project > that i create. can my program know what version of the current program that > i create ?? > > for example, i fill the version of my program 0.0.1 from the menu > Project>Properties > i create a Fabout and a label in it. i want the label show the version of > my program.. so i do not have to change every time i compiled the project.. > > how do i do that ?? > Damn ! I forgot to make a property to get the program version... Maybe in the next gambas version ! -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Fri Sep 12 12:39:46 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Fri, 12 Sep 2003 12:39:46 00200 Subject: [Gambas-user] http://www.bitwizard.nl/sig11/ Message-ID: <3f61a272.2bd7.0@...9...> Salut, someti´hing about signal 11 http://www.bitwizard.nl/sig11/ Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...2... Fri Sep 12 13:49:08 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 12 Sep 2003 13:49:08 +0200 Subject: [Gambas-user] http://www.bitwizard.nl/sig11/ In-Reply-To: <3f61a272.2bd7.0@...9...> References: <3f61a272.2bd7.0@...9...> Message-ID: <200309121349.08824.gambas@...2...> Le Vendredi 12 Septembre 2003 14:39, na2492 at ...9... a ?crit : > Salut, > > someti´hing about signal 11 > > http://www.bitwizard.nl/sig11/ > Don't be afraid of this number 11 ! It just mean that the interpreter crashed because of a bug that did a illegal memory access. I will change this cryptic number (for beginners) by a more general message. Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Sep 12 14:01:05 2003 From: ronstk at ...239... (R Onstenk) Date: Fri, 12 Sep 2003 14:01:05 +0200 Subject: [Gambas-user] My solution for missing properties Message-ID: <000401c37925$8b75a640$2101a8c0@...240...> Missing the Index, Name and other properties in Gambas regular VB users have and are missing here. Wel the .Tag property in Gambas is more powerfull then his counterpart. In the .Tag documentation you can find that the .Tag property is a variant!. In the other one it's only text you can use. After reading about variant in the .Tag I did try to put a button on the form and button (the handle is the variant) in the .tag property. TextBox1.Tag = New Button(ME) It worked and I could use it to position the button. TextBox1.Tag.move(20,20) Very nice. This is in VB terms a stuppid thing to do. But see it as the TextBox.Tag is like a variable AS Button for the button. In VB typed as dim btn as Button set btn = Button1 btn.move 20,20 Why is this so nice? Well if you can do this it can also posible to put a collection in it. The key can be then used as the mising property "name" etc. A Collection is just like a associative array, Gambas array's are for different datatypes with nummerical index only. Also handy to add other user made properties. From sourceforge-raindog2 at ...94... Fri Sep 12 19:12:37 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 12 Sep 2003 13:12:37 -0400 Subject: [Gambas-user] My solution for missing properties In-Reply-To: <000401c37925$8b75a640$2101a8c0@...240...> References: <000401c37925$8b75a640$2101a8c0@...240...> Message-ID: <200309121312.37638.sourceforge-raindog2@...94...> On Friday 12 September 2003 08:01, R Onstenk wrote: > Is this something to add to the Wiki "DifferencesFromVB " Rob? I have been thinking along the same lines as you, but I think it's complex enough that it should probably get a "How Do I" page and then link to it from DifferencesFromVB as well. I've been messing around with frm2form again in the last couple of days for a client, and this was one of the things I started implementing (automatically creating a "sub init()" with this sort of thing in it, and a standard _new routine for the form that calls that sub as well as instantiating itself.) It doesn't really work yet though, at least as written by me. ;) Rob From ronstk at ...239... Sat Sep 13 08:46:08 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 13 Sep 2003 08:46:08 +0200 Subject: [Gambas-user] Re: My solution question Message-ID: <000001c379c2$b66207c0$2101a8c0@...240...> hi rob, That was a place I also consider but I could not find the way to add a page in Wiki. I have seen one time a help page but lost how to come there. Did you strip the first part Rob, I don't see it any more? The example is realy working, I made and and test it again during the email creation to be shure it was working with 0.65a. In the ToDo list at sourceforge is a entry about Port from Access. I have written a overview about it. ----- Ron From elentirmo at ...20... Sat Sep 13 12:26:12 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 13 Sep 2003 12:26:12 +0200 Subject: [Gambas-user] Menu Group Property Message-ID: <200309131226.12433.elentirmo@...20...> Hi, when I assign a group property to a bunch of menu-items, how can know which one of them was clicked when mnuGroup_Click() is called? Gruss Marco From ronstk at ...239... Sat Sep 13 16:26:41 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 13 Sep 2003 16:26:41 +0200 Subject: [Gambas-user] Little Array problem Message-ID: <000001c37a03$0d1b7660$2101a8c0@...240...> in my code i have: 'global PRIVATE argdat as string[] private argset as variant[] PUBLIC SUB MyInit() argdat = ["","","","","yes",""] 'first column for i=0 to iColumns argset.add(argdat,i) argdat = ["","","","","no",""] 'second to last END The problem is the first element in the argdat array. It must be a "" empty string. The MyInit set a matrix of strings that are handled by code to contain selected data. The offset in the argdat is the index for values ranges that can be used. With this initial value I get 'The program has returned the value: 1' --- Ron From sourceforge-raindog2 at ...94... Sun Sep 14 06:22:13 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 14 Sep 2003 00:22:13 -0400 Subject: [Gambas-user] Menu Group Property In-Reply-To: <200309131226.12433.elentirmo@...20...> References: <200309131226.12433.elentirmo@...20...> Message-ID: <200309140022.13832.sourceforge-raindog2@...94...> On Saturday 13 September 2003 06:26, Marco Bauer wrote: > when I assign a group property to a bunch of menu-items, how > can know which one of them was clicked when mnuGroup_Click() > is called? The LAST keyword, when used in an event sub or function, can be used as a reference for the object that threw the event. Rob From elentirmo at ...20... Mon Sep 15 18:27:01 2003 From: elentirmo at ...20... (Marco Bauer) Date: Mon, 15 Sep 2003 18:27:01 +0200 Subject: [Gambas-user] GCollider Message-ID: <200309151827.01075.elentirmo@...20...> Hi everyone, I have ported a litle program of mine from VB to gambas. It is not jet complete but it already works fine. Have fun. Marco Bauer P.S.: See also my homepage for the VB-version: gcollider.sf.net From elentirmo at ...20... Mon Sep 15 18:29:12 2003 From: elentirmo at ...20... (Marco Bauer) Date: Mon, 15 Sep 2003 18:29:12 +0200 Subject: [Gambas-user] GCollider Message-ID: <200309151829.12472.elentirmo@...20...> Sorry I did forget to attach the source. ;-) Hi everyone, I have ported a litle program of mine from VB to gambas. It is not jet complete but it already works fine. Have fun. Marco Bauer P.S.: See also my homepage for the VB-version: gcollider.sf.net -------------- next part -------------- A non-text attachment was scrubbed... Name: gcollider.tar.gz Type: application/x-tgz Size: 14625 bytes Desc: not available URL: From girardhenri at ...67... Tue Sep 16 19:48:22 2003 From: girardhenri at ...67... (Henri Girard) Date: Tue, 16 Sep 2003 19:48:22 +0200 Subject: [Gambas-user] GCollider References: <200309151829.12472.elentirmo@...20...> Message-ID: It"s nice from you :) thanks very much HG ----- Original Message ----- From: "Marco Bauer" To: Sent: Monday, September 15, 2003 6:29 PM Subject: [Gambas-user] GCollider > Sorry I did forget to attach the source. ;-) > > > Hi everyone, > > I have ported a litle program of mine from VB to gambas. It is not jet > complete but it already works fine. > > Have fun. > Marco Bauer > > > P.S.: See also my homepage for the VB-version: gcollider.sf.net > From ronstk at ...239... Fri Sep 19 10:26:57 2003 From: ronstk at ...239... (R Onstenk) Date: Fri, 19 Sep 2003 10:26:57 +0200 Subject: [Gambas-user] sig11 problem and hint Message-ID: <000101c37e87$c9f3f900$2101a8c0@...240...> Yes again one and may be a hint for checking if you got them. Im making a program that can load and save files. Using to do that gb.qt.Dialog as in the notepad example. Now I want to see how and looks with different KDE Themes and I added the gb.qt.kde component else it is not working. After the addition of the gb.qt.kde component I got the errors. After I got this I did read the help again and supprise! The 'gb.qt.Dialog' help say's --------------------------------------------- Dialog (class) o extends Dialog in gb.qt.kde compenent This class......to call standard dialog boxes. --------------------------------------------- For the 'extends' mesage it sound realistic to me I have to add the gb.qt.kde before I can use a Dialog, otherwise there is nothing to extend. For the 'This class' this means in my view it does the job itself. Approved by the fact that it works when the gb.qt.kde component not is used. The help page gb.qt.kde (main page) say's it is transforming the Gambas application. For the Application the same rules, but now both extends each other. Circulair bindings? I expect the SIG11 problem can have to do with these two if they are used and the gb.qt.kde is a included component. Is it posible a naming conflict while both are called Dialog? If true then we are missing the namespace system. This means 'gb.qt.Dialog.SaveFile(sFile)' and 'gb.qt.kde.Dialog.SaveFile(sFile)' to set the difference. I did try it by using the example Notepad, compiles and working. Add gb.qt.kde and compile is crashing with sig11. BTW. In the source, used as template, there can be a mistyped error ? PUBLIC SUB SetModify(bModify AS Boolean) IF bModify = bModify THEN RETURN bModify = bModify RefreshTitle END I asume it must use the $bModify = bModify while the first is the global and the second the argument at calling the sub. The hint? Disable the qt.qt.kde component if you get sig11 ---------- Ron. From gambas at ...2... Fri Sep 19 23:25:13 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 19 Sep 2003 23:25:13 +0200 Subject: [Gambas-user] gambas 0.70 Message-ID: <200309192325.13127.gambas@...2...> Hi gambas users, After a long time, here is a new important version of gambas: This version contains: 1) A reworked configuration script. It means that some systems other than Mandrake may have problems with detecting libraries and headers path. Tell me if you get problems, because the aim of this new configuration script is to be easier and more powerful. 2) The merge of the file selector made by Fabien Bodard. To Fabien: I have just found a bug in the rename function : rename a file, then rename the new file to the old one, but cancel the operation. 3) A new SDL component in beta version so that Ahmad Kahmal could start to play with it :-) To Ahmad: on my computer, the sound is full of noise when I use this component. It seems that the SDL component and gambas interact badly... 4) A better FreeBSD support. 5) Completely reworked event handlers for keyboard and mouse events. I give you examples: PUBLIC SUB MyControl_KeyPress(Ascii AS String, Code AS Integer, State AS Integer) ... END becomes PUBLIC SUB MyControl_KeyPress() ... ' Use Key.Text, Key.Code, Key.Shift, ... ... END PUBLIC SUB MyControl_MousePress(X AS Integer, Y AS Integer, Button AS Integer) ... END becomes PUBLIC SUB MyControl_MousePress() ... ' Use Mouse.X, Mouse.Y, Mouse.Left, Mouse.Shift, ... ... END See the ChangeLog for more details. This is the worse for everybody, because all keyboard and event handlers in every gambas project must be rewritten to work with this version :-) So I have only two words: cheer up ! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Sep 20 00:29:28 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 19 Sep 2003 18:29:28 -0400 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309192325.13127.gambas@...2...> References: <200309192325.13127.gambas@...2...> Message-ID: <200309191829.28828.sourceforge-raindog2@...94...> On Friday 19 September 2003 17:25, Benoit Minisini wrote: > This is the worse for everybody, because all keyboard and > event handlers in every gambas project must be rewritten to > work with this version :-) See, Daniel? Maybe it's a good thing Gambas 1.0 hasn't been released already, after all ;) Rob From elentirmo at ...20... Sat Sep 20 09:21:44 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 20 Sep 2003 09:21:44 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309192325.13127.gambas@...2...> References: <200309192325.13127.gambas@...2...> Message-ID: <200309200921.44831.elentirmo@...20...> Hi, I encountered some difficulties while trying to install gambas 0.70. First of all the configure-script complains about missing internationalization libraries and therefore disables internationalization support. But worst of all is that the compilation process aborts woth an error saying : libtool: link: cannot determine absolute directory name of `no' I have no idea what that means. Is this due to the missing internationalization libraries? Does anyone have the same problems? Gruss Marco p.s.: I installed gambas 0.65a on my SuSE 8.2, QT 3.1.1 the same way and everything woked fine. -------------- next part -------------- marco at ...56...:~> cd Source/gambas-0.70/ marco at ...56...:~/Source/gambas-0.70> ls AUTHORS Makefile.am acinclude.m4 config.sub install-sh reconf BUGS Makefile.in aclocal.m4 configure libltdl src COPYING NEWS app configure.in ltmain.sh stamp-h.in ChangeLog README config.guess examples missing INSTALL TODO config.h.in help mkinstalldirs marco at ...56...:~/Source/gambas-0.70> ./configure creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for malloc.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for working const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for setenv... yes checking for unsetenv... yes checking for Cygwin environment... no checking for mingw32 environment... no checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i486-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether -lc should be explicitly linked in... no creating libtool checking for main in -lm... yes checking for main in -lz... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking for internationalization headers... /usr/include/ checking for internationalization libraries... no configure: warning: *** internationalization is disabled checking for QT component headers... /usr/lib/qt3/include/ checking for QT component libraries... /usr/lib/ checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for QT meta-object compiler... /usr/lib/qt3/bin//moc checking for KDE 3.x component headers... /opt/kde3/include/ checking for KDE 3.x component libraries... /opt/kde3/lib/ checking for PostgreSQL driver headers... /usr/include/pgsql/ /usr/include/pgsql/server/ /usr/include/pgsql/server/catalog/ checking for PostgreSQL driver libraries... /usr/lib/ checking for MySQL driver headers... /usr/include/mysql/ checking for MySQL driver libraries... /usr/lib/ checking for SDL component headers... /usr/include/SDL/ checking for SDL component libraries... /usr/lib/ updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/share/Makefile creating src/comp/Makefile creating src/exec/Makefile creating src/lib/Makefile creating src/lib/eval/Makefile creating src/lib/example/Makefile creating src/lib/qt/Makefile creating src/lib/qt/editor/Makefile creating src/lib/qt/ext/Makefile creating src/lib/qt/kde/Makefile creating src/lib/db/Makefile creating src/lib/db/mysql/Makefile creating src/lib/db/postgresql/Makefile creating src/lib/sdl/Makefile creating config.h configuring in libltdl running /bin/sh ./configure --enable-ltdl-convenience --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for working const... (cached) yes checking for inline... inline checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes checking for /usr/i486-suse-linux/bin/ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking how to recognise dependant libraries... (cached) pass_all checking for object suffix... (cached) o checking for executable suffix... (cached) no checking command to parse /usr/bin/nm -B output... (cached) ok checking for dlfcn.h... (cached) yes checking for ranlib... (cached) ranlib checking for strip... (cached) strip checking for objdir... .libs checking for gcc option to produce PIC... (cached) -fPIC checking if gcc PIC flag -fPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.lo... (cached) yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... (cached) no creating libtool checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking whether gcc supports assert without backlinking... checking which extension is used for shared libraries... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for dlopen in -ldl... (cached) yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking for errno.h... yes checking for malloc.h... (cached) yes checking for memory.h... yes checking for stdlib.h... yes checking for stdio.h... yes checking for ctype.h... yes checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for string.h... yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes updating cache .././config.cache creating ./config.status creating Makefile creating config.h marco at ...56...:~/Source/gambas-0.70> make make all-recursive make[1]: Entering directory `/home/marco/Source/gambas-0.70' Making all in libltdl make[2]: Entering directory `/home/marco/Source/gambas-0.70/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 mv -f .libs/ltdl.lo ltdl.lo /bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.* ar cru .libs/libltdlc.al ltdl.lo ranlib .libs/libltdlc.al creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[2]: Leaving directory `/home/marco/Source/gambas-0.70/libltdl' Making all in src make[2]: Entering directory `/home/marco/Source/gambas-0.70/src' Making all in share make[3]: Entering directory `/home/marco/Source/gambas-0.70/src/share' make[3]: F?r das Ziel ?all? ist nichts zu tun. make[3]: Leaving directory `/home/marco/Source/gambas-0.70/src/share' Making all in comp make[3]: Entering directory `/home/marco/Source/gambas-0.70/src/comp' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c error.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c alloc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c array.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c reserved.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c gbc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c compile.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c table.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c type.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c read.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c buffer.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c dump.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c code.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c header.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans_code.c trans_code.c: In function `TRANS_statement': trans_code.c:168: warning: comparison between signed and unsigned gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans_expr.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans_tree.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans_ctrl.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trans_subr.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c output.c output.c: In function `write_string': output.c:173: warning: comparison between signed and unsigned output.c: In function `write_buffer': output.c:188: warning: comparison between signed and unsigned gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c pcode.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c file.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c form.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c str.c /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -g -O0 -o gbc error.o alloc.o array.o reserved.o gbc.o compile.o table.o type.o read.o buffer.o dump.o class.o code.o trans.o header.o trans_code.o trans_expr.o trans_tree.o trans_ctrl.o trans_subr.o output.o pcode.o file.o form.o str.o mkdir .libs gcc -g -O2 -pipe -Wall -g -O0 -o gbc error.o alloc.o array.o reserved.o gbc.o compile.o table.o type.o read.o buffer.o dump.o class.o code.o trans.o header.o trans_code.o trans_expr.o trans_tree.o trans_ctrl.o trans_subr.o output.o pcode.o file.o form.o str.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c archive.c archive.c: In function `write_string': archive.c:92: warning: comparison between signed and unsigned archive.c: In function `ARCH_add_file': archive.c:244: warning: comparison between signed and unsigned gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c gba.c /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -g -O0 -o gba error.o alloc.o array.o table.o str.o file.o archive.o gba.o gcc -g -O2 -pipe -Wall -g -O0 -o gba error.o alloc.o array.o table.o str.o file.o archive.o gba.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c gbi.c /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -g -O0 -o gbi error.o alloc.o array.o str.o file.o gbi.o ../../libltdl/libltdlc.la gcc -g -O2 -pipe -Wall -g -O0 -o gbi error.o alloc.o array.o str.o file.o gbi.o ../../libltdl/.libs/libltdlc.al -ldl make[3]: Leaving directory `/home/marco/Source/gambas-0.70/src/comp' Making all in exec make[3]: Entering directory `/home/marco/Source/gambas-0.70/src/exec' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c common.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c common.c -fPIC -DPIC -o common.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c error.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c error.c -fPIC -DPIC -o error.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c alloc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c alloc.c -fPIC -DPIC -o alloc.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c array.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c array.c -fPIC -DPIC -o array.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stack.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stack.c -fPIC -DPIC -o stack.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c buffer.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c buffer.c -fPIC -DPIC -o buffer.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c replace.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c replace.c -fPIC -DPIC -o replace.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c list.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c list.c -fPIC -DPIC -o list.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c hash.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c hash.c -fPIC -DPIC -o hash.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c table.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c table.c -fPIC -DPIC -o table.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c type.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c type.c -fPIC -DPIC -o type.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c value.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c value.c -fPIC -DPIC -o value.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subst.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subst.c -fPIC -DPIC -o subst.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec.c -fPIC -DPIC -o exec.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_loop.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_loop.c -fPIC -DPIC -o exec_loop.lo exec_loop.c: In function `EXEC_loop': exec_loop.c:441: warning: `ind' might be used uninitialized in this function exec_loop.c:967: warning: `val' might be used uninitialized in this function /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_push.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_push.c -fPIC -DPIC -o exec_push.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_enum.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_enum.c -fPIC -DPIC -o exec_enum.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_pop.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c exec_pop.c -fPIC -DPIC -o exec_pop.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c pcode.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c pcode.c -fPIC -DPIC -o pcode.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trace.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c trace.c -fPIC -DPIC -o trace.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_init.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_init.c -fPIC -DPIC -o class_init.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class.c -fPIC -DPIC -o class.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_native.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_native.c -fPIC -DPIC -o class_native.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_load.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_load.c -fPIC -DPIC -o class_load.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c event.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c event.c -fPIC -DPIC -o event.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c file.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c file.c -fPIC -DPIC -o file.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream.c -fPIC -DPIC -o stream.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_direct.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_direct.c -fPIC -DPIC -o stream_direct.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_buffer.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_buffer.c -fPIC -DPIC -o stream_buffer.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_memory.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_memory.c -fPIC -DPIC -o stream_memory.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_arch.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c stream_arch.c -fPIC -DPIC -o stream_arch.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c project.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c project.c -fPIC -DPIC -o project.lo project.c: In function `project_command': project.c:157: warning: comparison between signed and unsigned /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c library.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c library.c -fPIC -DPIC -o library.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr.c -fPIC -DPIC -o subr.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_file.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_file.c -fPIC -DPIC -o subr_file.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_string.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_string.c -fPIC -DPIC -o subr_string.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_conv.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_conv.c -fPIC -DPIC -o subr_conv.lo subr_conv.c: In function `SUBR_conv': subr_conv.c:103: warning: comparison between signed and unsigned /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_time.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_time.c -fPIC -DPIC -o subr_time.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_misc.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_misc.c -fPIC -DPIC -o subr_misc.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c mathext.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c mathext.c -fPIC -DPIC -o mathext.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_math.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_math.c -fPIC -DPIC -o subr_math.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_test.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c subr_test.c -fPIC -DPIC -o subr_test.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c gambas_api.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c gambas_api.c -fPIC -DPIC -o gambas_api.lo gambas_api.c: In function `GB_Conv': gambas_api.c:1053: warning: comparison between signed and unsigned /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c local.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c local.c -fPIC -DPIC -o local.lo local.c: In function `LOCAL_init': local.c:356: warning: `%x' yields only last 2 digits of year in some locales /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c regexp.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c regexp.c -fPIC -DPIC -o regexp.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c archive.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c archive.c -fPIC -DPIC -o archive.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c watch.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c watch.c -fPIC -DPIC -o watch.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c eval.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c eval.c -fPIC -DPIC -o eval.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c compare.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c compare.c -fPIC -DPIC -o compare.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Number.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Number.c -fPIC -DPIC -o Number.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Object.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Object.c -fPIC -DPIC -o Object.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c String.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c String.c -fPIC -DPIC -o String.lo String.c: In function `STRING_new_constant_value': String.c:202: warning: signed and unsigned type in conditional expression String.c: In function `STRING_conv': String.c:477: warning: comparison between signed and unsigned String.c:480: warning: comparison between signed and unsigned /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Variant.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Variant.c -fPIC -DPIC -o Variant.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Date.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Date.c -fPIC -DPIC -o Date.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Array.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c Array.c -fPIC -DPIC -o Array.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CClass.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CClass.c -fPIC -DPIC -o CClass.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CCollection.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CCollection.c -fPIC -DPIC -o CCollection.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CError.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CError.c -fPIC -DPIC -o CError.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CGambas.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CGambas.c -fPIC -DPIC -o CGambas.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CFile.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CFile.c -fPIC -DPIC -o CFile.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CApp.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CApp.c -fPIC -DPIC -o CApp.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CArray.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CArray.c -fPIC -DPIC -o CArray.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CProcess.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c CProcess.c -fPIC -DPIC -o CProcess.lo /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_info.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -g -O0 -c class_info.c -fPIC -DPIC -o class_info.lo /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -g -O0 -o lib.gb.la -rpath /opt/gambas/lib common.lo error.lo alloc.lo array.lo stack.lo buffer.lo replace.lo list.lo hash.lo table.lo type.lo value.lo subst.lo exec.lo exec_loop.lo exec_push.lo exec_enum.lo exec_pop.lo pcode.lo trace.lo class_init.lo class.lo class_native.lo class_load.lo event.lo file.lo stream.lo stream_direct.lo stream_buffer.lo stream_memory.lo stream_arch.lo project.lo library.lo subr.lo subr_file.lo subr_string.lo subr_conv.lo subr_time.lo subr_misc.lo mathext.lo subr_math.lo subr_test.lo gambas_api.lo local.lo regexp.lo archive.lo watch.lo eval.lo compare.lo Number.lo Object.lo String.lo Variant.lo Date.lo Array.lo CClass.lo CCollection.lo CError.lo CGambas.lo CFile.lo CApp.lo CArray.lo CProcess.lo class_info.lo -lm -Lno -lintl ../../libltdl/libltdlc.la ../../libtool: line 1: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[3]: *** [lib.gb.la] Fehler 1 make[3]: Leaving directory `/home/marco/Source/gambas-0.70/src/exec' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/marco/Source/gambas-0.70/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/marco/Source/gambas-0.70' make: *** [all-recursive-am] Fehler 2 marco at ...56...:~/Source/gambas-0.70> From gambas at ...2... Sat Sep 20 09:24:30 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 09:24:30 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309192325.13127.gambas@...2...> References: <200309192325.13127.gambas@...2...> Message-ID: <200309200924.30522.gambas@...2...> Le Vendredi 19 Septembre 2003 23:25, Benoit Minisini a ?crit : > 5) Completely reworked event handlers for keyboard and mouse events. > > I give you examples: > > PUBLIC SUB MyControl_KeyPress(Ascii AS String, Code AS Integer, State AS > Integer) > ... > END > > becomes > > PUBLIC SUB MyControl_KeyPress() > ... > ' Use Key.Text, Key.Code, Key.Shift, ... > ... > END > > PUBLIC SUB MyControl_MousePress(X AS Integer, Y AS Integer, Button AS > Integer) ... > END > > becomes > > PUBLIC SUB MyControl_MousePress() > ... > ' Use Mouse.X, Mouse.Y, Mouse.Left, Mouse.Shift, ... > ... > END > > See the ChangeLog for more details. > > This is the worse for everybody, because all keyboard and event handlers in > every gambas project must be rewritten to work with this version :-) > > So I have only two words: cheer up ! > > Regards, I forgot to write in the ChangeLog that to cancel a keyboard event, you must type Key.Cancel = TRUE and not return TRUE anymore. I think I will drop the feature of returning something from an event handler. At the moment, only keyboard events were concerned. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Sep 20 09:26:53 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 09:26:53 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309200921.44831.elentirmo@...20...> References: <200309192325.13127.gambas@...2...> <200309200921.44831.elentirmo@...20...> Message-ID: <200309200926.53948.gambas@...2...> Le Samedi 20 Septembre 2003 09:21, Marco Bauer a ?crit : > Hi, > > I encountered some difficulties while trying to install gambas 0.70. First > of all the configure-script complains about missing internationalization > libraries and therefore disables internationalization support. But worst of > all is that the compilation process aborts woth an error saying : > > libtool: link: cannot determine absolute directory name of `no' > > I have no idea what that means. Is this due to the missing > internationalization libraries? Does anyone have the same problems? > > Gruss > Marco > > p.s.: I installed gambas 0.65a on my SuSE 8.2, QT 3.1.1 the same way and > everything woked fine. In fact, libintl is automatically linked under SuSE, so this test may be unnecessary on this system. Can you tell me where is libintl.so on SuSE so that I can fix the package ? Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From samuel.derous at ...27... Sat Sep 20 09:53:56 2003 From: samuel.derous at ...27... (Samuel Derous) Date: Sat, 20 Sep 2003 09:53:56 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309192325.13127.gambas@...2...> References: <200309192325.13127.gambas@...2...> Message-ID: <200309200953.56238.samuel.derous@...27...> Okay, we're down there immediately... ;-) greetz Op vrijdag 19 september 2003 23:25, schreef Benoit Minisini: > Hi gambas users, > > After a long time, here is a new important version of gambas: > > This version contains: > > 1) A reworked configuration script. It means that some systems other than > Mandrake may have problems with detecting libraries and headers path. Tell > me if you get problems, because the aim of this new configuration script is > to be easier and more powerful. > > 2) The merge of the file selector made by Fabien Bodard. To Fabien: I have > just found a bug in the rename function : rename a file, then rename the > new file to the old one, but cancel the operation. > > 3) A new SDL component in beta version so that Ahmad Kahmal could start to > play with it :-) To Ahmad: on my computer, the sound is full of noise when > I use this component. It seems that the SDL component and gambas interact > badly... > > 4) A better FreeBSD support. > > 5) Completely reworked event handlers for keyboard and mouse events. > > I give you examples: > > PUBLIC SUB MyControl_KeyPress(Ascii AS String, Code AS Integer, State AS > Integer) > ... > END > > becomes > > PUBLIC SUB MyControl_KeyPress() > ... > ' Use Key.Text, Key.Code, Key.Shift, ... > ... > END > > PUBLIC SUB MyControl_MousePress(X AS Integer, Y AS Integer, Button AS > Integer) ... > END > > becomes > > PUBLIC SUB MyControl_MousePress() > ... > ' Use Mouse.X, Mouse.Y, Mouse.Left, Mouse.Shift, ... > ... > END > > See the ChangeLog for more details. > > This is the worse for everybody, because all keyboard and event handlers in > every gambas project must be rewritten to work with this version :-) > > So I have only two words: cheer up ! > > Regards, From elentirmo at ...20... Sat Sep 20 13:09:41 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 20 Sep 2003 13:09:41 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309200926.53948.gambas@...2...> References: <200309192325.13127.gambas@...2...> <200309200921.44831.elentirmo@...20...> <200309200926.53948.gambas@...2...> Message-ID: <200309201309.41717.elentirmo@...20...> Hi Benoit, I can't find a file called libintl.so on my system?!? What does that mean? Marco Am Samstag, 20. September 2003 09:26 schrieb Benoit Minisini: > Le Samedi 20 Septembre 2003 09:21, Marco Bauer a ?crit : > > Hi, > > > > I encountered some difficulties while trying to install gambas 0.70. > > First of all the configure-script complains about missing > > internationalization libraries and therefore disables > > internationalization support. But worst of all is that the compilation > > process aborts woth an error saying : > > > > libtool: link: cannot determine absolute directory name of `no' > > > > I have no idea what that means. Is this due to the missing > > internationalization libraries? Does anyone have the same problems? > > > > Gruss > > Marco > > > > p.s.: I installed gambas 0.65a on my SuSE 8.2, QT 3.1.1 the same way and > > everything woked fine. > > In fact, libintl is automatically linked under SuSE, so this test may be > unnecessary on this system. > > Can you tell me where is libintl.so on SuSE so that I can fix the package ? > > Thanks in advance, From ronstk at ...239... Sat Sep 20 16:16:12 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 20 Sep 2003 16:16:12 +0200 Subject: [Gambas-user] CDialog question in context signal11 Message-ID: <000001c37f81$beb8d9c0$2101a8c0@...240...> I read the KDE component CDialog file BEGIN_METHOD_VOID(CDIALOG_open_file) QString file; GB_STRING str; file = KFileDialog::getOpenFileName(dialog_path, dialog_filter, 0, dialog_title); if (file.isNull()) GB.ReturnBoolean(true); else { (const char *)str.value.addr = file; str.value.len = file.length(); GB.StoreString(&str, &dialog_path); GB.ReturnBoolean(false); } END_METHOD The dialog opens before the crash with signal11. When I press the Open/Save or cancel button the crash occurs. My question is: If KFileDialog returns in 'file' the selected file then 'file' is not NULL as I asume. In this case the 'else' will be done. Here I think is a problem str.value.len = file.length(); GB.StoreString(&str, &dialog_path); Here you look to the length of the 'file' string but you copy the initial 'dialog_path' and that is not the 'file' selected. If the arguments for the KFileDialog are passed by value then it can't be the selected file on return. For shure the length do not match if the selected file name differs in length or other directory from what is passed on the call. Is the signal11 a overflow of the str.value.len? ---- Ron From ronstk at ...239... Sat Sep 20 16:36:05 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 20 Sep 2003 16:36:05 +0200 Subject: [Gambas-user] Can you tell me where is libintl.so on SuSE so that I can fix the package Message-ID: <000101c37f84$85a06d80$2101a8c0@...240...> I search for it on SuSE8.2 and QT3.1.1 like Marco have. #whereis libintl returns in my case libintl: /usr/include/libintl.h From gambas at ...2... Sat Sep 20 16:42:24 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 16:42:24 +0200 Subject: [Gambas-user] CDialog question in context signal11 In-Reply-To: <000001c37f81$beb8d9c0$2101a8c0@...240...> References: <000001c37f81$beb8d9c0$2101a8c0@...240...> Message-ID: <200309201642.24099.gambas@...2...> Le Samedi 20 Septembre 2003 16:16, R Onstenk a ?crit : > I read the KDE component CDialog file > > BEGIN_METHOD_VOID(CDIALOG_open_file) > > QString file; > GB_STRING str; > > file = KFileDialog::getOpenFileName(dialog_path, dialog_filter, 0, > dialog_title); > > if (file.isNull()) > GB.ReturnBoolean(true); > else > { > (const char *)str.value.addr = file; > str.value.len = file.length(); > GB.StoreString(&str, &dialog_path); > GB.ReturnBoolean(false); > } > > END_METHOD > > The dialog opens before the crash with signal11. > When I press the Open/Save or cancel button the crash occurs. > My question is: > If KFileDialog returns in 'file' the selected file then 'file' is not NULL > as I asume. > In this case the 'else' will be done. > Here I think is a problem > str.value.len = file.length(); > GB.StoreString(&str, &dialog_path); > > Here you look to the length of the 'file' string but you copy > the initial 'dialog_path' and that is not the 'file' selected. No. GB.StoreString stores its first argument into its second one. > If the arguments for the KFileDialog are passed by value then it > can't be the selected file on return. > For shure the length do not match if the selected file name differs > in length or other directory from what is passed on the call. > Is the signal11 a overflow of the str.value.len? > Note that the code of CDIALOG_open_file in the KDE component is the same as the QT component one ! (except the name of the API). -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Sep 20 16:43:12 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 16:43:12 +0200 Subject: [Gambas-user] Can you tell me where is libintl.so on SuSE so that I can fix the package In-Reply-To: <000101c37f84$85a06d80$2101a8c0@...240...> References: <000101c37f84$85a06d80$2101a8c0@...240...> Message-ID: <200309201643.12553.gambas@...2...> Le Samedi 20 Septembre 2003 16:36, R Onstenk a ?crit : > I search for it on SuSE8.2 and QT3.1.1 like Marco have. > > #whereis libintl returns in my case > libintl: /usr/include/libintl.h > > I'm looking for libintl.so, not libintl.h, that is already detected by the configure script ! Regards, -- Benoit Minisini mailto:gambas at ...1... From elentirmo at ...20... Sat Sep 20 17:27:49 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 20 Sep 2003 17:27:49 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309200926.53948.gambas@...2...> References: <200309192325.13127.gambas@...2...> <200309200921.44831.elentirmo@...20...> <200309200926.53948.gambas@...2...> Message-ID: <200309201727.50129.elentirmo@...20...> Hi Benoit, I can't find a file called libintl.so on my system?!? What does that mean? Marco Am Samstag, 20. September 2003 09:26 schrieb Benoit Minisini: > Le Samedi 20 Septembre 2003 09:21, Marco Bauer a ?crit : > > Hi, > > > > I encountered some difficulties while trying to install gambas 0.70. > > First of all the configure-script complains about missing > > internationalization libraries and therefore disables > > internationalization support. But worst of all is that the compilation > > process aborts woth an error saying : > > > > libtool: link: cannot determine absolute directory name of `no' > > > > I have no idea what that means. Is this due to the missing > > internationalization libraries? Does anyone have the same problems? > > > > Gruss > > Marco > > > > p.s.: I installed gambas 0.65a on my SuSE 8.2, QT 3.1.1 the same way and > > everything woked fine. > > In fact, libintl is automatically linked under SuSE, so this test may be > unnecessary on this system. > > Can you tell me where is libintl.so on SuSE so that I can fix the package ? > > Thanks in advance, From gambas at ...2... Sat Sep 20 18:59:37 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 18:59:37 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309201727.50129.elentirmo@...20...> References: <200309192325.13127.gambas@...2...> <200309200926.53948.gambas@...2...> <200309201727.50129.elentirmo@...20...> Message-ID: <200309201859.37305.gambas@...2...> Le Samedi 20 Septembre 2003 17:27, Marco Bauer a ?crit : > Hi Benoit, > > I can't find a file called libintl.so on my system?!? What does that mean? > > Marco > Hmmm... Strange ! Maybe it is not necessary on SuSE ?? I join this mail a file named acinclude.m4.zip that you must unzip and put in the gambas-0.70 package by replacing the old one. Then type: $ ./reconf $ ./configure Normally, it will correctly disable the link with libintl without raising an error. Tell me if it works ! Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: acinclude.m4.zip Type: application/x-zip Size: 34203 bytes Desc: not available URL: From gambas at ...2... Sat Sep 20 19:16:13 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 20 Sep 2003 19:16:13 +0200 Subject: [Gambas-user] CDialog question in context signal11 In-Reply-To: <200309201642.24099.gambas@...2...> References: <000001c37f81$beb8d9c0$2101a8c0@...240...> <200309201642.24099.gambas@...2...> Message-ID: <200309201916.13669.gambas@...2...> Le Samedi 20 Septembre 2003 16:42, Benoit Minisini a ?crit : > Le Samedi 20 Septembre 2003 16:16, R Onstenk a ?crit : > > I read the KDE component CDialog file > > > > Note that the code of CDIALOG_open_file in the KDE component is the same as > the QT component one ! (except the name of the API). I'm stupid ! The code should be the same, and is not ! I forgot the following line: str.value.start = 0; I join a patched CDialog.cpp for the KDE component. -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CDialog.cpp Type: text/x-c++src Size: 4817 bytes Desc: not available URL: From elentirmo at ...20... Sat Sep 20 21:58:02 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sat, 20 Sep 2003 21:58:02 +0200 Subject: [Gambas-user] gambas 0.70 In-Reply-To: <200309201859.37305.gambas@...2...> References: <200309192325.13127.gambas@...2...> <200309201727.50129.elentirmo@...20...> <200309201859.37305.gambas@...2...> Message-ID: <200309202158.02498.elentirmo@...20...> Thanks for your help. Works perfectly now. I love Gambas. ;-) Marco Am Samstag, 20. September 2003 18:59 schrieb Benoit Minisini: > Le Samedi 20 Septembre 2003 17:27, Marco Bauer a ?crit : > > Hi Benoit, > > > > I can't find a file called libintl.so on my system?!? What does that > > mean? > > > > Marco > > Hmmm... Strange ! Maybe it is not necessary on SuSE ?? > > I join this mail a file named acinclude.m4.zip that you must unzip and put > in the gambas-0.70 package by replacing the old one. > > Then type: > > $ ./reconf > > $ ./configure > > Normally, it will correctly disable the link with libintl without raising > an error. Tell me if it works ! > > Regards, From ronstk at ...239... Sat Sep 20 22:38:52 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 20 Sep 2003 22:38:52 +0200 Subject: [Gambas-user] CDialog question Message-ID: <000201c37fb7$33da67c0$2101a8c0@...240...> |> Le Samedi 20 Septembre 2003 16:16, R Onstenk a ?crit : | > > I read the KDE component CDialog file | > > | > | > Note that the code of CDIALOG_open_file in the KDE component is the same as | > the QT component one ! (except the name of the API). This is something about the 'sig11 problem and hint' message? Because I had the problem with KDE Dialog only it was here to look for a bug. | | I'm stupid ! The code should be the same, and is not ! I forgot the following | line: | | str.value.start = 0; | | I join a patched CDialog.cpp for the KDE component. | Put the new CDialog.cpp in the src of v.065 and recomplie. Wondefull, it is fixed, I can open and save files with the kde dialog now. >> Here you look to the length of the 'file' string but you copy >> the initial 'dialog_path' and that is not the 'file' selected. > >No. GB.StoreString stores its first argument into its second one. > >> The error position I found wasn't so bad after all. 10 isFixed=true 20 IF isFixed=true THEN 30 GambasBugs[0.65] = GambasBugs[0.65] - 1 35 Print "Happy Gambas" 40 ENDIF =========== Thanks, Ron From karl.reinl at ...9... Sat Sep 20 23:48:43 2003 From: karl.reinl at ...9... (Charlie) Date: Sat, 20 Sep 2003 23:48:43 +0200 Subject: [Gambas-user] pb with 0.70 Message-ID: <3F6CCB3B.5000007@...9...> Salut Beno?t, first on my SuSE 7.2 I can't find libintl.so and your new acinclude.m4 seams to change nothing. but finishes ./configure in both cases at make it runs in troubles with activate_signal_bool in moc_editor.cpp on gentoo 1.4 based on rc4 whereis libintl returns /user/lib/libintl.la and /user/lib/libintl.h , but no libintl.so ./configure can't find qt libraries and moc but finds qt-headers to know gentoo stores different versions in slices like qt in /usr/qt/3 which is stored in QTDIR so I made ./configure --with-qt-libraries=/usr/qt/3/lib , after adding '/usr/qt/3' in line 8346 in configure it worked and I could type a 'make' 'make install' reports the following error: .../lib.gb.db.mysql.la: libmysqlclient.so10: cannotoben shared object file: no such file or directory Normal is that he can't find mysql , it is NOT installed Not normal is, he is looking for. but gambas-0.70 run without db-component amicalement charlie From ronstk at ...239... Sun Sep 21 00:38:23 2003 From: ronstk at ...239... (R Onstenk) Date: Sun, 21 Sep 2003 00:38:23 +0200 Subject: [Gambas-user] Changes key and mouse events + CDialog Update Message-ID: <000301c37fc7$e6898ee0$2101a8c0@...240...> First, the update for CDialog must also be done for version 0.70. The update is in message: 'CDialog question in context signal11' The crash as described exists here in 0.70 too. For the gambas-database-manager the TableView_MouseDown() and Editor_KeyPress() events must be updated for the new method. Note also the Help is not updated for this new way. ------------------------------------------------------- TableView_MouseDown(X AS Integer, Y AS Integer, Button AS Integer) can be changed to: TableView_MouseDown() ------------------------------------------------------- Editor_KeyPress(Text AS String, Code AS Integer, State As Integer) as Boolean can be changed to: Editor_KeyPress() as Boolean DIM Text AS String DIM Code AS Integer DIM State AS Integer Text = Key.Text Code = Key.Code State = Key.Button ------------------------------------------------------- This will do the job and you don't need to search and alter the orginal code below the event line. From ronstk at ...239... Sun Sep 21 00:59:38 2003 From: ronstk at ...239... (R Onstenk) Date: Sun, 21 Sep 2003 00:59:38 +0200 Subject: [Gambas-user] gambas 0.70 Message-ID: <000401c37fca$de18e280$2101a8c0@...240...> Good news The acinclude.m4.zip fix applies for me too. SuSE 8.2, KDE 3.1.1 and QT 3.1.1 (same as Marco) ----- Ron From elentirmo at ...20... Sun Sep 21 10:08:24 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sun, 21 Sep 2003 10:08:24 +0200 Subject: [Gambas-user] Chess program Message-ID: <200309211008.25275.elentirmo@...20...> Hi, I'm curently working on a chess program in gambas. So far everything works fine especially the engine. But I have some problems with the chess board. I use chess pieces stored in png-files which are drawn with Draw.Picture(... on the board. The problem now is that when the board is hidden by another window or the menu is opened and than again comes to the front the board is not redrawn into the DrawArea. The DrawArea is cached so it should work and also did work on other occasions (but wihout drawing pictures into the DrawArea). Does anyone have an idea what's wrong? Thanks in advance. Marco From gambas at ...2... Sun Sep 21 11:11:27 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 21 Sep 2003 11:11:27 +0200 Subject: [Gambas-user] pb with 0.70 In-Reply-To: <3F6CCB3B.5000007@...9...> References: <3F6CCB3B.5000007@...9...> Message-ID: <200309211111.27456.gambas@...2...> Le Samedi 20 Septembre 2003 23:48, Charlie a ?crit : > Salut Beno?t, > > first on my SuSE 7.2 I can't find libintl.so and your new acinclude.m4 > seams to change nothing. > but finishes ./configure in both cases > at make it runs in troubles with activate_signal_bool in > moc_editor.cpp > > on gentoo 1.4 based on rc4 > > whereis libintl returns /user/lib/libintl.la and /user/lib/libintl.h , > but no libintl.so > > ./configure can't find qt libraries and moc but finds qt-headers > to know gentoo stores different versions in slices > like qt in /usr/qt/3 which is stored in QTDIR > > so I made ./configure --with-qt-libraries=/usr/qt/3/lib , > after adding '/usr/qt/3' in line 8346 in configure > it worked and I could type a 'make' > > 'make install' reports the following error: > .../lib.gb.db.mysql.la: libmysqlclient.so10: cannotoben shared object > file: no such file or directory > > Normal is that he can't find mysql , it is NOT installed > Not normal is, he is looking for. > Can you send me the output of ./configure on gentoo ? Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Sun Sep 21 18:41:41 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 21 Sep 2003 18:41:41 +0200 Subject: [Gambas-user] pb with 0.70 References: <3F6CCB3B.5000007@...9...> <200309211111.27456.gambas@...2...> Message-ID: <3F6DD4C5.9010806@...9...> Benoit Minisini schrieb: >Le Samedi 20 Septembre 2003 23:48, Charlie a ?crit : > > >>Salut Beno?t, >> >>first on my SuSE 7.2 I can't find libintl.so and your new acinclude.m4 >>seams to change nothing. >> but finishes ./configure in both cases >> at make it runs in troubles with activate_signal_bool in >>moc_editor.cpp >> >>on gentoo 1.4 based on rc4 >> >>whereis libintl returns /user/lib/libintl.la and /user/lib/libintl.h , >>but no libintl.so >> >>./configure can't find qt libraries and moc but finds qt-headers >>to know gentoo stores different versions in slices >> like qt in /usr/qt/3 which is stored in QTDIR >> >>so I made ./configure --with-qt-libraries=/usr/qt/3/lib , >>after adding '/usr/qt/3' in line 8346 in configure >>it worked and I could type a 'make' >> >>'make install' reports the following error: >>.../lib.gb.db.mysql.la: libmysqlclient.so10: cannotoben shared object >>file: no such file or directory >> >>Normal is that he can't find mysql , it is NOT installed >>Not normal is, he is looking for. >> >> >> > >Can you send me the output of ./configure on gentoo ? > >Regards, > > > Salut Beno?t, send you the output from ./configure made on a new unpacked gambas-0.70.tar.bz2 to new Dir . Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: conf-0.70.log URL: From leo.barnhoorn at ...246... Mon Sep 22 06:20:56 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 21 Sep 2003 21:20:56 -0700 Subject: [Gambas-user] acinclude.m4.zip Message-ID: <200309212120.56949.leo.barnhoorn@...246...> Hi Marco, I have found the messages. This file (acinclude.m4.zip) is that the fix to solve the problem. Do you have this file for me acinclude.m4.zip Thanks Leo From elentirmo at ...20... Sun Sep 21 23:13:15 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sun, 21 Sep 2003 23:13:15 +0200 Subject: [Gambas-user] Crash on opening images/icons Message-ID: <200309212313.15795.elentirmo@...20...> Hi, every time I try to open an icon or a picture in the menueditor or the properties window gambas 0.70 crashes. Is there anyone else who has this problem? Gruss Marco From leo.barnhoorn at ...246... Mon Sep 22 09:36:54 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 22 Sep 2003 00:36:54 -0700 Subject: [Gambas-user] Crash on opening images/icons In-Reply-To: <200309212313.15795.elentirmo@...20...> References: <200309212313.15795.elentirmo@...20...> Message-ID: <200309220036.54096.leo.barnhoorn@...246...> Hi Marco, I like to try it but i can't try it Gambas version 0.70 will not compile. If you can send me the file (acinclude.m4.zip) you have received from Benoit then i can try it also. In the gambas-user there are attached files. Regards Leo. > every time I try to open an icon or a picture in the menueditor or the > properties window gambas 0.70 crashes. Is there anyone else who has this > problem? > > Gruss > Marco > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shannara at ...202... Mon Sep 22 04:06:11 2003 From: shannara at ...202... (shannara at ...202...) Date: Sun, 21 Sep 2003 18:06:11 -0800 Subject: [Gambas-user] Please fix Mailing List. References: <000301c37fc7$e6898ee0$2101a8c0@...240...> Message-ID: <002701c380ae$196e4df0$e290ed18@...203...> This mailing list have a major bug. It will not allow you to unsubscribe to it. Even if you go to the link, validate yourself via password and place in your email to unsubscribe, it will not unsubscribe you as required. Anybody know of a fix for this? From eng_ak at ...200... Mon Sep 22 08:52:41 2003 From: eng_ak at ...200... (Ahmad Kamal) Date: Mon, 22 Sep 2003 09:52:41 +0300 Subject: [Gambas-user] Error compiling 0.7 on RH8 In-Reply-To: <200309220036.54096.leo.barnhoorn@...246...> References: <200309212313.15795.elentirmo@...20...> <200309220036.54096.leo.barnhoorn@...246...> Message-ID: <3F6E9C39.8040303@...200...> Hi everyone, I had problems compiling 0.7 on RH8. The configure script says it can't find Internationalization libraries & continues. When I "make" libtool complains about not finding the "no" library libtool ...... -lno -lintl removing it, it still complains about -lintl. Any fix. I want to work on my SDL component ;) bye From elentirmo at ...20... Mon Sep 22 09:51:54 2003 From: elentirmo at ...20... (Marco Bauer) Date: Mon, 22 Sep 2003 09:51:54 +0200 Subject: [Gambas-user] Crash on opening images/icons In-Reply-To: <200309220036.54096.leo.barnhoorn@...246...> References: <200309212313.15795.elentirmo@...20...> <200309220036.54096.leo.barnhoorn@...246...> Message-ID: <200309220951.54786.elentirmo@...20...> Hi Leo, I attached the requested file (must have gone astray in my last mail). :-) Gruss Marco Am Montag, 22. September 2003 09:36 schrieb Leo Barnhoorn: > Hi Marco, > > I like to try it but i can't try it Gambas version 0.70 will not compile. > If you can send me the file (acinclude.m4.zip) you have received from > Benoit then i can try it also. > > In the gambas-user there are attached files. > > Regards > Leo. > > > every time I try to open an icon or a picture in the menueditor or the > > properties window gambas 0.70 crashes. Is there anyone else who has this > > problem? > > > > Gruss > > Marco > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > 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: acinclude.m4.zip Type: application/x-zip Size: 34203 bytes Desc: not available URL: From elentirmo at ...20... Mon Sep 22 10:10:05 2003 From: elentirmo at ...20... (Marco Bauer) Date: Mon, 22 Sep 2003 10:10:05 +0200 Subject: [Gambas-user] Crash on opening images/icons In-Reply-To: <200309212313.15795.elentirmo@...20...> References: <200309212313.15795.elentirmo@...20...> Message-ID: <200309221010.05274.elentirmo@...20...> I've found the solution to this problem. In FGetIcon.Class you've just to comment or delete line 29. There you find a call to FSupSelector.DefaultTab which doesn't exist anymore. Marco Am Sonntag, 21. September 2003 23:13 schrieb Marco Bauer: > Hi, > > every time I try to open an icon or a picture in the menueditor or the > properties window gambas 0.70 crashes. Is there anyone else who has this > problem? > > Gruss > Marco > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2... Mon Sep 22 10:56:07 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 22 Sep 2003 10:56:07 +0200 Subject: [Gambas-user] gambas 0.70a Message-ID: <200309221056.07892.gambas@...2...> Sorry for all the problems of the 0.70, but I did many internal changes ! Here is gambas 0.70a that should solve the previous problems, tell me... I patched the file selector because selecting pictures didn't work anymore, but I did ugly things. I will see with Fabien what to do latter... Regards, -- Benoit Minisini mailto:gambas at ...1... From edward_cjhsu at ...253... Mon Sep 22 11:30:42 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Mon, 22 Sep 2003 05:30:42 -0400 (EDT) Subject: [Gambas-user] cannot compile with RH9 Message-ID: <20030922093042.53964.qmail@...254...> Dear Sir, I got the same problem with Ahmad Kamal, when I compile with RH9. The errors are so many after I remove the -Lno -lintl from Makefile in src/exec. even I cannot compile the files in src/lib/qt/editor directory. Some examples of the error messages are as follows: moc_qeditor.cpp:30: no `void QEditor::initMetaObject()' member function declared in class `QEditor' moc_qeditor.cpp: In member function `void QEditor::initMetaObject()': moc_qeditor.cpp:34: `badSuperclassWarning' undeclared (first use this function) moc_qeditor.cpp:34: (Each undeclared identifier is reported only once for each function it appears in.) What's wrong with RH9? Edward ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From ronstk at ...239... Mon Sep 22 17:57:24 2003 From: ronstk at ...239... (R Onstenk) Date: Mon, 22 Sep 2003 17:57:24 +0200 Subject: [Gambas-user] Re: Crash on opening images/icons info for acinclude.m4.zip and CDialog.cpp!! Message-ID: <000201c38122$36e8bf40$2101a8c0@...240...> Do remember the acinclude.m4.zip file was made for a problem on SuSE 8.2 by Marco. The fix worked for me, I have also SuSE8.2 It is not by default it works on other distro's as found by some people already. For the crash with icons. It can be the same problem as I found. In CDialog is a minor bug that can crash Gambas. It did when I add the gb.qt.kde component in notepad example. Open a file and it crashes. Without gb.qt.kde it is working again as normal. See about it in the 'Re: CDialog question in context signal11" at 2003-09-20 10:17 There is also the corrected CDialog.cpp included to get. I have however the Gambas source code changed and I am working a new comiled version where the gb.qt.kde not is included. ------ Ron From ledominic at ...43... Mon Sep 22 20:02:19 2003 From: ledominic at ...43... (Dominico) Date: Mon, 22 Sep 2003 11:02:19 -0700 (PDT) Subject: [Gambas-user] upgrading Gambas Message-ID: <20030922180219.94769.qmail@...255...> How do we upgrade from version .6x to version .70a ? Please advise, Thanks. Dominic __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From ledominic at ...43... Mon Sep 22 20:56:14 2003 From: ledominic at ...43... (Dominico) Date: Mon, 22 Sep 2003 11:56:14 -0700 (PDT) Subject: [Gambas-user] mysql error Message-ID: <20030922185614.41394.qmail@...256...> I ran the sample application called "DataBase" that came with Gambas. When I try to connect to mysql, I received an error below: Cannot open database: "can't connect to local Mysql server through socket "var/lib/mysql/mysql.sock (2)" FYI: Maybe because I didn't know what to enter for the HOST, USERNAME, and PASSWORD fields. The application should create a new table if it doesn't exist though. Do I need to install MYSQL on my redhat9 ? I remember installing a few mysql QT packages before installing Gambas. I don't know why the application is unable to locate MySQL. Please help, Thanks. Dominic --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl.reinl at ...9... Mon Sep 22 20:58:53 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 22 Sep 2003 20:58:53 +0200 Subject: [Gambas-user] about 0.70a Message-ID: <3F6F466D.2040407@...9...> Salut Beno?t, for gentoo 1.4 based on rc4, all runs with the three. (The error for db I think, came from some traces, a mysql 3.23.56 was installed and the 4.xx installation failed, had not all depenfencies on the box, and no need till now to take them) But I attached you the configure and make log from my SuSE 7.2 if ever you can do something for my old box, would be fine. amicalement Charlie From karl.reinl at ...9... Mon Sep 22 21:03:40 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 22 Sep 2003 21:03:40 +0200 Subject: [Gambas-user] upgrading Gambas References: <20030922180219.94769.qmail@...255...> Message-ID: <3F6F478C.10106@...9...> Dominico schrieb: >How do we upgrade from version .6x to version .70a ? > >Please advise, > >Thanks. > >Dominic > >__________________________________ > > Salut Dominico, just unpack it to a NEW Dir, change into that dir and do like you dit for the 0.6x './ configure' , 'make' and as root 'make install' ( or su -c "make install") Charlie From karl.reinl at ...9... Mon Sep 22 21:07:16 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 22 Sep 2003 21:07:16 +0200 Subject: [Gambas-user] mysql error References: <20030922185614.41394.qmail@...256...> Message-ID: <3F6F4864.5070008@...9...> Dominico schrieb: > I ran the sample application called "DataBase" that came with Gambas. > When I try to connect to mysql, I received an error below: > > Cannot open database: "can't connect to local Mysql server through > socket "var/lib/mysql/mysql.sock (2)" > > FYI: Maybe because I didn't know what to enter for the HOST, USERNAME, > and PASSWORD fields. The application should create a new table if it > doesn't exist though. > > Do I need to install MYSQL on my redhat9 ? I remember installing a few > mysql QT packages before installing Gambas. I don't know why the > application is unable to locate MySQL. > > Please help, Thanks. > > Dominic > Dit you start mysql ? I do not know how to do it on redhad, but I think it must be done in /etc/init.d something like mysql or mysqld. amicalement Charlie From girardhenri at ...67... Mon Sep 22 21:28:34 2003 From: girardhenri at ...67... (Henri Girard) Date: Mon, 22 Sep 2003 21:28:34 +0200 Subject: [Gambas-user] Please fix Mailing List. References: <000301c37fc7$e6898ee0$2101a8c0@...240...> <002701c380ae$196e4df0$e290ed18@...203...> Message-ID: Yes... I tried and it didn't succeed... So I am "link" for ever.. if some one doesn't break it !!! ----- Original Message ----- From: To: Sent: Monday, September 22, 2003 4:06 AM Subject: [Gambas-user] Please fix Mailing List. > This mailing list have a major bug. It will not allow you to unsubscribe to > it. Even if you go to the link, validate yourself via password and place in > your email to unsubscribe, it will not unsubscribe you as required. > > Anybody know of a fix for this? > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Mon Sep 22 22:31:21 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 22 Sep 2003 22:31:21 +0200 Subject: [Gambas-user] Please fix Mailing List. References: <000301c37fc7$e6898ee0$2101a8c0@...240...> <002701c380ae$196e4df0$e290ed18@...203...> Message-ID: <3F6F5C19.8020801@...9...> Henri Girard schrieb: Should I be happy or sad, .. a relation forever ? >Yes... I tried and it didn't succeed... >So I am "link" for ever.. if some one doesn't break it !!! > >----- Original Message ----- >From: >To: >Sent: Monday, September 22, 2003 4:06 AM >Subject: [Gambas-user] Please fix Mailing List. > > > > >>This mailing list have a major bug. It will not allow you to unsubscribe >> >> >to > > >>it. Even if you go to the link, validate yourself via password and place >> >> >in > > >>your email to unsubscribe, it will not unsubscribe you as required. >> >>Anybody know of a fix for this? >> >> From leo.barnhoorn at ...246... Tue Sep 23 07:09:11 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 22 Sep 2003 22:09:11 -0700 Subject: [Gambas-user] Crash on opening images/icons In-Reply-To: <200309220951.54786.elentirmo@...20...> References: <200309212313.15795.elentirmo@...20...> <200309220036.54096.leo.barnhoorn@...246...> <200309220951.54786.elentirmo@...20...> Message-ID: <200309222209.11317.leo.barnhoorn@...246...> Hi Marco, Thank you, i will try it now. Regards, Leo On Monday 22 September 2003 00:51, Marco Bauer wrote: > Hi Leo, > > I attached the requested file (must have gone astray in my last mail). :-) > > Gruss > Marco > > Am Montag, 22. September 2003 09:36 schrieb Leo Barnhoorn: > > Hi Marco, > > > > I like to try it but i can't try it Gambas version 0.70 will not compile. > > If you can send me the file (acinclude.m4.zip) you have received from > > Benoit then i can try it also. > > > > In the gambas-user there are attached files. > > > > Regards > > Leo. > > > > > every time I try to open an icon or a picture in the menueditor or the > > > properties window gambas 0.70 crashes. Is there anyone else who has > > > this problem? > > > > > > Gruss > > > Marco > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2... Mon Sep 22 23:34:56 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 22 Sep 2003 23:34:56 +0200 Subject: [Gambas-user] Please fix Mailing List. In-Reply-To: <002701c380ae$196e4df0$e290ed18@...203...> References: <000301c37fc7$e6898ee0$2101a8c0@...240...> <002701c380ae$196e4df0$e290ed18@...203...> Message-ID: <200309222334.56624.gambas@...2...> Le Lundi 22 Septembre 2003 04:06, shannara at ...202... a ?crit : > This mailing list have a major bug. It will not allow you to unsubscribe to > it. Even if you go to the link, validate yourself via password and place in > your email to unsubscribe, it will not unsubscribe you as required. > > Anybody know of a fix for this? > > > It is very strange, I have no shannara at ...202... on the list of gambas-user subscribers ! But I have a girardhenri at ...67..., should I remove it ? -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Mon Sep 22 23:53:38 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 22 Sep 2003 23:53:38 +0200 Subject: [Gambas-user] nothing to do with gambas, but a problem for me Message-ID: <3F6F6F62.4030305@...9...> Salut, here you see my diskspace made with df -h , the problem is my /root it shows me only 18M available, but with 'du' it must be about 300 M, I made it the 'du' also for the other partitions and it is OK. Has anybody a hint for me. I logged in with a Knoppix and can't find nothing which explaint the lost 30M. df -h Filesystem Size Used Avail Use% Mounted on /dev/sda11 2.0G 2.0G 18M 100% / /dev/sda5 30M 8.3M 20M 29% /boot /dev/sda12 3.0G 2.0G 1.0G 64% /usr /dev/sda13 3.0G 1.1G 1.9G 35% /opt /dev/sda14 1.0G 505M 522M 50% /home /dev/sda15 10G 4.0G 6.0G 40% /vmware shmfs 1006M 0 1006M 0% /dev/shm . in root making du -h -m -x -s 1705 cd /boot du -h -m -x -s 9 . cd /home du -h -m -x -s 489 . cd /opt du -h -m -x -s 1111 . cd /usr du -h -m -x -s 2154 . From gambas at ...2... Tue Sep 23 00:07:59 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 23 Sep 2003 00:07:59 +0200 Subject: [Gambas-user] upgrading Gambas In-Reply-To: <3F6F478C.10106@...9...> References: <20030922180219.94769.qmail@...255...> <3F6F478C.10106@...9...> Message-ID: <200309230008.00043.gambas@...2...> Le Lundi 22 Septembre 2003 21:03, Charlie a ?crit : > Dominico schrieb: > >How do we upgrade from version .6x to version .70a ? > > > >Please advise, > > > >Thanks. > > > >Dominic > > > >__________________________________ > > Salut Dominico, > > just unpack it to a NEW Dir, change into that dir and do like you dit > for the 0.6x > './ configure' , 'make' and as root 'make install' ( or su -c "make > install") > > Charlie > And, to be sure, you can uninstall the previous version of gambas by removing its directory as root. For example, if you installed it under /opt, just remove /opt/gambas. -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Tue Sep 23 09:08:49 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 23 Sep 2003 00:08:49 -0700 Subject: [Gambas-user] Gambas-0.70a Message-ID: <200309230008.49287.leo.barnhoorn@...246...> Hi All, Gambas version 0.70a is working OK no problems. Also the network component version 0.08 is working OK. Everything is perfect i love it. Regards Leo From edward_cjhsu at ...253... Tue Sep 23 04:24:45 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Mon, 22 Sep 2003 22:24:45 -0400 (EDT) Subject: [Gambas-user] 0.7a has problem on RH9 Message-ID: <20030923022445.71872.qmail@...257...> Dear Sir, Gambas 0.7a is not OK on RedHat 9.0. Maybe as R Onstenk said it is OK for Suse but not by default OK for other distribution. Any one knows how to fix problems for RH9? Cannot compile at all. Thanks. Edward --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From eng_ak at ...200... Tue Sep 23 08:23:27 2003 From: eng_ak at ...200... (Ahmad Kamal) Date: Tue, 23 Sep 2003 09:23:27 +0300 Subject: [Gambas-user] compiling on RH8 Message-ID: <3F6FE6DF.3090300@...200...> Does anyone know what are the Internationalization libraries that gambas wants? May be if I install them, it would compile ok. Anyone, got GB to compile on RH8 or RH9? Thnx From gambas at ...2... Tue Sep 23 20:06:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 23 Sep 2003 20:06:55 +0200 Subject: [Gambas-user] Gambas-0.70a In-Reply-To: <200309230008.49287.leo.barnhoorn@...246...> References: <200309230008.49287.leo.barnhoorn@...246...> Message-ID: <200309232006.55545.gambas@...2...> Le Mardi 23 Septembre 2003 09:08, Leo Barnhoorn a ?crit : > Hi All, > > Gambas version 0.70a is working OK no problems. Also the network component > version 0.08 is working OK. > > Everything is perfect i love it. > > Regards > Leo > Hi, Leo. Even if you say that Gambas is OK on your machine, you must tell us what is your system. If somebody else with the same system has a problem, it will mean that maybe YOU will have the solution ! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue Sep 23 20:08:09 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 23 Sep 2003 20:08:09 +0200 Subject: [Gambas-user] compiling on RH8 In-Reply-To: <3F6FE6DF.3090300@...200...> References: <3F6FE6DF.3090300@...200...> Message-ID: <200309232008.09230.gambas@...2...> Le Mardi 23 Septembre 2003 08:23, Ahmad Kamal a ?crit : > Does anyone know what are the Internationalization libraries that gambas > wants? > May be if I install them, it would compile ok. > > Anyone, got GB to compile on RH8 or RH9? > > Thnx > Hi, Ahmad. Did you test the 0.70a ? Because, normally :-), if no internationalization library is detected, nothing is linked - In 0.70, a library named "no" was linked by error. Regard, -- Benoit Minisini mailto:gambas at ...1... From tim at ...258... Tue Sep 23 23:52:19 2003 From: tim at ...258... (Tim Auld) Date: Tue, 23 Sep 2003 16:52:19 -0500 Subject: [Gambas-user] Trying to create a form and add controls dynamically Message-ID: <200309231652.19860.tim@...258...> Hi there, I am trying to create a form in Gambas dynamically and programatically add controls to the new form. Has anyone done this? Would you have an example I could use? Regards, Tim From leo.barnhoorn at ...246... Wed Sep 24 10:33:14 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 24 Sep 2003 01:33:14 -0700 Subject: [Gambas-user] Gambas-0.70a In-Reply-To: <200309232006.55545.gambas@...2...> References: <200309230008.49287.leo.barnhoorn@...246...> <200309232006.55545.gambas@...2...> Message-ID: <200309240133.14601.leo.barnhoorn@...246...> Hi Benoit, Yes it's careless of me. I have running 4 systems 2 of the systems are installed with the distributions of SuSE, 1 system with SuSE 8.0 and running Gambas version 0.65a and a system with SuSE 8.2 running Gambas version 0.70a, Gambas is working OK on both systems and the network component version 0.08 is also working OK on both systems.. Thanks Benoit for the remark, Regards Leo On Tuesday 23 September 2003 11:06, Benoit Minisini wrote: > Le Mardi 23 Septembre 2003 09:08, Leo Barnhoorn a ?crit : > > Hi All, > > > > Gambas version 0.70a is working OK no problems. Also the network > > component version 0.08 is working OK. > > > > Everything is perfect i love it. > > > > Regards > > Leo > > Hi, Leo. > > Even if you say that Gambas is OK on your machine, you must tell us what is > your system. If somebody else with the same system has a problem, it will > mean that maybe YOU will have the solution ! > > Regards, From edward_cjhsu at ...253... Wed Sep 24 16:53:13 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Wed, 24 Sep 2003 10:53:13 -0400 (EDT) Subject: [Gambas-user] No good for RH8 or RH( Message-ID: <20030924145313.37203.qmail@...254...> Dear Sir, It seems that Gambas is no good for Red Hat, I did not get any answer saying that Gambas is OK on Red Hat 8 or RH 9. To compile 0.70a on Red Hat is exact the same as 0.70, it is full of errors. But 0.65a is running fine. Could any one help? Or should I wait for next version of Gambas? Edward --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Sep 24 17:20:40 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 24 Sep 2003 11:20:40 -0400 Subject: [Gambas-user] No good for RH8 or RH( In-Reply-To: <20030924145313.37203.qmail@...254...> References: <20030924145313.37203.qmail@...254...> Message-ID: <200309241120.40971.sourceforge-raindog2@...94...> On Wednesday 24 September 2003 10:53, Edward Hsu wrote: > It seems that Gambas is no good for Red Hat, I did not get any > answer saying that Gambas is OK on Red Hat 8 or RH 9. To > compile 0.70a on Red Hat is exact the same as 0.70, it is full > of errors. But 0.65a is running fine. Could any one help? Or > should I wait for next version of Gambas? Wanna post those errors? If you're the only red hat user (or the only red hat user having problems) just saying "it won't compile" is not helpful. Rob From gambas at ...2... Wed Sep 24 22:05:29 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 24 Sep 2003 22:05:29 +0200 Subject: [Gambas-user] No good for RH8 or RH( In-Reply-To: <20030924145313.37203.qmail@...254...> References: <20030924145313.37203.qmail@...254...> Message-ID: <200309242205.29734.gambas@...2...> Le Mercredi 24 Septembre 2003 16:53, Edward Hsu a ?crit : > Dear Sir, > > It seems that Gambas is no good for Red Hat, I did not get any answer > saying that Gambas is OK on Red Hat 8 or RH 9. To compile 0.70a on Red Hat > is exact the same as 0.70, it is full of errors. But 0.65a is running fine. > Could any one help? Or should I wait for next version of Gambas? > > Edward > > Hi Edward, You must understand that I don't develop on RedHat. So I can't see every problem when I make a version. I changed a lot of thing in library detection in the 0.70a. This is the reason why thing worked with 0.65a - And this is the reason why I don't remove the old packages from the web site when I make a new one. You must give me all the information you can so that I can solve the problem - Or better, you can grant me a temporary ssh or telnet access to your machine so that I can debug directly on it - It is faster :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From edward_cjhsu at ...253... Thu Sep 25 05:07:13 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Wed, 24 Sep 2003 23:07:13 -0400 (EDT) Subject: [Gambas-user] No good for RH8 or RH( In-Reply-To: <200309242205.29734.gambas@...2...> Message-ID: <20030925030713.74548.qmail@...259...> Dear Benoit, Thanks so much for your answer . When I configure the Gambas, everything is OK. When I "make" then there seems some problems about qt. I got errors as attached. I upgrade to Qt3 already, that's why all other versions are running fine, but version 0.70a does not compile as you can see from above. Thanks for your help Edward --- Benoit Minisini wrote: > Le Mercredi 24 Septembre 2003 16:53, Edward Hsu a > ?crit : > > Dear Sir, > > > > It seems that Gambas is no good for Red Hat, I did > not get any answer > > saying that Gambas is OK on Red Hat 8 or RH 9. To > compile 0.70a on Red Hat > > is exact the same as 0.70, it is full of errors. > But 0.65a is running fine. > > Could any one help? Or should I wait for next > version of Gambas? > > > > Edward > > > > > > Hi Edward, > > You must understand that I don't develop on RedHat. > So I can't see every > problem when I make a version. > > I changed a lot of thing in library detection in the > 0.70a. This is the reason > why thing worked with 0.65a - And this is the reason > why I don't remove the > old packages from the web site when I make a new > one. > > You must give me all the information you can so that > I can solve the problem - > Or better, you can grant me a temporary ssh or > telnet access to your machine > so that I can debug directly on it - It is faster > :-) > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: error.gambas Type: application/octet-stream Size: 11131 bytes Desc: error.gambas URL: From eddy_betun at ...43... Thu Sep 25 13:32:01 2003 From: eddy_betun at ...43... (Stefanus Eddy) Date: Thu, 25 Sep 2003 04:32:01 -0700 (PDT) Subject: [Gambas-user] problem running gambas in RH 9.0 Message-ID: <20030925113201.14205.qmail@...261...> Dear all, i'm finish install gambas, but i get this error when i try to running gambas for the firts time, " make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/src/hrb-baru/gambas-0.70a' make[1]: Leaving directory `/usr/local/src/hrb-baru/gambas-0.70a' [root at ...260... gambas-0.70a]# cd / [root at ...260... /]# gambas /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: undefined symbol: _ZNSs4_Rep11_S_terminalE [root at ...260... /]# " what's wrong?????, please help me. i used linux RH 9 (Shrike) with kernel 2.4.20-20.9 and pentium III/800EB, 356 Mb memory i configure with "disable kde komponent" regards eddy __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From ledominic at ...43... Thu Sep 25 19:00:54 2003 From: ledominic at ...43... (Dominico) Date: Thu, 25 Sep 2003 10:00:54 -0700 (PDT) Subject: [Gambas-user] Gentlemen In-Reply-To: Message-ID: <20030925170054.39711.qmail@...265...> I am a brand new user of GAMBAS v.65. From what I have seen, this software is robust and was well implimented. So far, I have done creating the GUI for my application in Gambas. However, I am having a very hard time in coding the objects on my GUI due to the limited language documentation. For instance, I use listbox and textarea objects on my form. And I don't know how to create the classes for the objects. I did search around on Gambas website including the wiki-encyclopaedia and still couldn't find the info. I need. I would like to know how to create the function or sub for adding the items into the listbox or textarea. Plus other methods such as removing items..etc..Gambas online-help doesn't have examples on how to create the Methods of objects. It has just only the syntax for object method creation which is impossible for me to get my objects to work. All I need is a small example on each of the object methods. I did go through all the project examples that came with Gambas and found some useful things for my application but that was it. If someone has code examples of object methods, Could you please email them to me. My email address is blumonde at ...263... Thanks so much. I would also like to know if it is possible for Gambas to do Bit Masking ? For example can we do something like "Indextoname = 0xFFFFFF" ? Setting a fixed size of a variable and store it to a database field. How do we code it in Gambas. Please advise. Thanks again. Best regards, Dominic --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Sat Sep 27 02:11:37 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 27 Sep 2003 02:11:37 +0200 Subject: [Gambas-user] BUG: GridView and Signal11 Message-ID: <000001c3848b$eb01f340$2101a8c0@...240...> Goeidag Benoit, Gridview is 5 columns and 8 rows Event code from Menu bar: GridView1.Clear Event code from MousDown on Grid: data = GridView1[2,2].Text data = mid$(data,2) ' remove leading marker GridView1[2,2].Text = data Crash with Signal11 occurs on reading the cell content. After trying several posibilties I found with single step that the .Colums.Count is still 5 and the .Rows.Count is at 8 so when I am right the .Clear does only empty the cells in the grid. When I try to get the content of a cell at a bigger row/column I get a bad index error, using the .Clear let the application crash with signal11 Workaround is to set the the .Columns.Count after the .Clear with the value of .Columns.Count ---- Ron From carlo.m at ...122... Sat Sep 27 09:16:29 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: Sat, 27 Sep 2003 09:16:29 +0200 Subject: [Gambas-user] 0.7a has problem on RH9 In-Reply-To: <20030923022445.71872.qmail@...257...> References: <20030923022445.71872.qmail@...257...> Message-ID: <1064646988.4060.6.camel@...266...> Hi, this mornig had time to compile 0.70a and it worked without any problem (only tried some example for now). I have Redhat 9, but it is a little messed-up with rawhide, so it is possible the out-of-the-box still has some compatibility problem. I'm not an expert at all, but have you updated Qt library as suggested on important notes on gambas site? Sorry for late reply, maybe you already solved the problem... Bye, Carlo Il mar, 2003-09-23 alle 04:24, Edward Hsu ha scritto: > Dear Sir, > > Gambas 0.7a is not OK on RedHat 9.0. Maybe as R Onstenk said it is OK > for Suse but not by default OK for other distribution. Any one knows > how to fix problems for RH9? Cannot compile at all. Thanks. > > Edward > > > > ______________________________________________________________________ > Post your free ad now! Yahoo! Canada Personals From ronstk at ...239... Sat Sep 27 09:48:29 2003 From: ronstk at ...239... (R Onstenk) Date: Sat, 27 Sep 2003 09:48:29 +0200 Subject: [Gambas-user] QT3 Libraries on SuSE versus RH Message-ID: <000001c384cb$bdf54060$2101a8c0@...240...> On Suse 8.2 the QT path is RH9.0: /usr/lib/qt3-3.1/lib/libqt-mt.so Suse file: /usr/lib/qt3/lib/libqt-mt.so.3.1.1 SuSE link: /usr/lib/qt3/lib/libqt-mt.so.3.1 to the file SuSE link: /usr/lib/qt3/lib/libqt-mt.so.3 to the file SuSE link: /usr/lib/libqt-mt.so.3 to the file The file or link to libqt-mt.so was not found when I started with v0.44 so I had to add a link /usr/lib/libqt-mt.so myself. whereis finds only the libqt-mt.so and libqt-mt.so.3 files in /usr/lib/. --- ron From bernard.pre at ...62... Sat Sep 27 10:27:07 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Sat, 27 Sep 2003 10:27:07 +0200 Subject: [Gambas-user] RedHat 9 Message-ID: hi ! I can't compile gambas 70a on my linux box ... Can somebody help me to upgrade qt ? (I don't know which package must il update ans how-to) Thanks Bernard From carlo.m at ...122... Sat Sep 27 11:52:35 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: Sat, 27 Sep 2003 11:52:35 +0200 Subject: [Gambas-user] RedHat 9 In-Reply-To: References: Message-ID: <1064656355.4060.22.camel@...266...> Il sab, 2003-09-27 alle 10:27, Bernard PRE ha scritto: > hi ! > I can't compile gambas 70a on my linux box ... > > Can somebody help me to upgrade qt ? > (I don't know which package must il update ans how-to) This should work: go here (or other rawhide mirrors): http://distro.ibiblio.org/pub/Linux/distributions/redhat/rawhide/i386/RedHat/RPMS/ search for qt-3 and download qt-3.1.2-14.i386.rpm (or similar name, this is rawhide and version number will increase with time) and other related files. As root type: rpm -Uvh qt-3.1.2-14.i386.rpm rpm will inform you which other packages you need to upgrade/add. The infos returned by rpm will give you a hint on the package name (probably qt-devel and other dependent package already installed on your box). If you are on slow connection beware qt-devel size (more than 12M). Other Qt packages are much smaller. Once downloaded the additional requested packages keep upgrading with rpm -Uvh [package name]. You may add several packages on the same line, this will help solve cross dependencies. If you have all needed packages you'll see rpm installing them, otherwise you have to start again at rawhide and download any additional requested file. Sorry, but I don't know which specific packages need to be updated. Hope this help, Carlo From edward_cjhsu at ...253... Sat Sep 27 13:30:07 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Sat, 27 Sep 2003 07:30:07 -0400 (EDT) Subject: [Gambas-user] 0.7a has problem on RH9 In-Reply-To: <1064646988.4060.6.camel@...266...> Message-ID: <20030927113007.97928.qmail@...259...> Dear Carlo Thanks for your e-mail, I did upgrade Qt as suggested. The other versions of Gambas are running good and beautifully. Only version 0.70a has problems for RH9. I am still trying and waiting for answer. Thanks. Edward Carlo Malfatti wrote: Hi, this mornig had time to compile 0.70a and it worked without any problem (only tried some example for now). I have Redhat 9, but it is a little messed-up with rawhide, so it is possible the out-of-the-box still has some compatibility problem. I'm not an expert at all, but have you updated Qt library as suggested on important notes on gambas site? Sorry for late reply, maybe you already solved the problem... Bye, Carlo Il mar, 2003-09-23 alle 04:24, Edward Hsu ha scritto: > Dear Sir, > > Gambas 0.7a is not OK on RedHat 9.0. Maybe as R Onstenk said it is OK > for Suse but not by default OK for other distribution. Any one knows > how to fix problems for RH9? Cannot compile at all. Thanks. > > Edward > > > > ______________________________________________________________________ > Post your free ad now! Yahoo! Canada Personals ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From edward_cjhsu at ...253... Sat Sep 27 13:43:36 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Sat, 27 Sep 2003 07:43:36 -0400 (EDT) Subject: [Gambas-user] RedHat 9 In-Reply-To: Message-ID: <20030927114336.67996.qmail@...254...> Dear Bernard, You need 6 packages as follows: 1. qt-3.1.2-14.i386.rpm 2. qt-designer-3.1.2-14.i386.rpm 3. qt-devel-3.1.2-14.i386.rpm 4. qt-MySQL-3.1.2-14.i386.rpm 5. qt-ODBC-3.1.2-14.i386.rpm 6. qt-PostgreSQL-3.1.2-14.i386.rpm download these files and in terminal run as follows: rpm -U --nodeps --replacepkgs qt-3.1.2-13.i386.rpm rpm -U --nodeps --replacepkgs ... one by one downto 6 packages That's all Regards, Edward Bernard PRE wrote: hi ! I can't compile gambas 70a on my linux box ... Can somebody help me to upgrade qt ? (I don't know which package must il update ans how-to) Thanks Bernard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...2... Sat Sep 27 16:36:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 27 Sep 2003 16:36:16 +0200 Subject: [Gambas-user] Trying to create a form and add controls dynamically In-Reply-To: <200309231652.19860.tim@...258...> References: <200309231652.19860.tim@...258...> Message-ID: <200309271636.16069.gambas@...2...> Le Mardi 23 Septembre 2003 23:52, Tim Auld a ?crit : > Hi there, > I am trying to create a form in Gambas dynamically and programatically add > controls to the new form. Has anyone done this? Would you have an example > I could use? > > Regards, > > Tim > You just have to create controls exactly like any other objects. The first argument of the control constructor must be the parent control or form. To create a form: MyForm = NEW Form And, for example, here is how to add controls in this form: PRIVATE MyLabel AS Label ... MyLabel = NEW Label(MyForm) MyLabel.Move(10, 10, 120, 30) MyLabel.Text = "Hello" ... If you want event handlers, do that: MyLabel = NEW Label(MyForm) AS "MyLabel" ... PUBLIC SUB MyLabel_Click() ... END When you create a form in the IDE, the gambas compiler replace it by this kind of code, as if you have typed it by hand. Regards, -- Benoit Minisini mailto:gambas at ...1... From thomas at ...267... Sat Sep 27 23:50:41 2003 From: thomas at ...267... (Thomas Boose) Date: 27 Sep 2003 23:50:41 +0200 Subject: [Gambas-user] Re: QT3 Libraries on SuSE versus RH Message-ID: <1064699441.27908.19.camel@...269...> It looks like SuSE forgets to put the path: "/usr/lib/qt3/lib" in the "/etc/ld.so.conf" file. If you do and run ldconfig gambas will run with no errors about libqt-mt.so. Greztings and have fun, Prutser > From: R Onstenk > QT3 Libraries on SuSE versus RH > 2003-09-27 01:10 > > > On Suse 8.2 the QT path is > > RH9.0: /usr/lib/qt3-3.1/lib/libqt-mt.so > > Suse file: /usr/lib/qt3/lib/libqt-mt.so.3.1.1 > SuSE link: /usr/lib/qt3/lib/libqt-mt.so.3.1 to the file > SuSE link: /usr/lib/qt3/lib/libqt-mt.so.3 to the file > SuSE link: /usr/lib/libqt-mt.so.3 to the file > > The file or link to libqt-mt.so was not found when I started > with v0.44 so I had to add a link /usr/lib/libqt-mt.so myself. > > whereis finds only the libqt-mt.so and libqt-mt.so.3 files in /usr/lib/. > > --- > ron From bernard.pre at ...62... Sun Sep 28 08:21:25 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Sun, 28 Sep 2003 08:21:25 +0200 Subject: [Gambas-user] RedHat 9.0 Message-ID: Hi Thanks to every body for your help ! Gambas 070a is now working fine on Redhat 9.0. Bernard -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.pre at ...62... Sun Sep 28 08:39:59 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Sun, 28 Sep 2003 08:39:59 +0200 Subject: [Gambas-user] Database access Message-ID: hi, I'm trying to find e very simple samples for accessing database : Open a database Accessing a table Reading a field Updating / Deleting a record Close Thanks for your help Bernard -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...267... Sun Sep 28 11:08:53 2003 From: gambas at ...267... (Thomas Boose) Date: 28 Sep 2003 11:08:53 +0200 Subject: [Gambas-user] Database access In-Reply-To: References: Message-ID: <1064740133.27909.243.camel@...269...> Op zo 28-09-2003, om 08:39 schreef Bernard PRE: > hi, > > I'm trying to find e very simple samples for accessing database : > > Open a database > Accessing a table > Reading a field > Updating / Deleting a record > Close > > Thanks for your help > > Bernard > Hi Benard, I was playing around yesterday for the first time in gambas. I made a little subroutine to load the root items of a treeview from a table.I will skip the uninteresting parts ---------- PUBLIC SUB LaadDingen() DIM MyConn AS NEW connection DIM MyResult AS result WITH MyConn .Type = "mysql" .Host = "localhost" .Login = "YOURDBLOGIN" .Password = "YOURDBPWD" .Name = "YOURDBNAME" .Open myresult = .Exec("SELECT id, Name " & "from TblDingen") END WITH WHILE MyResult.Available TvwDingen.add (MyResult["id"], MyResult["Name"]) MyResult.MoveNext WEND CATCH Message.Error(Error.Text) END ------------ You can use the same Exec() methode to delete and update values. Greetings Prutser From ronstk at ...239... Sun Sep 28 12:03:38 2003 From: ronstk at ...239... (R Onstenk) Date: Sun, 28 Sep 2003 12:03:38 +0200 Subject: [Gambas-user] Re: QT3 Libraries on SuSE versus RH Message-ID: <000101c385a7$c9686300$2101a8c0@...240...> I Had the same idee and put it my self inthere allready Durring compile of an other program I got the message about doing this fro the libs created by that program so I did know about it. The reason I posted this was because on RH there are/where some problems with i.e. QT. Special the /usr/lib/qt is in various ways as /qt/lib, /qt3/lib /qt3-3.1/lib for RH, SuSE, MDRK etc. ----- Ron, een andere prutser >It looks like SuSE forgets to put the path: > "/usr/lib/qt3/lib" >in the > "/etc/ld.so.conf" >file. >If you do and run ldconfig gambas will run with no errors about >libqt-mt.so. > >Greztings and have fun, > >Prutser From ronstk at ...239... Sun Sep 28 13:41:56 2003 From: ronstk at ...239... (R Onstenk) Date: Sun, 28 Sep 2003 13:41:56 +0200 Subject: [Gambas-user] Re: Re: Trying to create a form and add controls dynamically Message-ID: <000301c385b5$8551a100$2101a8c0@...240...> A quetion about the same I have a form and two classes as FMain, Cframes and Cframe. I show here the relevant code only, Cframe can be 0 to n instances under program control and are connected with lines between them. Cframe has events for handling by the manager Cframes and events to handle by the main program. ------------- Cframe: sub _new(parent as object) inc findex hP = parent hF = new Frame(p) as "fr" hF.tag = findex hL = new ListBox(f) as "lb" hB = New Button(f) as "btn" end fr_click() raise frclick(hF) ' raise event to Cframes lb_click() raise lbclick(hL) ' raise event to Cframes ------------- Cframes: sub Add(parent as object) obj = new Cframe(parent as object) as "cf" obj.move(x,y,w,h) pcollection.add(obj, obj.tag) ' add to collection etc. end sub Remove(obj as object) 'obj.tag is id of the Frame dim o as object dim key as sting key = obj.tag for each o in obj.children o.delete ' button and listbox next obj.delete pcollection.remove(key) end cf_frclick(hF as object) 'tag is id of the frame 'do some the actions for the frame hF end cf_lbclick(hL as object) 'tag is id of the frame RAISE lbisClicked(hL) 'cant handle this end -------------- FMain: sub _New hCFr = NEW Cframes(Fmain) as "CFR" end sub CFR_lbisClicked(hL as object) 'raised be CFrames 'tag is id of the frame 'never comes here end sub CleanUp() dim o as object for each o in me.children if object.type(o) = "Frame" then CFR.Remove(o.tag) next end -------------- 4 questions: 1) In both 'for each' loops the last object is not deleted. The last in .children stay's on the form for the loop in Fmain 'CleanUp()'. All the other object are gone as expected. Is this a bug? PRINT .Children.Count say's 1 after NEXT. 2) If I have a container contol like a frame and put other controls on it do I have to delete/remove theme before I delete the container control or is this done automatic? (can't find info) 3) Is it better to place the routine to delete the button and listbox in the Cframe _free procedure? (it look to me it should be) 4) When the Cframe raises a event that must be a event from Cframes then I can raise the event in Cframes ( cf_lbclick() )but it never arives in the main program. Can I raise nested events as here is the case? BTW: For the delete in de Cframes: hF.delete pcollection.remove(id) The order does not matter but only if both are done then _free event in Cframe fires. ----------- Greets Ron From edward_cjhsu at ...253... Sun Sep 28 14:33:35 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Sun, 28 Sep 2003 08:33:35 -0400 (EDT) Subject: [Gambas-user] RedHat 9.0 In-Reply-To: Message-ID: <20030928123335.21601.qmail@...270...> Dear Bernard, Could you let me know the way you compile Gambas on RH9, do you disable anything when you configure. If yes, which did you disable. If no, could you tell me the steps in details, because I still got some problems. I cannot get SDL running. Thanks. Edward --- Bernard PRE wrote: > Hi > > Thanks to every body for your help ! Gambas 070a is > now working fine on > Redhat 9.0. > > Bernard > > > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From tim at ...258... Sun Sep 28 17:18:11 2003 From: tim at ...258... (Tim Auld) Date: 28 Sep 2003 10:18:11 -0500 Subject: [Gambas-user] Trying to create a form and add controls dynamically In-Reply-To: <200309271636.16069.gambas@...2...> References: <200309231652.19860.tim@...258...> <200309271636.16069.gambas@...2...> Message-ID: <1064762291.1782.3.camel@...271...> Hi Benoit, Thanks for responding and thanks for the example. It worked great. I'm am a VB programmer from way back. I just love what you and the team have done with Gambas. I can't get over the speed with which it executes, especially database access. Regards ... Tim. On Sat, 2003-09-27 at 09:36, Benoit Minisini wrote: > Le Mardi 23 Septembre 2003 23:52, Tim Auld a ?crit : > > Hi there, > > I am trying to create a form in Gambas dynamically and programatically add > > controls to the new form. Has anyone done this? Would you have an example > > I could use? > > > > Regards, > > > > Tim > > > > You just have to create controls exactly like any other objects. The first > argument of the control constructor must be the parent control or form. > > To create a form: > > MyForm = NEW Form > > And, for example, here is how to add controls in this form: > > PRIVATE MyLabel AS Label > ... > MyLabel = NEW Label(MyForm) > MyLabel.Move(10, 10, 120, 30) > MyLabel.Text = "Hello" > ... > > If you want event handlers, do that: > > MyLabel = NEW Label(MyForm) AS "MyLabel" > ... > PUBLIC SUB MyLabel_Click() > ... > END > > When you create a form in the IDE, the gambas compiler replace it by this kind > of code, as if you have typed it by hand. > > Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gambasfr at ...11... Sun Sep 28 22:06:44 2003 From: Gambasfr at ...11... (Fabien BODARD) Date: Sun, 28 Sep 2003 22:06:44 +0200 Subject: [Gambas-user] Problem with event parameters... Message-ID: <200309282206.45020.Gambasfr@...11...> Hi Benoit I've trying to test the gcollider, it's really pretty and work fine with gambas-0.65a... but no with gambas-0.70a... a BUG in gambas ?... benoit? gambas say for all event : too many parameter.. so i try to use the event menu in editing form to see what it put in the editor for key_press : Form_MouseMove() and not Form_MouseMove(X AS Integer, Y AS Integer, Button AS Integer) I think there is a little big problem here no ? ;-) ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: capture17.png Type: image/png Size: 10236 bytes Desc: not available URL: From elentirmo at ...20... Sun Sep 28 22:36:19 2003 From: elentirmo at ...20... (Marco Bauer) Date: Sun, 28 Sep 2003 22:36:19 +0200 Subject: [Gambas-user] Problem with event parameters... In-Reply-To: <200309282206.45020.Gambasfr@...11...> References: <200309282206.45020.Gambasfr@...11...> Message-ID: <200309282236.19440.elentirmo@...20...> Hi Fabien, I originally wrote this program under gambas 0.65a and since then (gambas 0.70a) the handling of mouse-events has changed (I don't know if I mentioned it in my first mail concerning gcollider, but you can rotate the view by pressing the left mouse button in the main window and move it around). Attached to this mail you find the tar-ball for the changed gcollider source which should work under gambas 0.70a -- it certanly worked for me. Have fun. Marco Am Sonntag, 28. September 2003 22:06 schrieb Fabien BODARD: > Hi Benoit > > I've trying to test the gcollider, it's really pretty and work fine with > gambas-0.65a... but no with gambas-0.70a... a BUG in gambas ?... benoit? > > gambas say for all event : > > too many parameter.. so i try to use the event menu in editing form to see > what it put in the editor for key_press : > > Form_MouseMove() and not Form_MouseMove(X AS Integer, Y AS Integer, Button > AS Integer) > > I think there is a little big problem here no ? > > ;-) > > ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: gcollider.tar.gz Type: application/x-tgz Size: 46808 bytes Desc: not available URL: From g.pica at ...272... Sun Sep 28 22:38:42 2003 From: g.pica at ...272... (Giuseppe Pica) Date: Sun, 28 Sep 2003 22:38:42 +0200 Subject: [Gambas-user] Compiling problems under RH 9 Message-ID: <001301c38600$84dffe60$daece00a@...273...> Hi, I have Redhat 9 and I've updated Qt library as suggested in notes on site and in a detailed previous post. I'm afraid but during compiling source files (command make) there are many problems in file: "moc_qeditor.cpp" This is a part of the errors list: ....... Making all in editor make[5]: Entering directory `/root/gambas-0.70a/src/lib/qt/editor' source='moc_qeditor.cpp' object='moc_qeditor.lo' libtool=yes \ depfile='.deps/moc_qeditor.Plo' tmpdepfile='.deps/moc_qeditor.TPlo' \ depmode=gcc3 /bin/sh ../../../../depcomp \ /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share? -I/usr/lib/qt-3.1/include/ -D_THREAD_SAFE? ? ? -g -O2 -pipe -Wall -fno-exceptions -g -O0 -c -o moc_qeditor.lo `test -f 'moc_qeditor.cpp' || echo './'`moc_qeditor.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt-3.1/include/ -D_THREAD_SAFE -g -O2 -pipe -Wall -fno-exceptions -g -O0 -c moc_qeditor.cpp -MT moc_qeditor.lo -MD -MP -MF .deps/moc_qeditor.TPlo? -fPIC -DPIC -o moc_qeditor.lo moc_qeditor.cpp:30: no `void QEditor::initMetaObject()' member function declared in class `QEditor' moc_qeditor.cpp: In member function `void QEditor::initMetaObject()': moc_qeditor.cpp:34: `badSuperclassWarning' undeclared (first use this function) moc_qeditor.cpp:34: (Each undeclared identifier is reported only once for each function it appears in.) moc_qeditor.cpp: At global scope: moc_qeditor.cpp:41: prototype for `QString QEditor::tr(const char*)' does not match any in class `QEditor' qeditor.h:107: candidate is: static QString QEditor::tr(const char*, const char* = 0) moc_qeditor.cpp: In static member function `static QMetaObject* QEditor::staticMetaObject()': moc_qeditor.cpp:135: no method `QMetaObject::new_metadata' moc_qeditor.cpp:136: no method `QMetaObject::new_metaaccess' moc_qeditor.cpp:138: `struct QMetaData' has no member named `ptr' moc_qeditor.cpp:138: `QMember' undeclared (first use this function) moc_qeditor.cpp:138: parse error before `;' token moc_qeditor.cpp:141: `struct QMetaData' has no member named `ptr' moc_qeditor.cpp:141: parse error before `;' token moc_qeditor.cpp:144: `struct QMetaData' has ....... ....... make[3]: Leaving directory `/root/gambas-0.70a/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/gambas-0.70a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/gambas-0.70a' make: *** [all] Error 2 I've also tried to use configure command with "--disable-kde-component" but never has changed... what's the problem? Thanks in Advance Peppe -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at ...258... Sun Sep 28 23:45:30 2003 From: tim at ...258... (Tim Auld) Date: 28 Sep 2003 16:45:30 -0500 Subject: [Gambas-user] Accessing a Collection of the Controls on a form Message-ID: <1064785530.21567.80.camel@...271...> Hi, In VB you can go through a collection of all the controls that appear on a form. Is there a way to do a similar thing in Gambas? Regards ... Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From edward_cjhsu at ...253... Mon Sep 29 03:33:53 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Sun, 28 Sep 2003 21:33:53 -0400 (EDT) Subject: [Gambas-user] Compiling problems under RH 9 In-Reply-To: <001301c38600$84dffe60$daece00a@...273...> Message-ID: <20030929013353.675.qmail@...259...> hi, Peppe, Bernard PRE said yesterday that he compiled and run fine with RH9, I think we need his help. Could bernard help? Thanks. Edward --- Giuseppe Pica wrote: > Hi, > I have Redhat 9 and I've updated Qt library as > suggested in notes on > site and in a detailed previous post. > I'm afraid but during compiling source files > (command make) there are many problems in file: > "moc_qeditor.cpp" > > This is a part of the errors list: > ....... > Making all in editor > make[5]: Entering directory > `/root/gambas-0.70a/src/lib/qt/editor' > source='moc_qeditor.cpp' object='moc_qeditor.lo' > libtool=yes \ > depfile='.deps/moc_qeditor.Plo' > tmpdepfile='.deps/moc_qeditor.TPlo' \ > depmode=gcc3 /bin/sh ../../../../depcomp \ > /bin/sh ../../../../libtool --mode=compile g++ > -DHAVE_CONFIG_H -I. -I. > -I../../../.. -I../../../../src/share? > -I/usr/lib/qt-3.1/include/ > -D_THREAD_SAFE? ? ? -g -O2 -pipe -Wall > -fno-exceptions -g -O0 -c -o > moc_qeditor.lo `test -f 'moc_qeditor.cpp' || echo > './'`moc_qeditor.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. > -I../../../../src/share > -I/usr/lib/qt-3.1/include/ -D_THREAD_SAFE -g -O2 > -pipe -Wall > -fno-exceptions -g -O0 -c moc_qeditor.cpp -MT > moc_qeditor.lo -MD -MP -MF > .deps/moc_qeditor.TPlo? -fPIC -DPIC -o > moc_qeditor.lo > moc_qeditor.cpp:30: no `void > QEditor::initMetaObject()' member function > declared in class `QEditor' > moc_qeditor.cpp: In member function `void > QEditor::initMetaObject()': > moc_qeditor.cpp:34: `badSuperclassWarning' > undeclared (first use this > function) > moc_qeditor.cpp:34: (Each undeclared identifier is > reported only once > for each > function it appears in.) > moc_qeditor.cpp: At global scope: > moc_qeditor.cpp:41: prototype for `QString > QEditor::tr(const char*)' > does not > match any in class `QEditor' > qeditor.h:107: candidate is: static QString > QEditor::tr(const char*, > const > char* = 0) > moc_qeditor.cpp: In static member function `static > QMetaObject* > QEditor::staticMetaObject()': > moc_qeditor.cpp:135: no method > `QMetaObject::new_metadata' > moc_qeditor.cpp:136: no method > `QMetaObject::new_metaaccess' > moc_qeditor.cpp:138: `struct QMetaData' has no > member named `ptr' > moc_qeditor.cpp:138: `QMember' undeclared (first use > this function) > moc_qeditor.cpp:138: parse error before `;' token > moc_qeditor.cpp:141: `struct QMetaData' has no > member named `ptr' > moc_qeditor.cpp:141: parse error before `;' token > moc_qeditor.cpp:144: `struct QMetaData' has > ....... > ....... > make[3]: Leaving directory > `/root/gambas-0.70a/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/root/gambas-0.70a/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/gambas-0.70a' > make: *** [all] Error 2 > > I've also tried to use configure command with > "--disable-kde-component" > but never has changed... > > what's the problem? > Thanks in Advance > Peppe > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From bernard.pre at ...62... Mon Sep 29 20:06:35 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 29 Sep 2003 20:06:35 +0200 Subject: [Gambas-user] Compiling problems under RH 9 In-Reply-To: <20030929013353.675.qmail@...259...> Message-ID: Hi, I am sorry, but i don't know how to compile under redhat : Benoit do this compile with a telnet on my linux box ... Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Edward Hsu Envoye : lundi 29 septembre 2003 03:34 A : gambas-user at lists.sourceforge.net Objet : Re: [Gambas-user] Compiling problems under RH 9 hi, Peppe, Bernard PRE said yesterday that he compiled and run fine with RH9, I think we need his help. Could bernard help? Thanks. Edward --- Giuseppe Pica wrote: > Hi, > I have Redhat 9 and I've updated Qt library as > suggested in notes on > site and in a detailed previous post. > I'm afraid but during compiling source files > (command make) there are many problems in file: > "moc_qeditor.cpp" > > This is a part of the errors list: > ....... > Making all in editor > make[5]: Entering directory > `/root/gambas-0.70a/src/lib/qt/editor' > source='moc_qeditor.cpp' object='moc_qeditor.lo' > libtool=yes \ > depfile='.deps/moc_qeditor.Plo' > tmpdepfile='.deps/moc_qeditor.TPlo' \ > depmode=gcc3 /bin/sh ../../../../depcomp \ > /bin/sh ../../../../libtool --mode=compile g++ > -DHAVE_CONFIG_H -I. -I. > -I../../../.. -I../../../../src/shareB > -I/usr/lib/qt-3.1/include/ > -D_THREAD_SAFEB B B -g -O2 -pipe -Wall > -fno-exceptions -g -O0 -c -o > moc_qeditor.lo `test -f 'moc_qeditor.cpp' || echo > './'`moc_qeditor.cpp > g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. > -I../../../../src/share > -I/usr/lib/qt-3.1/include/ -D_THREAD_SAFE -g -O2 > -pipe -Wall > -fno-exceptions -g -O0 -c moc_qeditor.cpp -MT > moc_qeditor.lo -MD -MP -MF > .deps/moc_qeditor.TPloB -fPIC -DPIC -o > moc_qeditor.lo > moc_qeditor.cpp:30: no `void > QEditor::initMetaObject()' member function > declared in class `QEditor' > moc_qeditor.cpp: In member function `void > QEditor::initMetaObject()': > moc_qeditor.cpp:34: `badSuperclassWarning' > undeclared (first use this > function) > moc_qeditor.cpp:34: (Each undeclared identifier is > reported only once > for each > function it appears in.) > moc_qeditor.cpp: At global scope: > moc_qeditor.cpp:41: prototype for `QString > QEditor::tr(const char*)' > does not > match any in class `QEditor' > qeditor.h:107: candidate is: static QString > QEditor::tr(const char*, > const > char* = 0) > moc_qeditor.cpp: In static member function `static > QMetaObject* > QEditor::staticMetaObject()': > moc_qeditor.cpp:135: no method > `QMetaObject::new_metadata' > moc_qeditor.cpp:136: no method > `QMetaObject::new_metaaccess' > moc_qeditor.cpp:138: `struct QMetaData' has no > member named `ptr' > moc_qeditor.cpp:138: `QMember' undeclared (first use > this function) > moc_qeditor.cpp:138: parse error before `;' token > moc_qeditor.cpp:141: `struct QMetaData' has no > member named `ptr' > moc_qeditor.cpp:141: parse error before `;' token > moc_qeditor.cpp:144: `struct QMetaData' has > ....... > ....... > make[3]: Leaving directory > `/root/gambas-0.70a/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/root/gambas-0.70a/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/gambas-0.70a' > make: *** [all] Error 2 > > I've also tried to use configure command with > "--disable-kde-component" > but never has changed... > > what's the problem? > Thanks in Advance > Peppe > ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From g.pica at ...272... Tue Sep 30 09:45:07 2003 From: g.pica at ...272... (Giuseppe Pica) Date: Tue, 30 Sep 2003 09:45:07 +0200 Subject: [Gambas-user] Compiling problems under RH 9 Message-ID: <002501c38726$c808c1f0$4300a8c0@...272...> Hi, is it possible that the problem is my video card, that's a NVIDIA TI4600 ? On the Gambas site there is a note about problems deriving from some driver of this card. Is there anyone that has resolved a problem like this? Thanks a lot Peppe -------------- next part -------------- An HTML attachment was scrubbed... URL: From radoslav.dejanovic at ...116... Tue Sep 30 11:29:19 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Tue, 30 Sep 2003 11:29:19 +0200 Subject: [Gambas-user] Compiling problems under RH 9 In-Reply-To: <002501c38726$c808c1f0$4300a8c0@...272...> References: <002501c38726$c808c1f0$4300a8c0@...272...> Message-ID: <200309301129.19328.radoslav.dejanovic@...116...> On Tuesday 30 September 2003 09:45 am, Giuseppe Pica wrote: > Hi, > is it possible that the problem is my video card, that's a NVIDIA TI4600 ? > On the Gambas site there is a note about problems deriving from some driver > of this card. Is there anyone that has resolved a problem like this? I have the same card and manufacturer's drivers, had no problems with the card at all. Using SuSE 8.2 Btw, SuSE 9.0 should be released in a month or so. Oh, the joy of fixing all the Gambas compiling issues... :))) -- Radoslav Dejanovi?, founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From edward_cjhsu at ...253... Tue Sep 30 15:42:10 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Tue, 30 Sep 2003 09:42:10 -0400 (EDT) Subject: [Gambas-user] about RH9 In-Reply-To: Message-ID: <20030930134210.81794.qmail@...274...> Dear Benoit, It is good to hear that you fix for Bernard's RH9 through telnet. But my linux box is behind the firewall and proxy. Could you put the fixed gambas version for RH9 on Gambas web site so that we can download it? Thanks so much, I am appreciated about your good project. Regards, Edward --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.pica at ...272... Tue Sep 30 16:11:06 2003 From: g.pica at ...272... (Giuseppe Pica) Date: Tue, 30 Sep 2003 16:11:06 +0200 Subject: [Gambas-user] Re: Compiling problems under RH 9 Message-ID: <001a01c3875c$b1623450$4300a8c0@...272...> Great! I've resolved the problem... During the "./configure" command I've seen a bad detection about "Qt Meta Object" (moc) with wrong path: /usr/lib/qt-2.3.1./bin//moc (and also an incorrect double slash...) I've forced the right path in "configure" file to "MOC=lib/qt-3.1/bin/moc" Then I've repeated the usual compiling procedures and run Gambas. Work fine!!! Thanks Peppe -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...2... Tue Sep 30 22:07:15 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 30 Sep 2003 22:07:15 +0200 Subject: [Gambas-user] BUG: GridView and Signal11 In-Reply-To: <000001c3848b$eb01f340$2101a8c0@...240...> References: <000001c3848b$eb01f340$2101a8c0@...240...> Message-ID: <200309302207.16103.gambas@...2...> Le Samedi 27 Septembre 2003 02:11, R Onstenk a ?crit : > Goeidag Benoit, > > Gridview is 5 columns and 8 rows > > Event code from Menu bar: > GridView1.Clear > > Event code from MousDown on Grid: > data = GridView1[2,2].Text > data = mid$(data,2) ' remove leading marker > GridView1[2,2].Text = data > > Crash with Signal11 occurs on reading the cell content. > > After trying several posibilties I found with single step that the > .Colums.Count is still 5 and the .Rows.Count is at 8 so when I am > right the .Clear does only empty the cells in the grid. > > When I try to get the content of a cell at a bigger row/column I get a > bad index error, using the .Clear let the application crash with signal11 > > Workaround is to set the the .Columns.Count after the .Clear with the > value of .Columns.Count > > ---- > Ron > > OK, I fixed it. Thanks for the bug report. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue Sep 30 22:18:38 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 30 Sep 2003 22:18:38 +0200 Subject: [Gambas-user] gambas 0.70b Message-ID: <200309302218.38851.gambas@...2...> Hi, everybody. I have just made a 0.70b package that (normally) let gambas compile on RedHat without having to fix the configure file as Giuseppe Pica did. Otherwise, I will go to Canada next week for my job - They wanted to fire me, and now they send me to Canada ! So, I will be silentious until Oct. 13th. Regards, -- Benoit Minisini mailto:gambas at ...1...