Re: [Lazarus] config problem - deleted pkg source

2011-04-30 Thread Marc Santhoff
Am Samstag, den 30.04.2011, 08:02 +0200 schrieb Mattias Gaertner:
> Marc Santhoff  hat am 30. April 2011 um 00:45 geschrieben:

> > How can I fix this problem without having to restore the package
> > deleted? 
>  
> 
> Start a default build Lazarus, e.g. built via a make clean all - this
> does not change your list of install packages. Then build the IDE.

That did the trick, many thanks.

Marc

-- 
Marc Santhoff 


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] config problem - deleted pkg source

2011-04-30 Thread Hans-Peter Diettrich

Mattias Gaertner schrieb:


 > "The package is installed but no .lpk file was found. A dummy package
 > was created."
 >
 > OK, after skipping those warnings I tried to deinstall the package using
 > lazarus' dialog (Package - > Install/Uninstall packages), but when
 > selecting the package in question and hitting the "Uninstall" button
 > there is another warning:
 >
 > "The package can not be uninstalled, because it is needed by the IDE
 > itself."


I can confirm this unpleasant behaviour. It also occurs when a package 
doesn't compile due to errors.


This warning comes for LCL, codetools, synedit, lazcontrols and IDEIntf. 
You can not uninstall them.


Otherwise you found a bug.


The problem may be the dummy package, that refuses to uninstall.

DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] config problem - deleted pkg source

2011-04-29 Thread Mattias Gaertner



 Marc Santhoff  hat am 30. April 2011 um 00:45 geschrieben:

 > Hi,
 >
 > I've tested a package by installing it into lazarus. I forgot about that
 > and deleted the pkg source. Now, when starting lazarus, a warning is
 > shown saying sth. like:
 >
 > "The package is installed but no .lpk file was found. A dummy package
 > was created."
 >
 > OK, after skipping those warnings I tried to deinstall the package using
 > lazarus' dialog (Package - > Install/Uninstall packages), but when
 > selecting the package in question and hitting the "Uninstall" button
 > there is another warning:
 >
 > "The package can not be uninstalled, because it is needed by the IDE
 > itself." 
This warning comes for LCL, codetools, synedit, lazcontrols and IDEIntf. You can
not uninstall them.
Otherwise you found a bug.
 

 >
 > How can I fix this problem without having to restore the package
 > deleted? 
Start a default build Lazarus, e.g. built via a make clean all - this does not
change your list of install packages. Then build the IDE.
 
Mattias
 --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] config problem - deleted pkg source

2011-04-29 Thread Marc Santhoff
Hi,

I've tested a package by installing it into lazarus. I forgot about that
and deleted the pkg source. Now, when starting lazarus, a warning is
shown saying sth. like:

"The package is installed but no .lpk file was found. A dummy package
was created."

OK, after skipping those warnings I tried to deinstall the package using
lazarus' dialog (Package - > Install/Uninstall packages), but when
selecting the package in question and hitting the "Uninstall" button
there is another warning:

"The package can not be uninstalled, because it is needed by the IDE
itself."

How can I fix this problem without having to restore the package
deleted?

TIA,
Marc

-- 
Marc Santhoff 


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus