Recent

Author Topic: Need to do a very clean install  (Read 7725 times)

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Need to do a very clean install
« on: September 07, 2009, 11:39:02 pm »
Hi All,

I realize this has been asked before but I still cannot fix this.

I would like to do a very clean install.

I have Deleted the lazarus folder from Developer folder.
Deleted the Lazarus icon from the applications folder.
Then did a re-install of FPC 2.2.4
Then lazarus 0.9.26.2
When it restarted it new all about what packages I had before.
It still came up[ with the same errors I was having before. (Debugger not working etc.)

SO how to delete EVERYTHING LAZARUS from my MAC, then start again.

Tom

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Need to do a very clean install
« Reply #1 on: September 08, 2009, 01:27:07 am »
I assume you haven't seen this:

http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Uninstalling_Lazarus_and_Free_Pascal

Lazarus is now installed in Developer instead of /usr/local/share, but I think most of this topic is still up to date.

In your case, Lazarus stores package info in the XML files under ~./lazarus folder. This is normally desirable so that rebuilding a new installation automatically installs all packages again in one shot. Try deleting that folder.

Thanks.

-Phil

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Need to do a very clean install
« Reply #2 on: September 08, 2009, 03:43:09 am »
How do I find the XML file.
I had a look in the lazarus folder but I could not find any Package type xml files.
Might these be hidden or put anywhere else.

I did try the removing of all folder before but in still new the packages.

Might something be left from the last couple of months in other areas on my Mac.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1071
Re: Need to do a very clean install
« Reply #3 on: September 08, 2009, 06:37:43 pm »
How do I find the XML file.

Open a Terminal window (/Applications/Utilties/Terminal).

type the following, followed by return:
Quote
  rm -rf .lazarus

This will erase the ".lazarus" directory in your home directory. Using a hidden directory in the home directory (one that starts with a '.') for storing preferences is common for unix programs, although on Mac OS X it's more common to use the (easily accessible) Library/Preferences directory in the home directory.

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Need to do a very clean install
« Reply #4 on: September 09, 2009, 04:10:34 am »
I have just done a VERY clean install.
I erased my HD and re-installed Mac Snow Leopard.
I then put on X-code from the DVD.
Then installed
1. fpc-2.2.2.intel-macosx
2. fpcsrc-2.2.2.
the lazarus-0.9.26.2

That for me is very clean.

I then ran Lazarus.
(two Lazarus in the dock)
When I hid Lazarus to have a look at the force Quit to see what was running,
I have 2 Lazarus (the first not responding)

Installed Tdbf so that I could run a test program.

Then used examples/address_book

Tried to run the program. I then got the same b....y Debugger error  >:(

Just an yet another test I copied this onto a new mac that I have for a week and lo and behold the program did not work.

If I do an erase disk on a mac from Disk-Utility on the Mac DVD does this erase all or leave something behind.

What can I do now.

PLEASE HELP ME SOMEONE.

Tom

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Need to do a very clean install
« Reply #5 on: September 09, 2009, 06:18:01 am »
Just as a note to the last post.
The Address program runs on my rebuilt machine but not on a brand new one.
Same Snow Leopard.

Would X-code have something to do with this?


HELP

 

TinyPortal © 2005-2018