Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
It did work.

Thanks a lot !

-Michael
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
On 03/23/2010 04:16 PM, 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
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Jonas Maebe


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


[fpc-devel] Re: [Lazarus] windres: can't open manifest

2010-03-23 Thread Michael Schnell
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.

-Michael
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel