On Sun, 11 Oct 2009 17:13:24 +0300, Thierry Andriamirado wrote about [Lazarus] contnrs.ppu : PPU Invalid Version 100:
Show quoted text 12 lines
Hello all,
I can't compile Lazarus (svn) with fpc (svn). Ubuntu Jaunty backports
x86_64-linux :
Compiling masks.pas
PPU Loading /usr/lib/fpc/2.5.1/units/x86_64-linux/fcl-base/contnrs.ppu
PPU Invalid Version 100
Fatal: Can't find unit Contnrs used by Masks
Fatal: Compilation aborted
As the fpc -version returns 2.2.4,
You cannot use units compiled by 2.5.1 when you are using the 2.2.4 compiler. Which version do you *want* to use?
I already tried to force the
searchpath to "-Fu/usr/lib/fpc/2.5.1/units/$fpctarget" etc.., then
recompiled + re-installed fpc, resulting in new .ppu files including
contnrs, but it doesn't help.
From this, I would infer that you want to use 2.5.1; where did you install it and how did you install it? I shall assume you installed it into /usr/local/bin, /usr/local/lib, etc., and that your 2.2.4 compiler is installed in /usr/bin, /usr/lib, etc.
The most frequent problem installing a snapshot of FPC is that the ppcx64 (or ppc386) symlink is not created to make the compiler accessible by $PATH look-up. Using a root console, try the following:
cd /usr/local/bin
ln -s ../lib/fpc/2.5.1/ppcx64 .
Note that you might need to issue "hash -r" or even logout and login again to force the shells to rescan $PATH for the FPC executables.
Regards,
Dave [RLU #314465]
=======================================================================
(David W Noon)
=======================================================================