Sign in Join

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

Mailing lists / fpc-devel / 2010-03

Re: windres: can't open manifest

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Michael Schnell
Paul Ishenin wrote 6 lines
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.

-Michael

Reply by email

Jonas Maebe
to Michael Schnell
Michael Schnell wrote 20 lines
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

Reply by email

Michael Schnell
to Jonas Maebe
Jonas Maebe wrote
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"

That is what I did assume.
But of course I needed to install FPC 2.4.0 to compile FPC from the svn.

I installed FPC 2.4.0 from the fpc-2.4.0-1.i386.rpm

I did not use the install_prefex option, as I in fact did not know what I would want as install directory. I'll try your suggesting, hoping not to destroy this even more.

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

Thanks for answering and sorry for accidentally sending this to the wrong list.

-Michael

Reply by email