[Gambas-user] Compiling Gambas 1.9.26
ron
ronstk at ...239...
Mon Mar 20 05:04:21 CET 2006
On Sunday 19 March 2006 18:48, Benoit Minisini wrote:
> On Sunday 19 March 2006 18:32, ron wrote:
> > On Sunday 19 March 2006 16:25, Leonardo Miliani wrote:
> > > So, I tried the "escamotage" that I read in this mailing list: delete
> > > lines 194&195 of file acinclude.m4 but I didn't solve: I got same
> > > problems listed abowe...
> >
> > Forgot something.
> >
> > You must do it on a fresh unpacked source tarball!!!!
> > This ia called play-safe :)
> >
> > './reconf-all' and again './configure' just seams not to work 100%.
> >
> > Ron
> >
>
> You have to modify the 'acinclude.m4' file located in the root source
> directory, and then do a './reconf-all; ./configure -C'.
>
> 'autmake' must be installed.
>
> This should work, or there is a bug in the configuration scripts!
>
> Regards,
>
Ok just test it.
Unpak the source tarbal to /home/ron/src/gambas2-1.9.26
Removed the -fvisibility at line 194 and 195
./reconf-all
got some warnings for lqt.m4, <- I may forget this, not problem of gambas.
but it ends with:
./reconf-all: line 8: /home/ron/gambas/2.0/tool/MakeComponentLink/MakeComponentLink.gambas: No such file or directory
ron at ...1311...:/home/ron/src/gambas2-1.9.26>
now I do ./configure -C
Result:
config.status: executing depfiles commands
************************************************************
THESE COMPONENTS ARE DISABLED:
- gb.corba
- gb.db.firebird
- gb.db.odbc
- gb.db.postgresql
- gb.db.sqlite
- gb.ldap
************************************************************
ron at ...1311...:/home/ron/src/gambas2-1.9.26>
./gb.corba/
configure 4599 4600
config.log config.status
Makefile 81 82
./gb.corba/src/
Makefile 97 98
Well in most ./gb.* I found in configure and now also in the Makefile
the -fvisibility flag
AM_CFLAGS = -pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g
-Os
AM_CXXFLAGS = -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -O
s -fno-omit-frame-pointer
The previous time I changed it at line 194/195 in aminclude.m4 I found the flag
only in the configure files and now also in Makefile files.
the option -C for configure was at that time unknown.
Now it looks worse with it.
In acinclude.m4
AM_CONDITIONAL(OPTIMIZE, test "$gambas_optimization" = yes)
AM_CFLAGS="$AM_CFLAGS -pipe -Wall -fno-strict-aliasing -Wno-unused-value"
AM_CXXFLAGS="$AM_CXXFLAGS -pipe -Wall -fno-exceptions -Wno-unused-value"
if test "$gambas_debug" = "yes"; then
I the now working version I do NOT have the -fvisibility=hidden in the configure
files and they did not apear in the Makefile.
This was just unpak, remove in acinclude and as far I know the where not in the
configure or I removed them there also.
All new source tarbals I get now do have them in the configure to.
For the version Laurent Carlier made:
Find for -visibility:
In the acinclude and also in the configure files.
However he made major addition arround it for checking.
I just unpacked the tarbal and after the find type:
./configure
It ends with
checking for MySQL driver headers... /usr/include/mysql/
checking for MySQL driver libraries... /usr/lib/
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: src/Makefile.in
configure: error: /bin/sh './configure' failed for gb.db.mysql
ron at ...1311...:~/src/gambas2-1.9.26>
Check in the tarbal and missing several src directories.
This does not work.
ron at ...1311...:/usr/bin> aclocal --version
aclocal (GNU automake) 1.9.5
ron at ...1311...:/usr/bin> automake --version
automake (GNU automake) 1.9.5
ron at ...1311...:/usr/bin> gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
ron at ...1311...:/usr/bin> uname -a
Linux terminator 2.6.8-24.19-default #1 Tue Nov 29 14:32:45 UTC 2005
i686 i686 i386 GNU/Linux Suse 9.2
At this moment the only way is unpack the file from SF and remove in all
files the -fvisibility by hand and do only ./configure; make; make install
Sorry but I have no better idea
---
Ron
More information about the User
mailing list