[Gambas-user] Errors compiling Gambas
Leonardo Miliani
leonardo at ...1237...
Sun Aug 9 18:56:42 CEST 2009
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:
[leo at ...2193... ~]$ 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...
--
Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...
Scegli software opensource - Choose opensource software
Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org
More information about the User
mailing list