Discussion:
[Gambas-user] Release of Gambas 3.7
Benoît Minisini
2015-03-14 11:27:09 UTC
Permalink
Hi,

After a few last minutes bugs had been fixed, Gambas 3.7 has been released!

Some of the main changes are:

- A new software repository made with Gambas for Gambas. It allows to
publish and install Gambas softwares.

- Databases now can be initialized from templates automatically
generated by the IDE.

- Array accessors are now faster.

- The MySQL database driver is faster.

- The child process interface has been fixed and optimized.

- New SDL2 component.

- New scanner management component.

- New version of the report component.

See the 'Release Notes' on the wiki for the list of all new features and
bug fixes.

http://gambaswiki.org/wiki/doc/release/3.7.0

Thanks for your patience and enjoy it!

--
Benoît Minisini
Lewis Balentine
2015-03-14 12:39:11 UTC
Permalink
Environment: Linux Mint 17 X64, Mate Desktop 1.8

***@HP8460 ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0
***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
./reconf-all
...<snip>...
autoreconf: running: /usr/bin/autoconf
configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $

regards,

Lewis Balentine

On 03/14/2015 06:27 AM, Benoît Minisini wrote:
> Hi,
>
> After a few last minutes bugs had been fixed, Gambas 3.7 has been released!
>
> Some of the main changes are:
>
> - A new software repository made with Gambas for Gambas. It allows to
> publish and install Gambas softwares.
>
> - Databases now can be initialized from templates automatically
> generated by the IDE.
>
> - Array accessors are now faster.
>
> - The MySQL database driver is faster.
>
> - The child process interface has been fixed and optimized.
>
> - New SDL2 component.
>
> - New scanner management component.
>
> - New version of the report component.
>
> See the 'Release Notes' on the wiki for the list of all new features and
> bug fixes.
>
> http://gambaswiki.org/wiki/doc/release/3.7.0
>
> Thanks for your patience and enjoy it!
>
Benoît Minisini
2015-03-14 13:15:14 UTC
Permalink
Le 14/03/2015 13:39, Lewis Balentine a écrit :
> Environment: Linux Mint 17 X64, Mate Desktop 1.8
>
> ***@HP8460 ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0
> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
> ./reconf-all
> ...<snip>...
> autoreconf: running: /usr/bin/autoconf
> configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
>
> regards,
>
> Lewis Balentine
>

Which version of autoconf do you use?

--
Benoît Minisini
Benoît Minisini
2015-03-14 13:22:48 UTC
Permalink
Le 14/03/2015 14:15, Benoît Minisini a écrit :
> Le 14/03/2015 13:39, Lewis Balentine a écrit :
>> Environment: Linux Mint 17 X64, Mate Desktop 1.8
>>
>> ***@HP8460 ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0
>> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
>> ./reconf-all
>> ...<snip>...
>> autoreconf: running: /usr/bin/autoconf
>> configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
>> If this token and others are legitimate, please use
>> m4_pattern_allow.
>> See the Autoconf documentation.
>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
>>
>> regards,
>>
>> Lewis Balentine
>>
>
> Which version of autoconf do you use?
>

And automake, and libtool. One of them is too old.

Strange, as I sucessfully compiled and installed the development version
on Mint 17.1 a few weeks ago.

Regards,

--
Benoît Minisini
Lewis Balentine
2015-03-14 13:39:27 UTC
Permalink
I was just checking that ...
--------------------------------
Ref: http://gambas.sourceforge.net/en/main.html
The following versions of GNU tools are needed:
automake 1.11.1
autoconf 2.68
libtool 2.4
Compiling with older version may or may not work!
-----------------------------------------
$ automake --version
automake (GNU automake) 1.14.1

$ autoconf --version
autoconf (GNU Autoconf) 2.69

$ libtool --version
libtool (GNU libtool) 2.4.2
-----------------------------------------
I think i found it in the source files:
Reference: acinclude.m4, line 148

I think that I found something about this error as well (not that I
understand it):
reference:
----
http://www.gnu.org/software/libtool/manual/html_node/Distributing-libltdl.html
Macro: LTDL_CONVENIENCE
Macro: AC_LIBLTDL_CONVENIENCE
These macros are deprecated, the ‘convenience’ option to LTDL_INIT
should be used instead.
----

