Sign in Join

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

Mailing lists / fpc-devel / 2014-10

"make all install" from trunk fails

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Vsevolod Alekseyev

Hi all,

I'm tryng to build the latest FPC trunk on x86/Win32 (under 64-bit Windows 8, not that it should matter). I have FPC 2.6.4 as a bootstrap in c:\FPC\2.6.4. The PATH contains c:\FPC\2.6.4\bin\i386-win32. The source tree is in c:\FPC\trunk.

Here's what I'm doing:

c:\fpc\trunk> make all install INSTALL_PREFIX=c:\FPC\2.7.1

Here's the error I'm getting:

make[4]: Entering directory `C:/FPC/trunk/rtl/win32' make[4]: Leaving directory `C:/FPC/trunk/rtl/win32' C:/FPC/trunk/utils/fpcm/bin/i386-win32/fpcmake.exe -p -Ti386-win32 Makefile.fpc
process_begin: CreateProcess((null),
C:/FPC/trunk/utils/fpcm/bin/i386-win32/fpcm
ake.exe -p -Ti386-win32 Makefile.fpc, ...) failed. make (e=2): The system cannot find the file specified.

Indeed, there's no utils\fpcm\bin. Looks like "make all" doesn't build fpcmake, and yet subsequent actions depend on it.

Trying to build fpcmake alone with the bootstrap compiler fails;
specifically, buillding packages\fpmakeunit errors out.

Please, what am I doing wrong?

Reply by email

Marco van de Voort
to Vsevolod Alekseyev

In our previous episode, Vsevolod Alekseyev said:

Show quoted text 8 lines
Indeed, there's no utils\fpcm\bin. Looks like "make all" doesn't build fpcmake, and yet subsequent actions depend on it. Trying to build fpcmake alone with the bootstrap compiler fails; specifically, buillding packages\fpmakeunit errors out. Please, what am I doing wrong?

Not starting building with a full release install of FPC, which is the only supported method.

Forgetting that, if you need to bootstrap, afaik the make step should complete and create fpcmake in the source tree, and only the install step depends on it. So inbetween you can copy it into place.

Putting the make all and install in two different make invokations and passing a FPCMAKE=<place in tree where fpcmake was generated> to the install step might fix it completely, but I never tried.

Reply by email

Vsevolod Alekseyev
to Marco van de Voort

I've started with a full release install - that's where c:\FPC\2.6.4 came from. I have fpcmake under 2.6.4, but it looks like the makefile under trunk\rtl insists on using the trunk fpcmake. Which is not being built.

Maybe "bootstrap" was a poor choice of word.

Defining FPCMAKE to doesn't change anything; "make install" gives the same message.

I did resolve it, however, somehow. Before erroring out, my previous make invokations have copied the compiler itself in 2.7.1\bin folder. Running "make install" in rtl copied enough of the the RTL into 2.7.1, too. Then trunk\packages and trunk\utils built and installed fine.

Marco van de Voort wrote 23 lines
In our previous episode, Vsevolod Alekseyev said: > Indeed, there's no utils\fpcm\bin. Looks like "make all" doesn't build > fpcmake, and yet subsequent actions depend on it. > > Trying to build fpcmake alone with the bootstrap compiler fails; > specifically, buillding packages\fpmakeunit errors out. > > Please, what am I doing wrong? Not starting building with a full release install of FPC, which is the only supported method. Forgetting that, if you need to bootstrap, afaik the make step should complete and create fpcmake in the source tree, and only the install step depends on it. So inbetween you can copy it into place. Putting the make all and install in two different make invokations and passing a FPCMAKE=<place in tree where fpcmake was generated> to the install step might fix it completely, but I never tried. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email