Recent

Author Topic: Error: resource compiler "fpcres" not found  (Read 5757 times)

Puce

  • Newbie
  • Posts: 2
Error: resource compiler "fpcres" not found
« on: September 12, 2016, 09:20:06 pm »
Hello,

I'm trying to install lazarus 1.6 on osx Maverick, 10.9
I've installed the 3 .dmg from sourceforge and copied the GDB from the latest Xcode 4
When I use Tools/Configure "Build Lazarus"... I get the following error :

lazarus.pp(156,0) Error: resource compiler "fpcres" not found, switching to external mode

The FPC source directory is /usr/local/share/fpcsrc/
The fcpres folder exist : /usr/local/share/fpcsrc/utils/fpcres/
It contains
Makefile      fpcjres.pas      msghandler.pas
Makefile.fpc      fpcres.pas      paramparser.pas
Makefile.fpc.fpcmake   fpmake.pp      sourcehandler.pas
closablefilestream.pas   jarsourcehandler.pas   target.pas

please help

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1059
Re: Error: resource compiler "fpcres" not found
« Reply #1 on: September 12, 2016, 10:05:42 pm »
The fpcres binary should have been installed in /usr/local/bin (together with the other fpc-related binaries).

Puce

  • Newbie
  • Posts: 2
Re: Error: resource compiler "fpcres" not found
« Reply #2 on: September 12, 2016, 10:30:59 pm »
/usr/local/bin cannot be used on Maverick because it need root access

-bash: cd: /usr/local/bin/: Permission denied

/usr/local/share/fpcsrc/rtl is found and recognised, it is the standard installation from the .dmg installer.
« Last Edit: September 12, 2016, 10:41:32 pm by Puce »

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: Error: resource compiler "fpcres" not found
« Reply #3 on: September 13, 2016, 04:49:37 am »
Here is the documentation about installing Lazarus on OSX:

http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X
« Last Edit: September 13, 2016, 04:51:24 am by Handoko »

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1059
Re: Error: resource compiler "fpcres" not found
« Reply #4 on: September 13, 2016, 12:13:50 pm »
/usr/local/bin cannot be used on Maverick because it need root access
That is incorrect.
Quote
-bash: cd: /usr/local/bin/: Permission denied
That means that some installer or program messed up the access permissions. /usr/local and everything below it is by default accessible to any user. You can try to repair the permissions of your disk (via Disk Utility) to fix this.

Quote
/usr/local/share/fpcsrc/rtl is found and recognised, it is the standard installation from the .dmg installer.
That hierarchy contains the source code of the compiler and its units, not the compiler binary itself.

 

TinyPortal © 2005-2018