Regards,

Lewis


On 03/14/2015 08:22 AM, Benoît Minisini wrote:
> Le 14/03/2015 14:15, Benoît Minisini a écrit :
>> Le 14/03/2015 13:39, Lewis Balentine a écrit :
>>> Environment: Linux Mint 17 X64, Mate Desktop 1.8
>>>
>>> ***@HP8460 ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0
>>> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
>>> ./reconf-all
>>> ...<snip>...
>>> autoreconf: running: /usr/bin/autoconf
>>> configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
>>> If this token and others are legitimate, please use
>>> m4_pattern_allow.
>>> See the Autoconf documentation.
>>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>>> ***@HP8460 //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $
>>>
>>> regards,
>>>
>>> Lewis Balentine
>>>
>> Which version of autoconf do you use?
>>
> And automake, and libtool. One of them is too old.
>
> Strange, as I sucessfully compiled and installed the development version
> on Mint 17.1 a few weeks ago.
>
> Regards,
>
Benoît Minisini
2015-03-14 13:53:46 UTC
Permalink
Le 14/03/2015 14:39, Lewis Balentine a écrit :
> I was just checking that ...
> --------------------------------
> Ref: http://gambas.sourceforge.net/en/main.html
> The following versions of GNU tools are needed:
> automake 1.11.1
> autoconf 2.68
> libtool 2.4
> Compiling with older version may or may not work!
> -----------------------------------------
> $ automake --version
> automake (GNU automake) 1.14.1
>
> $ autoconf --version
> autoconf (GNU Autoconf) 2.69
>
> $ libtool --version
> libtool (GNU libtool) 2.4.2
> -----------------------------------------
> I think i found it in the source files:
> Reference: acinclude.m4, line 148
>
> I think that I found something about this error as well (not that I
> understand it):
> reference:
> ----
> http://www.gnu.org/software/libtool/manual/html_node/Distributing-libltdl.html
> Macro: LTDL_CONVENIENCE
> Macro: AC_LIBLTDL_CONVENIENCE
> These macros are deprecated, the ‘convenience’ option to LTDL_INIT
> should be used instead.
> ----
>
> Regards,
>
> Lewis
>

I think you can safely comment AC_LIBLTDL_CONVENIENCE (by adding "##" to
the beginning of the line) in the 'acinclude.m4' file. It is actually
useless.

Tell me if it works for you. I will make a 3.7.1 release with the fix in
a few days.

Regards,

--
Benoît Minisini
Lewis Balentine
2015-03-14 17:52:42 UTC
Permalink
Regarding Linux Mint 17.1 (a.k.a. Rebecca):
Becky had some teething problems and added a bunch off fancy user
interface graphics that I did not need or want. Thus I decided to stick
with 17.0 (updated of course --- so I may have all that stuff I did not
want).
============

> Strange, as I successfully compiled and installed the development version
on Mint 17.1 a few weeks ago.<
----------------------
I install version 3.6.2 from the ppa. My abilities with 'C', 'C++', 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting better. I am now capable of compiling the following 'C' program:
int main(){};
... and I am working on helloworld.c

So I created a fresh VMWware virtual machine for build Gambas. It is based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I maintain for such things. That gives me a more less 'virgin' environment with new machine name, user name and password. I get the same errors on that machine as well. (I now have an backup OVF image of a 'virgin' GambasBuild machine as well ;-) The Idea is that I can create new machine, extract the new source to it and run the shell script (see attached) to build a new version (when I get it working).
===================

Progress:

1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved the "./reconf-all" error.
(note: has to be done BEFORE the FIRST attempt to build gambas)
2) several errors produced by "make" because Mint does not install g++ by default (resolved)
3) "sudo make install" produces the following errors:
----------------------
libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0 /usr/lib/gambas3/gb.image.effect.so.0.0.0
/usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such file or directory
make[5]: *** [install-gblibLTLIBRARIES] Error 1
make[5]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
make[4]: *** [install-am] Error 2
make[4]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
make: *** [install-recursive] Error 1
----------------------
I am guessing the the "libs" (not the 's') directory is actually "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs"
There are two directory entries there listed as as "link broken (inode/symlink)":
gb.image.effect.so
gb.image.effect.so.0
So I went looking to see if there were any other "broken links" ...
~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so
~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0

