On Wed, 12 Sep 2007 00:17:05 -0700
"Jeff Steinkamp" <[EMAIL PROTECTED]> wrote:

> 
> ----- Original Message ----- 
> From: "Mattias Gaertner" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, September 10, 2007 10:45
> Subject: Re: [lazarus] Error in building latest SVN
> 
> 
> > On Mon, 10 Sep 2007 08:48:00 -0700
> > "Jeff Steinkamp" <[EMAIL PROTECTED]> wrote:
> >
> >> >> Version 2.3.1 and I think it is svn 7399
> >> >
> >> > Can you try a more recent version? The heap manager has been
> >> > changed in fpc 2.3.1 lately and the memcheck unit works with the
> >> > current svn version of fpc 2.3.1
> >> >
> >> > Vincent
> >> >
> >> OK, updated to svn 8423 and now I am getting the following.
> >> Evidetnly it can not compile the graphics unit.
> >>
> >> Fatal: Can't find unit contnrs
> >
> > FPC found some old old ppu files. Maybe a broken fpc installation.
> > If you have an old lazarus executable, run it and run the project ->
> > compiler options-> Test.
> > If this does not help:
> > Please check for old files in /usr/lib/fpc.
> > Also compile with -vt (make OPT=-vt) to see what files the compiler
> > is using.
> >
> >
> >>[...]
> >> `/usr/local/share/lazarus/lcl/interfaces/gtk2' make[1]: Leaving
> >> directory `/usr/local/share/lazarus/lcl/interfaces' /bin/rm -f
> >> units/i386-linux/alllclunits.ppu /usr/local/lib/fpc/2.3.1/ppc386
> >> -gl -Fu. -Funonwin32 -Fuforms -Fuwidgetset
> >> -Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/rtl
> >>[...]
> >> /usr/local/lib/fpc/2.3.1/units/i386-linux/fcl-base/contnrs.ppu
> >> Recompiling contnrs, checksum changed for System
> >> /usr/local/share/lazarus/lcl/graphics.pp(36,17) Fatal: Can't find
> >> unit contnrs
> >
> > Normally fpc is installed in linux under /usr/lib/fpc. Only the
> > 'make install' of fpc uses /usr/local/lib/fpc as default.
> >
> >
> > Mattias
> >
> 
> 
> Here is the error I am now getting when trying to make the latest FPC:
> 
> make -C fpcm all
> make[3]: Entering directory `/usr/src/fpc/utils/fpcm'
> /bin/mkdir -p units/i386-linux
> /usr/src/fpc/compiler/ppc386 -Ur -Xs -O2 -n
> -Fu/usr/src/fpc/rtl/units/i386-linux
> -Fu/usr/src/fpc/packages/base/hash/units/i386-linux
> -Fu/usr/src/fpc/packages/base/paszlib/units/i386-linux
> -Fu/usr/src/fpc/packages/base/netdb/units/i386-linux
> -Fu/usr/src/fpc/packages/base/libasync/units/i386-linux
> -Fu/usr/src/fpc/packages/base/pthreads/units/i386-linux
> -Fu/usr/src/fpc/packages/fcl-base/units/i386-linux -FE.
> -FUunits/i386-linux -di386 -dRELEASE fpcmake.pp fpcmake.inc(1714,1)
> Error: Illegal expression fpcmake.inc(1714,5) Error: Illegal
> expression fpcmake.inc(1714,9) Error: Illegal expression
> fpcmake.inc(1714,10) Error: Illegal expression fpcmake.inc(1714,10)
> Fatal: Syntax error, "," expected but "identifier MINE" found Fatal:
> Compilation aborted make[3]: *** [fpcmake] Error 1 make[3]: Leaving
> directory `/usr/src/fpc/utils/fpcm' make[2]: *** [fpcm_all] Error 2
> make[2]: Leaving directory `/usr/src/fpc/utils'
> make[1]: *** [utils_all] Error 2
> make[1]: Leaving directory `/usr/src/fpc'
> make: *** [build-stamp.i386-linux] Error 2
> 
> 
> I had a look at the file fpcmake.inc, but I was unable to make heads
> or tails of what is suppose to be there.  It seems to be failing on
> the <<<<<<< characters that are on line 1714 of the file.

These characters are inserted by svn, if you changed the file, then
update and an FPC devel has changed the file too.

Use svn revert filename.

Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to