Minor issue compiling FPC from sources

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Minor issue compiling FPC from sources

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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Peter Vreman
At 12:12 31-7-2006, you wrote:

>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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Eugene Mayevski
Hello!
You (Peter Vreman [mailto:[hidden email]]) 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Peter Vreman
At 14:17 31-7-2006, you wrote:

>Hello!
>You (Peter Vreman [mailto:[hidden email]]) 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Eugene Mayevski
Hello!
You (Peter Vreman [mailto:[hidden email]]) 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Tiziano De Togni
In reply to this post by Eugene Mayevski
Eugene Mayevski ha scritto:

> 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Eugene Mayevski
Hello!
You (Tiziano_mk [mailto:[hidden email]]) 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re[2]: Minor issue compiling FPC from sources

Пётр Косаревский
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.

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

 Комментарии к комментариям шлите по адресу [hidden email].

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Minor issue compiling FPC from sources

Eugene Mayevski
Hello!
You (Пётр Косаревский с mail.ru
[mailto:[hidden email]]) 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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal