Recent

Author Topic: Can't make Lazarus work on OS 10.4.11  (Read 20359 times)

Sylvain M

  • New Member
  • *
  • Posts: 12
Re: Can't make Lazarus work on OS 10.4.11
« Reply #15 on: July 31, 2009, 06:15:45 am »
Has you selected "Carbon" on Compiler Options?
In the "Tools" -> "configure Build Lazarus", LCL interface was set to "Carbon (beta)"
Is this what you mean ?

When I try "The Clean Up + Build all" option, I have another error :
/Developer/lazarus/lcl/fileutil.pas(220,10) Fatal: Can't find unit MacOSAll used by FileUtil

I think I will try the new versions which links you gave to me and see if something changes.


skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Can't make Lazarus work on OS 10.4.11
« Reply #16 on: July 31, 2009, 09:21:47 am »
don't forget to install fpc and fpc-src as well

Lord_ZealoN

  • Full Member
  • ***
  • Posts: 141
    • http://lordzealon.com
Re: Can't make Lazarus work on OS 10.4.11
« Reply #17 on: July 31, 2009, 09:34:37 am »
Well, I spoke about:
Project -> Compiler Options -> "LCL Widget Type (various)"

Normally, the "Can't find Interfaces unit", is for this, at least for me. Check this too

In my OSX, Lazarus builds out of the box. I would install latest snapshots (or better, svn version).

My recomendation:
Code: [Select]
Install FPC and FPC Sources  2.2.4 from snapshots.
Open terminal:
mkdir svn (or the folder you want, I like a folder for all projects I build from svn, other for git, and so on..)
cd svn
svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus (the latest parameter, "lazarus", is the folder will be created to store the source)
cd lazarus
make clean all
....wait......
If there aren't errors -> ./startlazarus --pcp=./config (--pcp tells lazarus a folder when configuration will be saved, I love this way, because each lazarus folder will have his own configuration of packages, and so on..this is util if you use more than one lazarus from different versions I have a lot of troubles before discover this way to start lazarus)

If someday you have some bug or something else, you can update always from svn, and build again:
Code: [Select]
Open A terminal
cd svn
cd lazarus
svn update
make clean all
....Starting Windows 95....
./startlazarus --pcp=./config

I use this way, and works ok for me. I can have differents folders of lazarus, and don't fight each with the others with packages and so on. For example, I think this is util, for example, to have, one svn version thath works for you, and don't want to change, and in other folder, other instance of lazarus always updated without fear, to see the latests changes on the source.

I don't know if it's the correct way of building and using lazarus, but for me, works liek a charm..

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Can't make Lazarus work on OS 10.4.11
« Reply #18 on: July 31, 2009, 09:41:43 am »
MacOSAll is FPC problem.
IIRC, before 2.2.2 there was FPCMacOSAll file
with 2.2.2. version MacOSAll file is introduced.

So, the easy solution: update everything to newer version.

Sylvain M

  • New Member
  • *
  • Posts: 12
Re: Can't make Lazarus work on OS 10.4.11
« Reply #19 on: July 31, 2009, 10:56:13 am »
So, the easy solution: update everything to newer version.

I did an update to lazarus 0.9.26 and fpc 2.2.2 (the one from sourceforge.net) and it seems ok so far. I can build the empty project.
Now I will try to import my "windows" lazarus project and I will ask again for advice if something strange appears ;)

Thanks to both of you for your useful advices !  :D

 

TinyPortal © 2005-2018