====================
Just to be sure this was not a fluke.
I replaced the image and tried again ...
second time around I got different errors;
among them are:
gbi3: warning: component gb.xml.rpc not found
----
Compiling gb.eval.highlight...
gbc: error: Component not found: gb.qt4
Compiling gb.args
OK
Installing gb.args...
gbi3: warning: component gb.xml.rpc not found
Compiling gb.settings...
OK
---
Installing the development environment...
Compiling gambas3...
gbc: error: Component not found: gb.qt4
Compiling gbs3...
OK
---
Installing gbs3...
Installing the scripter...
Registering Gambas script mimetype
Registering Gambas server page mimetype
Installing the Gambas appdata file
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
make[1]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
Making install in .
make[1]: Entering directory `/home/gbuilder/Documents/Build/gambas3-3.7.0'
make[2]: Entering directory `/home/gbuilder/Documents/Build/gambas3-3.7.0'

||
|| Unable to compile gb.eval.highlight
|| Unable to compile gb.gui.base
|| Unable to compile gb.form
|| Unable to compile gb.form.dialog
|| Unable to compile gb.form.mdi
|| Unable to compile gb.db.form
|| Unable to compile gb.desktop
|| Unable to compile gb.report
|| Unable to compile gb.report2
|| Unable to compile gb.chart
|| Unable to compile gb.net.pop3
|| Unable to compile gb.memcached
|| Unable to compile gb.map
|| Unable to compile gb.media.form
|| Unable to compile gambas3
---
I am guessing that my 'virgin' machine is missing some required libraries or dev files.
... but I have other thing to attended to. I will have to get back to this later.

Regards,

Lewis



On 03/14/2015 08:53 AM, Benoît Minisini wrote:
> I think you can safely comment AC_LIBLTDL_CONVENIENCE (by adding "##" to
> the beginning of the line) in the 'acinclude.m4' file. It is actually
> useless.
>
> Tell me if it works for you. I will make a 3.7.1 release with the fix in
> a few days.
>
> Regards,
>
Benoît Minisini
2015-03-14 19:06:40 UTC
Permalink
Le 14/03/2015 18:52, Lewis Balentine a écrit :
> Regarding Linux Mint 17.1 (a.k.a. Rebecca):
> Becky had some teething problems and added a bunch off fancy user
> interface graphics that I did not need or want. Thus I decided to stick
> with 17.0 (updated of course --- so I may have all that stuff I did not
> want).
> ============
>
>> Strange, as I successfully compiled and installed the development version
> on Mint 17.1 a few weeks ago.<
> ----------------------
> I install version 3.6.2 from the ppa. My abilities with 'C', 'C++',
> 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting
> better. I am now capable of compiling the following 'C' program:
> int main(){};
> ... and I am working on helloworld.c
>
> So I created a fresh VMWware virtual machine for build Gambas. It is
> based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I
> maintain for such things. That gives me a more less 'virgin' environment
> with new machine name, user name and password. I get the same errors on
> that machine as well. (I now have an backup OVF image of a 'virgin'
> GambasBuild machine as well ;-) The Idea is that I can create new
> machine, extract the new source to it and run the shell script (see
> attached) to build a new version (when I get it working).
> ===================
>
> Progress:
>
> 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved
> the "./reconf-all" error.
> (note: has to be done BEFORE the FIRST attempt to build gambas)
> 2) several errors produced by "make" because Mint does not install g++
> by default (resolved)
> 3) "sudo make install" produces the following errors:
> ----------------------
> libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0
> /usr/lib/gambas3/gb.image.effect.so.0.0.0
> /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such
> file or directory
> make[5]: *** [install-gblibLTLIBRARIES] Error 1
> make[5]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
> make[4]: *** [install-am] Error 2
> make[4]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
> make: *** [install-recursive] Error 1
> ----------------------
> I am guessing the the "libs" (not the 's') directory is actually
> "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs"
> There are two directory entries there listed as as "link broken
> (inode/symlink)":
> gb.image.effect.so
> gb.image.effect.so.0
> So I went looking to see if there were any other "broken links" ...
> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so
> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0
>
> ====================
> Just to be sure this was not a fluke.
> I replaced the image and tried again ...
> second time around I got different errors;
> among them are:
> gbi3: warning: component gb.xml.rpc not found
> ----
> Compiling gb.eval.highlight...
> gbc: error: Component not found: gb.qt4
> Compiling gb.args
> OK
> Installing gb.args...
> gbi3: warning: component gb.xml.rpc not found
> Compiling gb.settings...
> OK
> ---
> Installing the development environment...
> Compiling gambas3...
> gbc: error: Component not found: gb.qt4
> Compiling gbs3...
> OK
> ---
> Installing gbs3...
> Installing the scripter...
> Registering Gambas script mimetype
> Registering Gambas server page mimetype
> Installing the Gambas appdata file
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
> make[1]: Leaving directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
> Making install in .
> make[1]: Entering directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
> make[2]: Entering directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
>
> ||
> || Unable to compile gb.eval.highlight
> || Unable to compile gb.gui.base
> || Unable to compile gb.form
> || Unable to compile gb.form.dialog
> || Unable to compile gb.form.mdi
> || Unable to compile gb.db.form
> || Unable to compile gb.desktop
> || Unable to compile gb.report
> || Unable to compile gb.report2
> || Unable to compile gb.chart
> || Unable to compile gb.net.pop3
> || Unable to compile gb.memcached
> || Unable to compile gb.map
> || Unable to compile gb.media.form
> || Unable to compile gambas3
> ---
> I am guessing that my 'virgin' machine is missing some required
> libraries or dev files.
> ... but I have other thing to attended to. I will have to get back to
> this later.
>
> Regards,
>
> Lewis
>

