Recent

Author Topic: Delete and re-install  (Read 438 times)

LittleBritaly

  • New Member
  • *
  • Posts: 20
Delete and re-install
« on: August 05, 2020, 09:00:36 pm »
I uninstalled the 32 bit version of Lazarus to install the 64bit version (using uninstall.sh), however I'm unable to install any components (sorry, not at that machine right now so can't quote the exact error), I get errors when rebuilding the IDE/installing components, but an app will compile and run.

I have the same version of Lazarus on my macbook and this runs fine.

I assume it's something from the 32bit version causing the issue, I've also deleted fpc, fpc-src and re-installed, but the problem persists.

Therefore, my question is, how can i fully uninstall Lazarus on a mac along with all the configuration files.

ASBzone

  • Sr. Member
  • ****
  • Posts: 460
  • Automation leads to relaxation...
    • Free BrainWaveCC Console Utilities
Re: Delete and re-install
« Reply #1 on: August 05, 2020, 10:55:29 pm »
Version info desired, please:

OS...
FPC...
Lazarus...
-ASB: https://www.BrainWaveCC.com

Lazarus v2.0.11 r63516 / FPC v3.2.1-r46879 (via FpcUpDeluxe) -- Windows 64-bit install w/32-bit cross-compile
Primary System: Windows 10 Pro x64, Version 2004 (Build 19041.388)
Other Systems: Windows 10 Pro x64, Version 2004 or greater

LittleBritaly

  • New Member
  • *
  • Posts: 20
Re: Delete and re-install
« Reply #2 on: August 06, 2020, 07:40:16 am »
Ah, sorry, it's High Sierra with Lazarus v2.0.10 and fpc 3.2.

The initial problem is "carbonbars.pp(16,2) Error: User defined: only cpu i386 is supported".


After the "upgrade" on the IDE Options panel (Tools/Options), the settings were still relevant for the earlier version, source directory for example was /usr/local/share/fpcsrc/3.04 instead of /usr/local/share/fpcsrc/3.2.0 and "Make" executable was simply make which was a 32 bit version, i had to change it to /usr/bin/make.

I have just solved solved that issue by changing the LCL widget type in "Configure Build Lazarus" from carbon to cocoa, despite rebuilding the IDE earlier by lazbuild --widgetset=cocoa.

Basically it looks like all the 32 bit settings have been retained and not overwritten by the 64bit installation.

I now have an issue rebuilding the IDE with this "ZPlainFirebirdDriver.pas(250,26) Error: No matching implementation for interface method "Initialize(const AnsiString);" found".

I'd still like to totally remove Lazarus and start from scratch, ideas anyone ?







 

Thaddy

  • Hero Member
  • *****
  • Posts: 10445
Re: Delete and re-install
« Reply #3 on: August 06, 2020, 07:54:41 am »
Under the current user there is a hidden ~/.lazarus directory that also needs to be deleted. (note the dot.)
This directory contains all lazarus configuration files. And indeed, a new install will not touch those if they are already present.
Best to remove the whole hidden .lazarus directory before a new install.
« Last Edit: August 06, 2020, 07:57:10 am by Thaddy »
When you ask a question that is actually answered in the documentation, you are either lazy or a moron.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 927
  • Former Delphi 1-7, 10.2 User
Re: Delete and re-install
« Reply #4 on: August 06, 2020, 08:25:45 am »
o Lazarus v2.1.0 r63871, FPC v3.3.1 r46876, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

LittleBritaly

  • New Member
  • *
  • Posts: 20
Re: Delete and re-install
« Reply #5 on: August 07, 2020, 07:12:09 am »
Thank you, deleting the .lazarus directory worked.

I still have an issue, when using the online package manager, the icons are reversed, eg mirrored at the top of the page, but when i try to click one nothing happens, I have to move the mouse to where the icon should be and when i move over the area it appears (until i move out of the area).

Please see screenshot attached.

It's not a major issue, but weird.


GetMem

  • Hero Member
  • *****
  • Posts: 3757
Re: Delete and re-install
« Reply #6 on: August 07, 2020, 07:24:27 am »
Thank you, deleting the .lazarus directory worked.

I still have an issue, when using the online package manager, the icons are reversed, eg mirrored at the top of the page, but when i try to click one nothing happens, I have to move the mouse to where the icon should be and when i move over the area it appears (until i move out of the area).

Please see screenshot attached.

It's not a major issue, but weird.
The issue is caused by VirtualStringTree, luckily it's already fixed in Lazarus trunk.

 

TinyPortal © 2005-2018