[Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

Max Vlasov max.vlasov at gmail.com
Sun Feb 26 11:38:43 CET 2012


On Sun, Feb 26, 2012 at 10:15 AM, zeljko <zeljko at holobit.net> wrote:

> **
>
> On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote:
>
> > On Sat, Feb 25, 2012 at 6:48 PM, Max Vlasov <max.vlasov at gmail.com>
> wrote:
>
> > > On Sat, Feb 25, 2012 at 5:36 PM, zeljko <zeljko at holobit.net> wrote:
>
> > >> **
>
> > >>
>
> > >> On Saturday 25 of February 2012 14:04:17 Juha Manninen wrote:
>
> > >> > 2012/2/25 Max Vlasov <max.vlasov at gmail.com>
>
> > >> >
>
> > >> > > can't make clean all for trunk version under ubuntu with fpc 2.4.5
>
> > >>
>
> > >> Yep, ifdef was for fpc < 20405 , now it's < 20501 so it should work.
>
> > >
>
> > > Thanks, can't check right now, but hope it will work
>
> > >
>
> > > Max
>
> >
>
> > Tried make it from scratch on a machine without fpc and lazarus. Download
>
> > both trunk, but 35594 can't compile with
>
> >
>
> > dbgrids.pas(1991,31) Error: Incompatible types: got "Pointer" expected
>
> > "AnsiString"
>
>
>
> That have nothing to do with problem you've mentioned. Probably somebody
> commited code which works on 2.6/2.7 but not on 2.4.5.
>
> Anyway, I'm suspicious about that since Juha tested builds with 2.4.4 and
> it was ok.
>
>
>

Just yesterday this line didn't produce any search results in Google, today
it leads at least to two bug reports in the tracker )

Don't know whether it would lead to anything, but I exlained by steps :
- Installed stocked binary from Ubuntu (2.4.0)
- Downloaded trunk fpc, compiled it (make clean all install
INSTALL_PREFIX=/usr/local)
- Uninstalled stock fpc
- After fpc complaining about ppc386 did a symlink to /usr/local.. ppc386
- Modified /etc/fpc.cfg, three lines pointing now to /usr/local...
- Tried make clean all in lazarus
- (ERROR) Stopped on the following line about dbgrids.
- Tried to recompile fpc using now the only fpc (trunk)
- Tried to rebuild packages (make clean all .., make install... inside
fpc/packages)
- (ERROR) the same error.

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120226/646d5abf/attachment-0003.html>


More information about the Lazarus mailing list