[Gambas-user] Release of Gambas 3.7, error in build

Lewis Balentine lewis at ...3412...
Sat Mar 14 18:52:42 CET 2015


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,
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: BuildGambas.tar.gz
Type: application/gzip
Size: 561 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20150314/24b597dd/attachment.gz>


More information about the User mailing list