Recent

Author Topic: [SOLVED] Mac OS X 10.7 Lion - Can't find unit MacOSAll used by LCLProc  (Read 6750 times)

caleb9

  • Jr. Member
  • **
  • Posts: 51
Any luck with Lazarus on OS X 10.7 so far? I get
Code: [Select]
Fatal: Can't find unit Interfaces used by Project1when I try to build an empty project. I also tried to Clean Up + Build All Lazarus and then I get
Code: [Select]
Fatal: Can't find unit MacOSAll used by LCLProcI'm using Lazarus 0.9.30.1 and FPC 2.4.4. Managed to compile FPC. All the paths and settings were imported when I updated OS X from 10.6.8 to 10.7.
Code: [Select]
$ uname -a
Darwin Mac-mini.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64
Any suggestions would be appreciated :)
« Last Edit: July 22, 2011, 10:52:00 am by caleb9 »

kamischi

  • Full Member
  • ***
  • Posts: 177
Re: Mac OS X 10.7 Lion - Can't find unit MacOSAll used by LCLProc
« Reply #1 on: July 22, 2011, 09:15:47 am »
My suspicion is that the problem relates to 32bit vs 64bit. I expect the default for lion to be 64bit, but the carbon lcl is 32bit. So, it searches for the 64bit units, which are not available. Maybe you can make sure everything is 32bit.

MiSchi.
fpc 2.6.4, lazarus 1.4.0, Mac OS X, fink

caleb9

  • Jr. Member
  • **
  • Posts: 51
Re: Mac OS X 10.7 Lion - Can't find unit MacOSAll used by LCLProc
« Reply #2 on: July 22, 2011, 09:25:18 am »
Thanks. Do you know how can I do that? fpc command shows
Code: [Select]
Free Pascal Compiler version 2.4.4 [2011/07/22] for i386I've also tried to set Target CPU: i386 in Configure "Build Lazarus" but it doesn't change anything.
« Last Edit: July 22, 2011, 09:27:42 am by caleb9 »

caleb9

  • Jr. Member
  • **
  • Posts: 51
Re: Mac OS X 10.7 Lion - Can't find unit MacOSAll used by LCLProc
« Reply #3 on: July 22, 2011, 10:44:52 am »
Ok it was the old versions of .ppu files. What I did is I removed /usr/local/lib/fpc/2.4.4/units, then rebuilt and "make install" FPC. After this Lazarus built successfully and so an empty project did. Everything seems to work fine now.

 

TinyPortal © 2005-2018