[Gambas-user] Errors compiling Gambas

Dr. Diesel dr.diesel at ...626...
Sun Aug 9 19:03:08 CEST 2009


On Sun, Aug 9, 2009 at 12:56 PM, Leonardo Miliani <
leonardo at ...1237...> 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:
> [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...


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



More information about the User mailing list