On 23 Mar 2010, at 16:07, Michael Schnell wrote:

On 03/23/2010 04:01 PM, Paul Ishenin wrote:
23.03.2010 21:26, Michael Schnell wrote:
But where id fpc's "make install" move the correct executable ?
If no other options are passed then to /usr/local/lib/fpc

I think that is the problem - you need to replace symlink and to
change fpc.cfg or to reinstall fpc into /usr/lib
I'll try that

But now I've got another very peculiar problem. I copied the ppc386
executable the fpc make created in the "compiler" directory to the
directory the /usre/bin/ppc386 symlink points to (before, that file was
older and smaller, supposedly generated by the RPM)

But now I can't rebuild Lazarus and get this error:

masks.pas(29,22) Fatal: Can't find unit Contnrs used by Masks

I have no idea at all what happens at this point.

What happens at this point is that you are mixing two different FPC installations. If you want to install in /usr instead of in /usr/ local, use "make install INSTALL_PREFIX=/usr"

If you want to update the symlink afterwards to also change the default compiler, change the symlink instead of the file it points to.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to