Install the packages specified on the wiki, on the Ubuntu page.

Regards,

--
Benoît Minisini
Gian
2015-03-14 19:20:32 UTC
Permalink
Il 14/03/2015 20:06, Benoît Minisini ha scritto:
> Le 14/03/2015 18:52, Lewis Balentine a écrit :
>> Regarding Linux Mint 17.1 (a.k.a. Rebecca):
>> Becky had some teething problems and added a bunch off fancy user
>> interface graphics that I did not need or want. Thus I decided to stick
>> with 17.0 (updated of course --- so I may have all that stuff I did not
>> want).
>> ============
>>
>>> Strange, as I successfully compiled and installed the development version
>> on Mint 17.1 a few weeks ago.<
>> ----------------------
>> I install version 3.6.2 from the ppa. My abilities with 'C', 'C++',
>> 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting
>> better. I am now capable of compiling the following 'C' program:
>> int main(){};
>> ... and I am working on helloworld.c
>>
>> So I created a fresh VMWware virtual machine for build Gambas. It is
>> based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I
>> maintain for such things. That gives me a more less 'virgin' environment
>> with new machine name, user name and password. I get the same errors on
>> that machine as well. (I now have an backup OVF image of a 'virgin'
>> GambasBuild machine as well ;-) The Idea is that I can create new
>> machine, extract the new source to it and run the shell script (see
>> attached) to build a new version (when I get it working).
>> ===================
>>
>> Progress:
>>
>> 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved
>> the "./reconf-all" error.
>> (note: has to be done BEFORE the FIRST attempt to build gambas)
>> 2) several errors produced by "make" because Mint does not install g++
>> by default (resolved)
>> 3) "sudo make install" produces the following errors:
>> ----------------------
>> libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0
>> /usr/lib/gambas3/gb.image.effect.so.0.0.0
>> /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such
>> file or directory
>> make[5]: *** [install-gblibLTLIBRARIES] Error 1
>> make[5]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
>> make[4]: *** [install-am] Error 2
>> make[4]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect'
>> make[3]: *** [install-recursive] Error 1
>> make[3]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib'
>> make[2]: *** [install-recursive] Error 1
>> make[2]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
>> make[1]: *** [install] Error 2
>> make[1]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main'
>> make: *** [install-recursive] Error 1
>> ----------------------
>> I am guessing the the "libs" (not the 's') directory is actually
>> "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs"
>> There are two directory entries there listed as as "link broken
>> (inode/symlink)":
>> gb.image.effect.so
>> gb.image.effect.so.0
>> So I went looking to see if there were any other "broken links" ...
>> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so
>> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0
>>
>> ====================
>> Just to be sure this was not a fluke.
>> I replaced the image and tried again ...
>> second time around I got different errors;
>> among them are:
>> gbi3: warning: component gb.xml.rpc not found
>> ----
>> Compiling gb.eval.highlight...
>> gbc: error: Component not found: gb.qt4
>> Compiling gb.args
>> OK
>> Installing gb.args...
>> gbi3: warning: component gb.xml.rpc not found
>> Compiling gb.settings...
>> OK
>> ---
>> Installing the development environment...
>> Compiling gambas3...
>> gbc: error: Component not found: gb.qt4
>> Compiling gbs3...
>> OK
>> ---
>> Installing gbs3...
>> Installing the scripter...
>> Registering Gambas script mimetype
>> Registering Gambas server page mimetype
>> Installing the Gambas appdata file
>> make[2]: Nothing to be done for `install-data-am'.
>> make[2]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
>> make[1]: Leaving directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app'
>> Making install in .
>> make[1]: Entering directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
>> make[2]: Entering directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0'
>>
>> ||
>> || Unable to compile gb.eval.highlight
>> || Unable to compile gb.gui.base
>> || Unable to compile gb.form
>> || Unable to compile gb.form.dialog
>> || Unable to compile gb.form.mdi
>> || Unable to compile gb.db.form
>> || Unable to compile gb.desktop
>> || Unable to compile gb.report
>> || Unable to compile gb.report2
>> || Unable to compile gb.chart
>> || Unable to compile gb.net.pop3
>> || Unable to compile gb.memcached
>> || Unable to compile gb.map
>> || Unable to compile gb.media.form
>> || Unable to compile gambas3
>> ---
>> I am guessing that my 'virgin' machine is missing some required
>> libraries or dev files.
>> ... but I have other thing to attended to. I will have to get back to
>> this later.
>>
>> Regards,
>>
>> Lewis
>>
>
> Install the packages specified on the wiki, on the Ubuntu page.
>
> Regards,
>

Hi Lewis,
for Ubuntu 14.04.02 LTS.
Library (as Trunk plus llvm-3.4-dev):
~ $ sudo apt-get install build-essential g++ automake autoconf
libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev
libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev
libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev
libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev
libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev
libncurses5-dev libgmime-2.6-dev llvm-3.4-dev libalure-dev libgmp-dev
libgtk-3-dev postgresql-server-dev-9.3 libsdl2-dev libsdl2-mixer-dev
libsdl2-ttf-dev libsdl2-image-dev sane-utils libpoppler-private-dev
libqtwebkit-dev llvm-dev llvm

To remove 3.7.0 not working:
~ $ cd gambas3-3.7.0/
~ /gambas3-3.7.0 $ sudo make uninstall
~ /gambas3-3.7.0 $ cd ..
~ $ rm -rf gambas3-3.7.0/

After:
~ $ tar xvjf gambas3-3.7.0.tar.bz2
~ $ cd gambas3-3.7.0
~/gambas3-3.7.0$ ( ./reconf-all && ./configure -C ) >
~/Desktop/R_conf3-7.log 2>&1
~/gambas3-3.7.0$ ( make && sudo make install ) >
~/Desktop/Make_Inst3-7.log 2>&1

Regards
Gianluigi
Lewis Balentine
2015-03-14 23:41:33 UTC
Permalink
This post might be inappropriate. Click to display it.
Benoît Minisini
2015-03-15 01:08:50 UTC
Permalink
Le 15/03/2015 00:41, Lewis Balentine a écrit :
>
> Benoit,
> I do not know if this will be helpful but regarding the warnings/errors:
> Please see attached archive file for the make logs as well as the errors
> captured from the console.
>
> For "make" they were typically warnings about depreciated calls for GTK.

I know. GTK+3 tells when some API is deprecated, but often don't explain
how to replace it!

> -----------make example------------
> gtools.cpp: In function 'gColor get_gdk_bg_color(GtkWidget*, bool)':
> gtools.cpp:179:5: warning: 'GtkStyle* gtk_widget_get_style(GtkWidget*)'
> is deprecated (declared at
> /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use
> 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations]
> st=gtk_widget_get_style(wid);
> ^
>
> For "make install" they were typically errors about missing
> "libdumb.so.1" file.

No idea what that is...

> -----------make install example------------
> make install-data-hook
> make[4]: Entering directory
> `/home/gbuilder/Documents/Build/gambas3-3.7.0/gb.openal/src'
> Installing the gb.openal control icons if needed...
> Creating the information files for gb.openal component...
> Error loading libdumb.so.1: libdumb.so.1: cannot open shared object
> file: No such file or directory
>
> For "make install" they were typically errors about GTK_IS_WIDGET.

