> 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)?

Thanks for the reply.

Christo Crause
----------------------------------------------------------------------------
NOTICE: Please note that this eMail, and the contents thereof, 
is subject to the standard Sasol eMail legal notice which may be found at: 
http://www.sasol.com/legalnotices                                               
                                                           

If you cannot access the legal notice through the URL attached and you wish 
to receive a copy thereof please send an eMail to 
[EMAIL PROTECTED]
----------------------------------------------------------------------------

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to