Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-07

Minor issue compiling FPC from sources

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Eugene Mayevski

Hello!

I tried to compile the daily snapshot from source and got the following during compilation:

make.EXE[3]: Entering directory `D:/FreePascal/sources/fpc/compiler' process_begin: CreateProcess((null), echo Start 12:42:49 now 12:43:09, ...) failed.
make (e=2): The system cannot find the file specified. make.EXE[3]: *** [echotime] Error 2

Investigation has shown, that \Compiler\Makefile contains A) (Line 85): declaration for echo command, which is supposed to be present in system. On my WinXP it's not, so I had to change "echo" with "cmd /c echo"
B) A couple of declarations (sorry, have lost the line numbers) where echo is called directly, and not via the $(ECHO) variable.

Sincerely yours,
Eugene Mayevski

Reply by email

Peter Vreman
to Eugene Mayevski
you wrote 17 lines
Hello! I tried to compile the daily snapshot from source and got the following during compilation: make.EXE[3]: Entering directory `D:/FreePascal/sources/fpc/compiler' process_begin: CreateProcess((null), echo Start 12:42:49 now 12:43:09, ...) failed. make (e=2): The system cannot find the file specified. make.EXE[3]: *** [echotime] Error 2 Investigation has shown, that \Compiler\Makefile contains A) (Line 85): declaration for echo command, which is supposed to be present in system. On my WinXP it's not, so I had to change "echo" with "cmd /c echo" B) A couple of declarations (sorry, have lost the line numbers) where echo is called directly, and not via the $(ECHO) variable.

gecho.exe is delivered FPC.

Make sure you only use the make.exe and the tools delivered with FPC from CMD.EXE. Other combinations are not supported.

Peter

Reply by email

Eugene Mayevski
to Peter Vreman

Hello!
You (Peter Vreman ) wrote
about "Re: [fpc-pascal] Minor issue compiling FPC from sources" on 07/31/2006 at 15:02:

PV> gecho.exe is delivered FPC.
PV> Make sure you only use the make.exe and the tools delivered with FPC PV> from CMD.EXE. Other combinations are not supported.

Yes, I do, and Makefile refers to echo, not gecho.

Sincerely yours,
Eugene Mayevski

Reply by email

Peter Vreman
to Eugene Mayevski
you wrote 10 lines
Hello! You (Peter Vreman ) wrote about "Re: [fpc-pascal] Minor issue compiling FPC from sources" on 07/31/2006 at 15:02: PV> gecho.exe is delivered FPC. PV> Make sure you only use the make.exe and the tools delivered with FPC PV> from CMD.EXE. Other combinations are not supported. Yes, I do, and Makefile refers to echo, not gecho.

That shouldn't matter that line is there already for years and is known to work on all Windows versions even dating back to WIn95 and upto including WinXP64. See below that it works:

D:\fpc\compiler>make --version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

D:\fpc\compiler>make echotime
Start 14:24:46 now 14:24:46

Peter

Reply by email

Eugene Mayevski
to Peter Vreman

Hello!
You (Peter Vreman ) wrote
about "Re: Minor issue compiling FPC from sources [fpc-pascal]" on 07/31/2006 at 15:26:

PV> That shouldn't matter that line is there already for years and is PV> known to work on all Windows versions even dating back to WIn95 and PV> upto including WinXP64. See below that it works:

No ideas:

C...>make echotime

process_begin: CreateProcess((null), echo Start 15:29:39 now 15:29:39, ...) failed.
make (e=2): The system cannot find the file specified.

D:\FreePascal\bin\i386-win32\make.EXE: *** [echotime] Error 2

I have the same version of gnu make, and gecho is present (I installed 2.0.2 some time ago).

Sincerely yours,
Eugene Mayevski

Reply by email

Tiziano_mk
to Eugene Mayevski: Hello! I tried to compile the daily snapshot from source and got the following during…

Eugene Mayevski ha scritto:

Show quoted text 11 lines
Hello! I tried to compile the daily snapshot from source and got the following during compilation: make.EXE[3]: Entering directory `D:/FreePascal/sources/fpc/compiler' process_begin: CreateProcess((null), echo Start 12:42:49 now 12:43:09, ...) failed. make (e=2): The system cannot find the file specified. make.EXE[3]: *** [echotime] Error 2

maybe you have delphi installed in your system?

what there is in your path?

bye
tiziano

Reply by email

Eugene Mayevski
to Tiziano_mk

Hello!
You (Tiziano_mk ) wrote
about "Re: [fpc-pascal] Minor issue compiling FPC from sources" on 08/2/2006 at 09:56:

T> maybe you have delphi installed in your system?

No, I don't, and it's FPC's make that is called. That's the strangest. Maybe someone can explain, where the "echo" command is expected to be taken? Maybe I missed something simple like a symlink from echo to gecho?

Sincerely yours,
Eugene Mayevski

Reply by email

���� ����������� � mail.ru
to Eugene Mayevski

Hi, Eugene,

Wednesday, August 2, 2006, 8:25:50 PM:

EM> No, I don't, and it's FPC's make that is called. That's the strangest. Maybe EM> someone can explain, where the "echo" command is expected to be taken? Maybe EM> I missed something simple like a symlink from echo to gecho? EM> Sincerely yours,
EM> Eugene Mayevski

Well, there is a system command "echo" under windows, there is "echo" program in "cygwin" (so, I guess it is present in most unices), so you have unusual system.

By the way, make is not FPC's: FPC's make is GNU.

So, if possible, acquire GNU utilities (binary).

If I remember right, I had a similar problem with a little "pwd" utility (it returns current absolute path).
If I guess right, "echo" command is to send information to terminal, so you can mostly harmless comment it.

--------
Когда людям начинаешь открывать глаза - они закрывают уши.

Комментарии к комментариям шлите по адресу

Reply by email

Eugene Mayevski
to ���� ����������� � mail.ru

Hello!
You (Пётр Косаревский с mail.ru
) wrote about "Re[2]: Minor
issue compiling FPC from sources [fpc-pascal]" on 08/3/2006 at 00:16:

ПК> Well, there is a system command "echo" under windows, there is "echo" ПК> program in "cygwin" (so, I guess it is present in most unices), so you ПК> have unusual system.

Thanks, now I know where to look :). Most likely, it's incomplete set of cygwin tools, that causes troubles.

Sincerely yours,
Eugene Mayevski

Reply by email