Recent

Author Topic: Unit not found error after installing 1.0.2 on Debian Squueze  (Read 2827 times)

alexxis

  • Newbie
  • Posts: 2
Unit not found error after installing 1.0.2 on Debian Squueze
« on: November 05, 2012, 12:41:16 pm »
Hi,
i have installed the latest version of Lazarus on my Debian Squeeze and when i try to open up Lazarus several error of unit not found as the following :

Code: [Select]
Package: "TAChartLazarusPkg 1.0"
lpk file: "/usr/lib/lazarus/0.9.28.2/components/tachart/tachartlazaruspkg.lpk"
Unit Name: "TATools"

Unit "TATools" was not found in the lpk file.
Probably this lpk file was not used for building this IDE. Or the package misuses the procedure RegisterUnit.

If I click on the abort button the programs open up correctly, How can i solve the problem ?

Thanks.

Zoran

  • Hero Member
  • *****
  • Posts: 1980
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Unit not found error after installing 1.0.2 on Debian Squueze
« Reply #1 on: November 05, 2012, 01:11:00 pm »
Code: [Select]
Package: "TAChartLazarusPkg 1.0"
lpk file: "/usr/lib/lazarus/0.9.28.2/components/tachart/tachartlazaruspkg.lpk"

There is "0.9.28.2" in this path. Probably left from old installation. Find and delete (you can back it up first) the Lazarus config folder, then set up your IDE again manually - the compiler path, debugger, IDE appearence, etc... then install again the packages you use.
I am on Windows now and I can't tell you where this folder is on Linux... Try to find it, or someone here who is on Linux can tell you where to search.
« Last Edit: November 05, 2012, 01:12:50 pm by Zoran »
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

 

TinyPortal © 2005-2018