[Lazarus] Can't find unit contnrs used by Masks

Bernd Kreuss prof7bit at googlemail.com
Sat Dec 11 23:57:54 CET 2010

On 09.12.2010 11:46, Michael Schnell wrote:

>> Did you update FPC?
> Yep from the svn

If you do a make install it might *not* replace an existing compiler
binary at /usr/bin/

I once had the same problem, I was updating from svn and did not notice
that after make install it did not replace the binary I had in /usr/bin
(I had a binary there from an earlier version and some experimenting
before I learned how to install it the proper way)

* remove everything FPC related from /usr/bin and /usr/local/bin
* make clean all PP=/path/to/bootstrap/ppc386
* sudo make install

This will install it in /usr/local/lib/fpc/2.5.1/

now look again into /usr/local/bin there should be an fpc binary now.
Calling fpc from the command line should now start the correct compiler
(try it and look at the version in the greeting string). And from now on
if you update from svn and call make it should not be necessary to give
a bootstrap compiler anymore, it will now always use the existing
/usr/local/bin/fpc from the last install and make install will finally
update this also.

After your FPC is now up to date you can now build LCL and Lazarus again
(clean all) and it should work again.


More information about the Lazarus mailing list