[Lazarus] How to uninstall a package?

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 6 13:34:30 CET 2008

On 06/03/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> The unit path is created from the list under 'Packages to install
>  in the IDE', not the 'Available Packages'.

I think I figured it out.... it's me being stupid again. :-)  tiOPFGUI
depends on a package called tiOPF (non-gui only).  Both packages
output unit path is the same. tiOPFfpGUI also depends on tiOPF.

So because tiOPF is a loaded package in the IDE, it's unit path gets
pulled in. tiOPFfpGUI uses a different path, but has a unit with the
same name.  And that's what Lazarus detected, so the error message was
100% correct in Lazarus.  By clearing the unit path of the tiOPF
package, I removed the redundant packages used by tiOPFGUI, which
fixed the issue.

It all sounds confusing, but Lazarus was correct in the end.
Excellent work. :-)

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the Lazarus mailing list