??

> -----------run time error example------------
> (gbr3:1151): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> 'GTK_IS_WIDGET (widget)' failed

This is a runtime error, not an error during the installation... And
this may come from the Mint GTK+ widget style.

Regards,

--
Benoît Minisini
Lewis Balentine
2015-03-15 03:37:12 UTC
Permalink
"libdumb.so.1"
> No idea what that is... <

Well I found two possibilities:
libdumb1-dev: libdumb1 (dynamic universal music bibliotheque)
libdumbnet-dev: libdumbnet1 (libdumbnet is known as libdnet in other
distributions)

As OpenAL (Open Audio Library) is a cross-platform audio API I decide to
give libdumb1 a try.
sudo apt-get install libdumb1-dev

That has eliminated the errors in the "makeinstall.log".

Cheers,

Lewis

P.S.
Qu'est-ce bibliotheque ?


On 03/14/2015 08:08 PM, Benoît Minisini wrote:
> For "make install" they were typically errors about missing
> "libdumb.so.1" file.
> No idea what that is...
>
>> -----------make install example------------
>> make install-data-hook
>> make[4]: Entering directory
>> `/home/gbuilder/Documents/Build/gambas3-3.7.0/gb.openal/src'
>> Installing the gb.openal control icons if needed...
>> Creating the information files for gb.openal component...
>> Error loading libdumb.so.1: libdumb.so.1: cannot open shared object
>> file: No such file or directory
>>
>>
>
Benoît Minisini
2015-03-15 04:11:04 UTC
Permalink
Le 15/03/2015 04:37, Lewis Balentine a écrit :
> "libdumb.so.1"
>> No idea what that is... <
>
> Well I found two possibilities:
> libdumb1-dev: libdumb1 (dynamic universal music bibliotheque)
> libdumbnet-dev: libdumbnet1 (libdumbnet is known as libdnet in other
> distributions)
>
> As OpenAL (Open Audio Library) is a cross-platform audio API I decide to
> give libdumb1 a try.
> sudo apt-get install libdumb1-dev
>
> That has eliminated the errors in the "makeinstall.log".
>

OK, so this has to be added to the required packages.

> Cheers,
>
> Lewis
>
> P.S.
> Qu'est-ce bibliotheque ?
>

It's "library" in french.

Regards,

--
Benoît Minisini
Benoît Minisini
2015-03-15 01:09:29 UTC
Permalink
Le 15/03/2015 00:41, Lewis Balentine a écrit :
> serbatoio voi Gianluigi,
>
> You saved me a lot of time. I did however find one more package that was
> required.
> # || Unable to met pkg-config requirement: QtOpenGL
> # || gb.qt4.opengl is disabled
> # add libqt4-opengl-dev
> sudo apt-get install libqt4-opengl-dev
>

I have added that package to the Ubuntu installation instructions on the
wiki.

Regards,

--
Benoît Minisini
Jussi Lahtinen
2015-03-14 14:27:19 UTC
Permalink
I think you missed my mail..?
See attached project.


Jussi

On Sat, Mar 14, 2015 at 1:27 PM, Benoît Minisini <
***@users.sourceforge.net> wrote:

> Hi,
>
> After a few last minutes bugs had been fixed, Gambas 3.7 has been released!
>
> Some of the main changes are:
>
> - A new software repository made with Gambas for Gambas. It allows to
> publish and install Gambas softwares.
>
> - Databases now can be initialized from templates automatically
> generated by the IDE.
>
> - Array accessors are now faster.
>
> - The MySQL database driver is faster.
>
> - The child process interface has been fixed and optimized.
>
> - New SDL2 component.
>
> - New scanner management component.
>
> - New version of the report component.
>
> See the 'Release Notes' on the wiki for the list of all new features and
> bug fixes.
>
> http://gambaswiki.org/wiki/doc/release/3.7.0
>
> Thanks for your patience and enjoy it!
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
Benoît Minisini
2015-03-14 15:46:32 UTC
Permalink
Le 14/03/2015 15:27, Jussi Lahtinen a écrit :
> I think you missed my mail..?
> See attached project.
>
>
> Jussi
>

Just don't instanciate your form there.

That new error message tells you that it is too early for the Qt4
library, because it is initialized just before your Main() method is
called, but after the startup class (and hence your variables) are
initialized.

I will try to initialize the GUI earlier If I can, but that's not sure.

Regards,

--
Benoît Minisini
Jussi Lahtinen
2015-03-14 17:28:34 UTC
Permalink
OK, I understand the issue. It's just that this used to work with earlier
version, and it still works with GTK+.
So, this is very likely to cause unexpected problems.


Jussi

On Sat, Mar 14, 2015 at 5:46 PM, Benoît Minisini <
***@users.sourceforge.net> wrote:

> Le 14/03/2015 15:27, Jussi Lahtinen a écrit :
> > I think you missed my mail..?
> > See attached project.
> >
> >
> > Jussi
> >
>
> Just don't instanciate your form there.
>
> That new error message tells you that it is too early for the Qt4
> library, because it is initialized just before your Main() method is
> called, but after the startup class (and hence your variables) are
> initialized.
>
> I will try to initialize the GUI earlier If I can, but that's not sure.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
Benoît Minisini
2015-03-14 19:08:02 UTC
Permalink
Le 14/03/2015 18:28, Jussi Lahtinen a écrit :
> OK, I understand the issue. It's just that this used to work with earlier
> version, and it still works with GTK+.
> So, this is very likely to cause unexpected problems.
>
>
> Jussi
>

It depends what the instancation of the form triggers. Qt may abort the
program if you do something that requires the GUI to be fully initialized.

--
Benoît Minisini
Frank Haymes
2015-03-14 19:19:04 UTC
Permalink
Can Gambas be installed on a Raspberry Pi B+?

Frank G. Haymes

> Date: Sat, 14 Mar 2015 20:08:02 +0100
> From: ***@users.sourceforge.net
> To: gambas-***@lists.sourceforge.net
> Subject: Re: [Gambas-user] Release of Gambas 3.7
>
> Le 14/03/2015 18:28, Jussi Lahtinen a écrit :
> > OK, I understand the issue. It's just that this used to work with earlier
> > version, and it still works with GTK+.
> > So, this is very likely to cause unexpected problems.
> >
> >
> > Jussi
> >
>
> It depends what the instancation of the form triggers. Qt may abort the
> program if you do something that requires the GUI to be fully initialized.
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
Benoît Minisini
2015-03-14 19:49:56 UTC
Permalink
Le 14/03/2015 20:19, Frank Haymes a écrit :
> Can Gambas be installed on a Raspberry Pi B+?
>
> Frank G. Haymes
>

No idea. It should work as on other Raspberry Pis.

--
Benoît Minisini
Christof Thalhofer
2015-03-14 21:12:38 UTC
Permalink
Am 14.03.2015 um 12:27 schrieb Benoît Minisini:

> http://gambaswiki.org/wiki/doc/release/3.7.0
>
> Thanks for your patience and enjoy it!

Thank you very much!


Alles Gute

Christof Thalhofer

--
Dies ist keine Signatur
Loading...