Crause, Christo (JC) schreef:
Crause, Christo (JC) schreef:
When I try to build Lazarus from inside the IDE (Tools |
Build IDE) I
get the following error: Failed to run tool - Unable to run
the tool
"Creating Makefile for package JPEGForLazarus 1.0.1"
Do you have fpcmake.exe on your path or in the same directory
as your make.exe?
Yes, fpcmake.exe was in the same folder as make.exe, but Lazarus could
not locate it. I then copied fpcmake.exe to my compiler directory,
after which Lazarus compiled. I see that the path to fpcmake is read
from EnvironmentOptions.CompilerFilename (line 1335 in pkgmanager.pas)
which explains why Lazarus could not find fpcmake initially.
Should the path to fpcmake.exe not be the same as path to make.exe (i.e.
change line 1335 to EnvironmentOptions.MakeFileName)?
No. I was wrong, the fpcmake.exe should be in the same directory as the
compiler.
Vincent.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives