Recent

Author Topic: newbie needs help setting up Lazarus - sorry for my ignorance here.  (Read 15682 times)

RD2

  • Newbie
  • Posts: 5
Sorry to take up board space and anyone's time with a newbie problem that I am embarrassed to have to ask about.

I am trying to get started with Lazarus on a MacBook under OS X10.5.8  Unfortunately, I am new to the Mac environment, therefore many terms are not familiar to me.

First I downloaded and ran: fpc-2.2.4.intel-macosx.dmg
   That gave me two pkg files: fpc-2.2.4.intel-macosx.pkg which I ran
                        and fpc-xcode-2.2.4.pkg which I ran

Then I downloaded and ran: lazarus-0.9.29.23332-20091231-powerpc-macosx.dmg

When I try to run the Lazarus application I get this message: "Free Pascal Sources not found. The Free Pascal source directory was not found.  Some code functions will not work.  It is recommended that you install it and set the path Environment -> Environment Options -> Files"  I have tried a variety of folders in this field, without success.

And then I get this message: "The project uses target OS=darwin and CPU=i386.  The system.ppu for this target was not found in the FPC binary directories.  Make sure fpc is installed correctly for this target and the fpc.cfg contains the right directories."  Which I do not understand at all, being new to the Mac.

If there is anyone out there who has the patience to guide a newbie I would be grateful for your assistance here.  Thank you!

RD2


BlueIcaro

  • Hero Member
  • *****
  • Posts: 834
    • Blog personal
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #1 on: August 21, 2010, 08:56:38 pm »
I'm not a MacOs user, but check in your lazarus this:
 Enviroment -> Options -> Fpc source Directory. Here you must have a a correct path to your fpc sources, in my windows I have: c:\lazarus\fpc\2.4.3\source\

Because Lazarus installed FPC source in that path.

/BlueIcaro

RD2

  • Newbie
  • Posts: 5
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #2 on: August 24, 2010, 02:36:10 am »
BlueIcaro - thank you for responding.  I did a search for anything containing fpc and found only this: in folder named "developer\lazarus\components\fpcunit\ide\lib\i386-darwin" there are these files:
     fpcunitide.o
     fpcunitide.ppu
     fpcunitlazideintf.o
     fpcunitlazideintf.ppu

I could find no folder called "source" and none called "fpc"

What am I doing wrong here?!

RD2

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #3 on: August 24, 2010, 02:46:41 am »
Perhaps there is something wrong with your installation, try to reinstall it.

Lazarus installer normally installs FPC.

Try to find your Lazarus folder and search FPC folder on its subfolders manually. 
« Last Edit: August 24, 2010, 02:52:01 am by typo »

RD2

  • Newbie
  • Posts: 5
Re: newbie needs help setting up Lazarus - thank you Typo but still no go!
« Reply #4 on: August 27, 2010, 09:43:26 pm »
Thank you for working on this for me.  I did the reinstall three times, and still no go.  The only folder called "lazarus" is inside the "Developer" folder off root, and there are no folders or files called "FPC" in it.  I dont get it.  There is a subfolder of the "lazarus\component" folder called "fpcunit" but no "fpc" anywhere on the computer.  Im sure Im doing something wrong here.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #5 on: August 27, 2010, 10:23:03 pm »
You need to install a fpc source dmg:
from SourceForge, fpcsrc-2.2.4-intel-macosx.dmg

RD2

  • Newbie
  • Posts: 5
Re: newbie needs help setting up Lazarus - Thanks Vincent
« Reply #6 on: September 04, 2010, 02:07:33 am »
To Vincent Snijders,

Thank you for getting me started - I knew that someone would have the expertise to help a newcomer. 

So at least Lazarus starts now.  New obstacle: when I try to run even a simple program, I get this message about a fatal error:
   "Error: Assembler as not found, switching to external assembling"
I found no information on what to do about that.

Is this something else I neglected to download?  Thank you.

RD2

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #7 on: September 04, 2010, 11:09:45 am »
Did you install the Apple Developer tools, XCode?
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

RD2

  • Newbie
  • Posts: 5
Re: newbie needs help setting up Lazarus - Kamlschl
« Reply #8 on: September 06, 2010, 05:44:00 am »
Hi kamlschl,

Thank you for the question.  Apple Developer tools, XCode? I totally missed that in the Lazarus instructions. Can you point me toward the best source for those?  Thank you.

RD2

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #9 on: September 06, 2010, 06:28:29 pm »
The fpc dmg is supposed to check for the fact that you installed XCode or something like that. Did you ignore that check or did you actually install gcc or didn't that warning occur?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page

jw

  • Full Member
  • ***
  • Posts: 126
Re: newbie needs help setting up Lazarus - sorry for my ignorance here.
« Reply #11 on: December 03, 2010, 12:41:54 am »
http://wiki.lazarus.freepascal.org/Installing_Lazarus_on_MacOS_X


the wiki page is missing the link to the fpc source dmg

I couldn't find a download to the sources anywhere until I found this post.

I'm not sure how to update the wiki. It say's I need to log in, I don't want to step on anyone toes, but If it ok I'll create an account with the wiki and fix it.

 

TinyPortal © 2005-2018