Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-10

contnrs.ppu : PPU Invalid Version 100

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Thierry Andriamirado

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, 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.

Thanks in advance for any help about this one,
Thierry

Blog Linuxeries : http://linuxeries.blogspot.com Thierry sur Twitter : http://twitter.com/tandriamirado Salon Linux Francophone : http://friendfeed.com/linux-francophone (Nouveau)

Reply by email

JoshyFun
to Thierry Andriamirado

Hello Lazarus-List,

Sunday, October 11, 2009, 4:13:24 PM, you wrote:

TA> I can't compile Lazarus (svn) with fpc (svn). Ubuntu Jaunty backports TA> x86_64-linux :
TA> Compiling masks.pas
TA> PPU Loading
TA> /usr/lib/fpc/2.5.1/units/x86_64-linux/fcl-base/contnrs.ppu TA> PPU Invalid Version 100
TA> Fatal: Can't find unit Contnrs used by Masks
TA> Fatal: Compilation aborted

Look for fpc configuration file in your home folder (starting with the usual .) and rename or delete it.

Best regards, JoshyFun

Reply by email

David W Noon
to Thierry Andriamirado: I can't compile Lazarus (svn) with fpc (svn). Ubuntu Jaunty backports x86_64-linux :…

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) =======================================================================

Reply by email

Thierry Andriamirado
to David W Noon
Show quoted text 6 lines
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 .

Yeah, that's it! Actually:

cd /usr/bin
sudo rm -rf /usr/bin/ppcx64
sudo ln -s ../lib/fpc/2.5.1/ppcx64 .

Thanks, David and JoshyFun

Thierry

Blog Linuxeries : http://linuxeries.blogspot.com Thierry sur Twitter : http://twitter.com/tandriamirado Salon Linux Francophone : http://friendfeed.com/linux-francophone (Nouveau)

Reply by email