Win32 Makefile bug
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
Problem: When running MAKE, process errors out and "You need the GNU utils package to use this Makefile" error message is returned.
Here is the original path environment variable on my Windows XP system:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Internet Explorer;C:\pp\bin\win32;C:\Program Files\Executive Software\DiskeeperWorkstation\C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\
The following block of code taken from Makefile appears to check for the presence of PWD:
PWD:=$(strip $(wildcard (addsuffix /pwd.exe,
(SEARCHPATH))))
ifeq ($(PWD),)
PWD:=$(strip $(wildcard (addsuffix /pwd,
(SEARCHPATH))))
ifeq ($(PWD),)
$(error You need the GNU utils package to use this Makefile)
else
PWD:=$(firstword $(PWD))
SRCEXEEXT=
endif
else
PWD:=$(firstword $(PWD))
SRCEXEEXT=.exe
endif
The Makefile appears to have difficulty parsing my path environmental variable. I assume this is secondary to the presence of spaces.
Workaround: At the DOS prompt I typed, "Set Path=C:\pp\bin\win32". Then I typed "make" again. This time Lazarus compiled without difficulty.
Additional information:
Imported information
--------------------
Name: IgD
Mail: igdsoftware (at) yahoo.com
Mantis conversion info:
- Mantis ID: 199