On 06/03/2008, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > > The problem is that I have two packages that have the same unit name, > > and every time I recompile Lazarus, it complains and I have to click > > 'Ignore All'. See attached screenshot of the error. > > This message has nothing to do with 'Available Packages'.
OK, I found the packagefiles.xml file which contains an extensive list of available packages. I deleted it from there, including some old versions of existing packages which don't exist anymore. I rebuilt Lazarus and still got the error. :-) The duplicate .ppu file will still lying around. I now see what you meant. So deleted all tiOPF's *.ppu and *.o and rebuilt Lazarus again. This time everything went through fine - no errors popped up. I still think it would be handy to unregister a package with Lazarus. eg: A popup menu on the Available Packages list that says 'unregister' and it removes it from the packagfiles.xml file. Maybe even a 'cleanup' option which will look if the package still exists on the hard drive and if not, remove it from the packagefiles.xml file. I deleted some old and non-existing packages from my .xml file and the size went from 17k down to 7k. A lot of junk entries are now removed. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
