Re: [Gambas-user] Type of Variables possible?
On Tue, Dec 29, 2009 at 2:18 AM, charlesg char...@pearceshardware.co.ukwrote: Hi Project, Options, Module symbols are public by default=yes ? rgds Thank you, but I must still be confused. Please see the following example: I have the following in my startup class/form: Public IOvariables1 As New IOvariables Then, in my IOvariables.class Public DriveWheelLeft As Integer = 1 Public DriveWheelRight As Integer = 2 Public HeadLR As Integer = 90 Public HeadUD As Integer = 90 Public IRLeft As Integer = 0 If I try and use IOvariables1 in a separate module, I receive an unknown identifier error? What am I doing wrong? Many thanks -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Type of Variables possible?
On Tue, Dec 29, 2009 at 5:23 AM, Kadaitcha Man nospam.nospam.nos...@gmail.com wrote: 2009/12/29 Dr. Diesel dr.die...@gmail.com: On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard gambas...@gmail.com wrote: use a class ; TDBInfo 'Gambas Class PUBLICDatabasePathAs String PUBLICDatabaseNameAs String PUBLICTableName As String PUBLICPurgeSQLAs String PUBLICPurgeSQL2 As String then : Public DatabaseInfo As DBinfo[NUM_MAX_DB] Thank you! I can get this to work, just there seems no way to make it global and accessable across different modules/classes. So pass the object around. That's what instantiated objects are for, hey. Thanks for the help. I just need to confirm if it is not currently possible in gambas3 or am I just doing something wrong? -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Type of Variables possible?
On Mon, Dec 28, 2009 at 6:14 AM, Fabien Bodard gambas...@gmail.com wrote: use a class ; TDBInfo 'Gambas Class PUBLICDatabasePathAs String PUBLICDatabaseNameAs String PUBLICTableName As String PUBLICPurgeSQLAs String PUBLICPurgeSQL2 As String then : Public DatabaseInfo As DBinfo[NUM_MAX_DB] Thank you! I can get this to work, just there seems no way to make it global and accessable across different modules/classes. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Type of Variables possible?
Looking to do something like this from VB6 Public DatabaseInfo(NUM_MAX_DB) As DBinfo Type DBinfo DatabasePathAs String DatabaseNameAs String TableName As String PurgeSQLAs String PurgeSQL2 As String End Type Any way to do types in gambas3? Many thanks -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Latest SVN-2531 gbr3 100% CPU
Haven't done an SVN pull in a couple days so this is fairly new. Firing gambas3 brings up the flash screen, picking any existing app or even a new app causes gbr3 to spike and hold 100% CPU. Have to kill the process to clear it up. Running Fedora 12.i386, happy to provide any further info by request. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Latest SVN-2531 gbr3 100% CPU
2009/12/27 Benoît Minisini gam...@users.sourceforge.net Haven't done an SVN pull in a couple days so this is fairly new. Firing gambas3 brings up the flash screen, picking any existing app or even a new app causes gbr3 to spike and hold 100% CPU. Have to kill the process to clear it up. Running Fedora 12.i386, happy to provide any further info by request. It should be better with revision #2532. Regards, -- Benoît Minisini Yes, thank you, all appears normal now. Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webcam weirdness
2009/8/25 Benoît Minisini gam...@users.sourceforge.net Not sure what to include with this, please ask for additional info. Attached is a pict of some webcam weirdness with no error messages generated. Doesn't appear to be a webcam issue as the image looks fine with Cheese Webcam Booth. This was taken with gambas v3 SVN as of yesterday running the WebCam example program. usb 4-1: new full speed USB device using uhci_hcd and address 4 usb 4-1: New USB device found, idVendor=0733, idProduct=0401 usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 4-1: configuration #1 chosen from 1 choice gspca: probing 0733:0401 gspca: probe ok [a...@localhost trunk]$ Only gambas debug info was this: (WebCam:25423): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] /snip gambas v4l2: SPCA501 [11] gambas v4l2: SPCA501 [11] Thanks Andy Is it better if you use the latest revision? gb.v4l now uses the standard Video4Linux conversion library, so it should handle the specific format of your camera correctly. -- Benoît Yes, thank you, it now works perfectly. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
On Mon, Aug 24, 2009 at 12:35 PM, David Villalobos Cambronero david_villalobo...@yahoo.com wrote: Hi, this is my first try!! any comment Regards -- David Looks good on the Fedora 10 side. [gar...@localhost Download]$ ./report ./report: line 35: gbx: command not found ./report: line 36: gbx2: command not found [gar...@localhost Download]$ report.log: [OperativeSystem] OperativeSystem=Linux KernelRelease=2.6.29.5-84.fc10.x86_64 Distribution=Fedora release 10 (Cambridge) [Hardwate] [Gambas] Gambas= Gambas2= Gambas3=2.99.0 -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
On Mon, Aug 24, 2009 at 1:44 PM, Joshua Higgins joshigg...@googlemail.comwrote: M0E Lnx, can you try this? 2009/8/24 M0E Lnx m0e@gmail.com and the overall output is not good... your quotes are throwin the whole thing off I think == #!/bin/bash # System Report # GPL'd # Based on David Villalobos Cambronero's original report script # Collect the data for OS OutputFile='report2.log'; OS=`uname` KERNEL=`uname -r` ARCH=`uname -m` maybe try OS=$(uname) KERNEL=$(uname -r) ARCH=$(uname -m) -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Fedora requires /etc/*release or /etc/issue, /etc*-release does not work! Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Need help / call for volunteers
On Mon, Aug 24, 2009 at 3:17 PM, M0E Lnx m0e@gmail.com wrote: that works here = vluser:$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.27.29 CPUArchitecture=i686 DistributionVendor=vector DistributionRelease=Vector Linux 6.0 SOHO Alpha 1.16 [Gambas] Gambas1=Not Installed Gambas2=2.15.2 Gambas2Path=/usr/bin/gbx2 Gambas3=Not Installed == And here: [gar...@localhost Download]$ ./report-ng System Report for Gambas Found distro information at /etc/redhat-release! Detected distro: redhat Saved to report2.log Done. [gar...@localhost Download]$ cat report2.log [OperatingSystem] OperatingSystem=Linux KernelRelease=2.6.29.5-84.fc10.x86_64 CPUArchitecture=x86_64 DistributionVendor=redhat DistributionRelease=Fedora release 10 (Cambridge) [Gambas] Gambas1=Not Installed Gambas2=Not Installed Gambas3=2.99.0 Gambas3Path= [gar...@localhost Download]$ -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New feature in Gambas 3 IDE
2009/8/24 Benoît Minisini gam...@users.sourceforge.net Hi, In Gambas 3 IDE, you can now modify the contents of local variables, global variables, and any field in debugger watch windows. While debugging of course... This feature is fresh, so you may have crashes! Regards, -- Benoît You sir, are the man! Many thanks for such a great enviroment! This post got me wondering, the roadmap on the gambas website does not mention any date for the v3 release? Any available guess/estimate? Although svn has been serving me just fine :D Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] libtool management in Gambas 3 compilation problems
2009/8/16 Benoît Minisini gam...@users.sourceforge.net Hi, I was in holidays the last week, but I took time to work on Gambas a little anyway. I did the following changes in the configuration process: - I put all custom autoconf macros in a m4 directory. I have upgraded them with the one provided by Ubuntu 9.04. - I drop libltdl, the library loader provided by libtool. Now the interpreter directly uses dlopen(). That way, now I can do a ./reconf ./configure on a Ubuntu 9.04 without any warnings and errors. Now I have to test on Mandriva these changes. Please tell me if compiling Gambas 3 on your system now is better. When the problems will be fixed, I will backport the changes to Gambas 2. Regards, -- Benoît Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with exit status: 1 [gar...@localhost trunk]$ Fedora 11, 64bit machine Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] libtool management in Gambas 3 compilation problems
2009/8/16 Benoît Minisini gam...@users.sourceforge.net Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with exit status: 1 [gar...@localhost trunk]$ Fedora 11, 64bit machine Thanks Andy Maybe some files I forgot to commit. Wait a little... Try with revision #2237. -- Benoît [gar...@localhost trunk]$ ./reconf-all aclocal: installing `m4/libtool.m4' from `/usr/share/aclocal/libtool.m4' [gar...@localhost trunk]$ reconfig and configure ran, still working out some 64bit package deps but looks much better so far, thanks again! -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] svn2231 - libtool problem?
On Wed, Aug 12, 2009 at 8:03 AM, Leonardo Miliani leona...@leonardomiliani.com wrote: o.s.p ha scritto: hello! gcc version 4.4.1 (Frugalware Linux - current) host-triplet: i686-frugalware-linux-gnu shell:/bin/sh compiler: gcc compiler flags: -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing linker: /usr/i686-frugalware-linux/bin/ld (gnu? yes) libtool: (GNU libtool) 2.2.6 automake: automake (GNU automake) 1.11 autoconf: autoconf (GNU Autoconf) 2.64 svn 2231 i have this error!!?? (no problems with previous svn) Making install in gbx make[2]: Entering directory `/home/pol/Desktop/src/g/2.0/main/gbx' /bin/sh ../libtool --tag=CC --mode=link ccache gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -O0 -module -no-undefined -o gb.la -rpath /usr/local/lib/gambas2 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_c_quote.lo gb_la-gbx_class_info.lo -lm-ldl -lpthread -lffi ccache gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_c_quote.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread /usr/lib/libffi.so -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[2]: *** [gb.la] Error 1 make[2]: Leaving directory `/home/pol/Desktop/src/g/2.0/main/gbx' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/pol/Desktop/src/g/2.0/main' make: *** [install-recursive] Error 1 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user I got *exactly* the same error on my Arch Linux, same message and same point of compilation. I don't know if it is related to libtool or not but I have libttol 2.2 and until rev. #2127 I was able to compile Gambas without problems. I also have this problem. I forwarded (posted yesterday) my ./configure output plus my configure scripts to the list. Hopefully some sense can be made of it! Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org I'd rather have dead offenders than repeat offenders - Ted Nugent -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Problem updating svn from revision 2209
On Sun, Aug 9, 2009 at 10:07 AM, Gaël Le Hec'H gael.leh...@gmail.comwrote: subversion feels stupid there. Just remove the libltdl directory by hand before doing 'svn update'. succeeded to update after removal of main/libltdl but with revision 2228 I get this error when reconf-all /usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR /usr/share/aclocal/nspr.m4:8: run info '(automake)Extending aclocal' /usr/share/aclocal/nspr.m4:8: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39: its definition is in aclocal's search path. /usr/share/automake-1.10/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.10/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.10/am/depend2.am: The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.10/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.10/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.10/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 this on slackware 12.2, no change in gcc or whatever between both revision Regards, Gaël I am also receiving the same error, Fedora 11_64bit, svn of revision 2228. [gar...@localhost trunk]$ ./reconf-all Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL Makefile.am:39: Libtool library used but `LIBTOOL' is undefined Makefile.am:39: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:39: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am:39: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure Makefile.am:39: its definition is in aclocal's search path. /usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to define `am__fastdepCC' is to add `AC_PROG_CC' /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. /usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.11/am/depend2.am: The usual way to define `AMDEP' is to add one of the compiler tests /usr/share/automake-1.11/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC, /usr/share/automake-1.11/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.11/am/depend2.am: to `configure.ac' and run `aclocal' and `autoconf' again. Makefile.am: C source seen but `CC' is undefined Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1 [gar...@localhost trunk]$ Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Errors compiling Gambas
On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani leona...@leonardomiliani.com wrote: Benoît Minisini ha scritto: Benoît Minisini ha scritto: Benoît Minisini ha scritto: This is the output of the make command on Gambas2 SVN. I think you have a problem on your system, as gcc tells it does not recognize an option... Please post the full output of the compilation process, i.e. with configure. And try to do a checkout from scratch, and a ./reconf before doing ./configure -C. Regards, I suppose you know that Arch Linux is a rolling release distro so every program is always at the very last version. Maybe there could be a compatibily issue between Gambas sources and gcc 4.4.1 that is installed on my system? P.S.: I've inclued part of the /reconf-all command too. It contains a loto of messages that I've never seen before. You have clearly a problem with your installation of gcc. I think either you didn't install it completely (for example a new gcc with an old linker), or the new version of gcc is not compatible with the old one, but I think it is unlikely. Regards, Could you please post the the version of gcc needed to compile Gambas? Or the version that you used? I cannot understand why until the rev. #2127 I was able to compile Gambas and now I'm not. I'm using gcc 4.3.2 on Mandriva 2009.1. You have the same problem than Dr.Diesel. The configure script tells: ... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported ... These tests are not made by me, and you see like me that gcc *should* be a GNU c compiler, and accept -g. There is clearly a problem between the compiler and the script written to detect it... Strange. This is what I get: [...@hp_laptop ~]$ gcc --version gcc (GCC) 4.4.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. As you see, my gcc comes from GNU but it's newer than the one on your system. This is the only difference that I see. Now I'm trying to reinstall gcc, now building it from scratch using sources... FYI, my Ubuntu 9.10 box is also gcc 4.4.1, perhaps new behaviour for this version? I am compiling gambas3 from svn on 3 separate machines, 1=Fedora 10_32 bit, 2=Fedora 10_64b bit and a Ubuntu 9.10_32bit. My compiling/error posts might be a bit confusing! :) Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Errors compiling Gambas
2009/8/9 Benoît Minisini gam...@users.sourceforge.net After reinstalling gcc configure reports the following about gcc: checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes The message above was reported by configure from gambas 2.15. Instead, configure from gambas2-svn still continue to tell me that I'm _not_ using a GNU gcc compiler Why?? :-/ AFAIK, I changed nothing in the configuration process in Gambas 2 since the beginning. I recently changed things only in Gambas 3 (/trunk). If you don't tell exactly which commands you run to compile Gambas, it is difficult to understand what happens. Are you doing a ./reconf when compiling both gambas 2.15.2 and gambas2 form /branches/2.0 ? Because there is a ./configure script located in the 2.15.2 source package, but it has been generated on my Mandriva. If you do a ./reconf, you are generating the ./configure script again, but on your own machine, which may change many things. If you can send the configure script generated after you have done a ./reconf, I will be able to compare it with the one generated on my machine. That could help in understanding what happens exactly. If Nick Rathke and Dr. Diesel see this message, they can do the same thing. Please tell if you did it for Gambas2, Gambas3, and for which revision or package. Thanks in advance. -- Benoît Please see attached configure script generated on Ubuntu 9.10_32bit machine with gcc 4.4.1. thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org configure.tar.gz Description: GNU Zip compressed data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu
On Fri, Aug 7, 2009 at 2:52 PM, Nick Rathke n...@sci.utah.edu wrote Here is the same error block as the Ubuntu system(s) /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm-ldl -lpthread ../libtool: line 5001: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/root/Desktop/gambas3/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/root/Desktop/gambas3/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/Desktop/gambas3/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/gambas3' make: *** [all] Error 2 -Nick Here is the make error from Ubuntu 9.10, looks to be libtool related also: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c gbx_class_info.c -DPIC -o .libs/gb_la-gbx_class_info.o mv -f .deps/gb_la-gbx_class_info.Tpo .deps/gb_la-gbx_class_info.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm-ldl -lpthread -lffi libtool: link: gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o -lm -ldl -lpthread -lffi -lc -soname gb.so.0 -o .libs/gb.so.0.0.0 gcc: gb.so.0: No such file or directory gcc: unrecognized option '-soname' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/home/andy/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 a...@mini:~/trunk$ More info available if needed. Thanks Andy -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu
Here you go! 2009/8/7 Benoît Minisini gam...@users.sourceforge.net I asked for the output of './reconf' and './configure'. Without that I can't do anything... -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org log.log.tar.gz Description: GNU Zip compressed data -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling on Suse 11.1 was : Compiling Gambas 3 svn on Ubuntu
2009/8/7 Benoît Minisini gam...@users.sourceforge.net Here you go! 2009/8/7 Benoît Minisini gam...@users.sourceforge.net These lines are strange: ... checking whether we are using the GNU C compiler... no checking whether gcc accepts -g... no checking for gcc option to accept ISO C89... unsupported ... Did you correctly install gcc? -- Benoît Mmmm, it was installed via standard Ubuntu package manager at install, however 9.10 is only to the alpha 3 stage. I have compiled other stuff ok? -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Help compiling gambas3
Hello all! Having a little trouble with libtool on Fedora 11_x86. I've downgraded (not easy on F11!) to libtool 2.0 as suggested on the info page: libtool-1.5.26-4.fc10.i386 libtool-ltdl-1.5.26-4.fc10.i386 But still receive this error: /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm-ldl -lpthread ../libtool: line 5001: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk/trunk' make: *** [all] Error 2 [a...@localhost trunk]$ Any suggestions? Many thanks. -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help compiling gambas3
Many thanks, that got me a munch further! I am now stuck here, probably a missing dep but I can't seem to determine which package? I started with a fresh svn checkout: make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include-I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include -I/usr/include/kde4/ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from /usr/lib/qt-3.3/include/qpen.h:47, from /usr/lib/qt-3.3/include/qpainter.h:51, from ../../gb.qt.h:37, from main.h:28, from CWebBrowser.h:31, from main.cpp:26: /usr/lib/qt-3.3/include/qshared.h:49: error: variable ‘Q_EXPORT QShared’ has initializer but incomplete type /usr/lib/qt-3.3/include/qshared.h:49: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x /usr/lib/qt-3.3/include/qshared.h:51: error: expected ‘}’ before ‘:’ token /usr/lib/qt-3.3/include/qshared.h:51: error: expected ‘,’ or ‘;’ before ‘:’ token /usr/lib/qt-3.3/include/qshared.h: In function ‘void ref()’: /usr/lib/qt-3.3/include/qshared.h:52: error: ‘count’ was not declared in this scope /usr/lib/qt-3.3/include/qshared.h: In function ‘bool deref()’: /usr/lib/qt-3.3/include/qshared.h:53: error: ‘count’ was not declared in this scope /usr/lib/qt-3.3/include/qshared.h: At global scope: /usr/lib/qt-3.3/include/qshared.h:55: error: expected declaration before ‘}’ token make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/home/andy/trunk/gb.qt.kde/src/html' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/andy/trunk/gb.qt.kde/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/gb.qt.kde' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/gb.qt.kde' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 [a...@localhost trunk]$ Thanks again 2009/8/6 Benoît Minisini gam...@users.sourceforge.net Hello all! Having a little trouble with libtool on Fedora 11_x86. I've downgraded (not easy on F11!) to libtool 2.0 as suggested on the info page: libtool-1.5.26-4.fc10.i386 libtool-ltdl-1.5.26-4.fc10.i386 But still receive this error: /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -I../share -D_REENTRANT -I../libltdl -O0 -module -O1 -z defs -Lno -o gb.la-rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm-ldl -lpthread ../libtool: line 5001: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[4]: *** [gb.la] Error 1 make[4]: Leaving directory `/home/andy/trunk/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andy/trunk/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andy/trunk/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk/trunk' make: *** [all] Error 2 [a...@localhost trunk]$ Any suggestions? Many thanks. Sorry for that, but since a few days libtool must not be downgraded anymore. You must use libtool 2. Please upgrade, and tell me if everything works. Don't forget to do a ./reconf before reconfiguring! If you are not sure, just start from a fresh checkout. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting
Re: [Gambas-user] Help compiling gambas3
Many thanks for the help, I install these packages and all is now fine: Aug 06 20:43:45 Installed: firebird-libfbembed.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:46 Installed: libogg-devel.i586 2:1.1.3-11.fc11 Aug 06 20:43:48 Installed: xinetd.i586 2:2.3.14-22.fc11 Aug 06 20:43:48 Installed: sqlite2.i586 2.8.17-3.fc11 Aug 06 20:43:49 Installed: firebird-devel.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:51 Installed: libvorbis-devel.i586 1:1.2.0-7.fc11 Aug 06 20:43:51 Installed: SDL_mixer-devel.i586 1.2.8-12.fc11 Aug 06 20:43:52 Installed: sqlite2-devel.i586 2.8.17-3.fc11 Aug 06 20:43:53 Installed: firebird.i586 2.1.2.18118.0-11.fc11 Aug 06 20:43:55 Installed: firebird-classic.i586 2.1.2.18118.0-11.fc11 Thanks again, Andy 2009/8/6 Benoît Minisini gam...@users.sourceforge.net Many thanks, that got me a munch further! I am now stuck here, probably a missing dep but I can't seem to determine which package? I started with a fresh svn checkout: make[5]: Entering directory `/home/andy/trunk/gb.qt.kde/src/html' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt-3.3/include-I/usr/include/kde4/ -pipe These two paths together is a weird things. Did you install kde3 libraries? If not, then configure made a mistake and use kde4 include path thinking it is the kde3 one. Please send the output of (./reconf ./configure), and disable explicitely the kde components. Regards, -- Benoît -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- projecthuh.com All of my bits are free, are yours? Fedoraproject.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user