Sign in Join

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

Mailing lists / fpc-devel / 2011-04

make error in fcl-web

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Martin

(w32 / vista)
I tried to recompile fpc trunk, it starts up fine, until it comes to fcl-web. I copied the last lines of output to the end of the mail

Not sure about the exact make command that was running, since they come from a batch file, but probably the 2nd line:
make.exe clean distclean
make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO FPC=c:\FPC\SVN\ppc386_2_4_2.exe make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo UPXPROG=echo

Found this in svn, and will try with the revision before...

Revision: 17223
Author: joost
Date: 14:33:56, 02 April 2011
Message:
* Let the makefile create the unit output dir when fpmake.pp is not compiled yet
----
Modified : /trunk/packages/fcl-web/Makefile
Modified : /trunk/packages/fcl-web/Makefile.fpc

make.exe[3]: Entering directory `C:/FPC/SVN/trunc/packages/fastcgi' make.exe all LINKSMART=1 CREATESMART=1
make.exe[4]: Entering directory `C:/FPC/SVN/trunc/packages/fastcgi' C:/FPC/SVN/trunk_build/gmkdir.exe -p units/i386-win32 C:/FPC/SVN/trunc/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n -O2 -S2h -FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -FE. -FUunits/i386-win32 -gl - O3 -Or -CpPENTIUMM -OpPENTIUMM -di386 -dRELEASE src/fastcgi.pp make.exe[4]: Leaving directory `C:/FPC/SVN/trunc/packages/fastcgi' make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/packages/fastcgi' make.exe -C fcl-web smart
make.exe[3]: Entering directory `C:/FPC/SVN/trunc/packages/fcl-web' C:/FPC/SVN/trunc/compiler/ppc386.exe fpmake.pp -XX -CX -Ur -Xs -O2 -n -O2 -FuC:/FPC/SVN/trunc/rtl/units/i386-win32 -FuC:/FPC/SVN/trunc/packa ges/hash/units/i386-win32
-FuC:/FPC/SVN/trunc/packages/paszlib/units/i386-win32 -FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 -F uC:/FPC/SVN/trunc/packages/fpmkunit/units/i386-win32 -FE. -FUunits/i386-win32 -gl -O3 -Or -CpPENTIUMM -OpPENTIUMM -di386 -dRELEASE ./fpmake build --localunitdir=../.. --globalunitdir=.. --os=win32 --cpu=i386 -o -XX -o -CX -o -Ur -o -Xs -o -O2 -o -n -o -O2 -o -FuC:/FPC/SV N/trunc/rtl/units/i386-win32 -o
-FuC:/FPC/SVN/trunc/packages/hash/units/i386-win32 -o -FuC:/FPC/SVN/trunc/packages/paszlib/units/i386-win32 -o -FuC:/FPC/SVN/trunc/packages/fcl-process/units/i386-win32 -o -FuC:/FPC/SVN/trunc/packages/fpmkunit/units/i386-win32 -o -FE. -o -FUunits/i 386-win32 -o -gl -o -O3 -o -Or -o -CpPENTIUMM -o -OpPENTIUMM -o -di386 -o -dRELEASE --compiler=C:/FPC/SVN/trunc/compiler/ppc386.exe -o "-XX -CX"
'.' is not recognized as an internal or external command, operable program or batch file.
make.exe[3]: *** [smart] Error 1
make.exe[3]: Leaving directory `C:/FPC/SVN/trunc/packages/fcl-web' make.exe[2]: *** [fcl-web_smart] Error 2
make.exe[2]: Leaving directory `C:/FPC/SVN/trunc/packages' make.exe[1]: *** [packages_smart] Error 2
make.exe[1]: Leaving directory `C:/FPC/SVN/trunc'
make.exe: *** [build-stamp.i386-win32] Error 2

Reply by email

Martin
to Martin
Martin wrote 25 lines
(w32 / vista) I tried to recompile fpc trunk, it starts up fine, until it comes to fcl-web. I copied the last lines of output to the end of the mail Not sure about the exact make command that was running, since they come from a batch file, but probably the 2nd line: make.exe clean distclean make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO FPC=c:\FPC\SVN\ppc386_2_4_2.exe make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo UPXPROG=echo Found this in svn, and will try with the revision before... Revision: 17223 Author: joost Date: 14:33:56, 02 April 2011 Message: * Let the makefile create the unit output dir when fpmake.pp is not compiled yet ---- Modified : /trunk/packages/fcl-web/Makefile Modified : /trunk/packages/fcl-web/Makefile.fpc

no difference, same error

anyone any idea, how I can compile trunk?

Martin

Reply by email

Maxim Ganetsky
to Martin

03.04.2011 23:59, Martin пишет:

no difference, same error anyone any idea, how I can compile trunk?

Quoting Joost:

"If you are really stuck, the old Makefile.fpc is copied to Makefile.org. Copy the Makefile.org to Makefile.fpc, and run 'fpcmake -TAll' in the fcl-web directory. And don't forget to report your problems."

Best regards, Maxim Ganetsky

Reply by email

Martin
to Maxim Ganetsky
Maxim Ganetsky wrote 12 lines
03.04.2011 23:59, Martin пишет: > no difference, same error > > anyone any idea, how I can compile trunk? Quoting Joost: "If you are really stuck, the old Makefile.fpc is copied to Makefile.org. Copy the Makefile.org to Makefile.fpc, and run 'fpcmake -TAll' in the fcl-web directory. And don't forget to report your problems."

thanks I will try.

Compiling on windows => slow

Reply by email

Martin
to Martin: no difference, same error anyone any idea, how I can compile trunk? Martin
Martin wrote 27 lines
On 03/04/2011 20:50, Martin wrote: > (w32 / vista) > I tried to recompile fpc trunk, it starts up fine, until it comes to > fcl-web. I copied the last lines of output to the end of the mail > > Not sure about the exact make command that was running, since they > come from a batch file, but probably the 2nd line: > make.exe clean distclean > make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 > -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO > FPC=c:\FPC\SVN\ppc386_2_4_2.exe > make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo > UPXPROG=echo > > Found this in svn, and will try with the revision before... > > Revision: 17223 > Author: joost > Date: 14:33:56, 02 April 2011 > Message: > * Let the makefile create the unit output dir when fpmake.pp is not > compiled yet > ---- > Modified : /trunk/packages/fcl-web/Makefile > Modified : /trunk/packages/fcl-web/Makefile.fpc > no difference, same error

just some more info.

after trying (and getting the error) to compile with rev 17222, I went to the director (to rename the old makefile).

There is a fpmake.exe, with todays date, and a 3 minute old timestamp. I do not know if that was created by this attempt, or by the previous attempt (that was with includign the above revision)

Martin

Reply by email

Joost van der Sluis
to Martin
Martin wrote 36 lines
On 03/04/2011 20:59, Martin wrote: > On 03/04/2011 20:50, Martin wrote: >> (w32 / vista) >> I tried to recompile fpc trunk, it starts up fine, until it comes to >> fcl-web. I copied the last lines of output to the end of the mail >> >> Not sure about the exact make command that was running, since they >> come from a batch file, but probably the 2nd line: >> make.exe clean distclean >> make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 >> -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO >> FPC=c:\FPC\SVN\ppc386_2_4_2.exe >> make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo >> UPXPROG=echo >> >> Found this in svn, and will try with the revision before... >> >> Revision: 17223 >> Author: joost >> Date: 14:33:56, 02 April 2011 >> Message: >> * Let the makefile create the unit output dir when fpmake.pp is not >> compiled yet >> ---- >> Modified : /trunk/packages/fcl-web/Makefile >> Modified : /trunk/packages/fcl-web/Makefile.fpc >> > no difference, same error just some more info. after trying (and getting the error) to compile with rev 17222, I went to the director (to rename the old makefile). There is a fpmake.exe, with todays date, and a 3 minute old timestamp. I do not know if that was created by this attempt, or by the previous attempt (that was with includign the above revision)

Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the target you were compiling for.

Joost.

Reply by email

Unknown author
to Joost van der Sluis

No, its the same win32 snapshot & method of doing it that I've been doing every day for for years! not x compile. I just sent an extract from the log asuming that it'd be obvious, as I've done for the errors I've had in the past. I can send yoiu the whole log if you really need it.

I don't know what you mean about the fpmake.exe being the wrong one- I just zap all dirs, do a svn of the whole trunk v25 etc & was assuming that it'd work as usual... but it didn't! So the make it isn't compatible with the prev versions. A similar fault was also reported by someone else in an email I saw yesterday?

J.

Joost van der Sluis wrote 73 lines
On Sun, 2011-04-03 at 21:11 +0100, Martin wrote: > On 03/04/2011 20:59, Martin wrote: > > On 03/04/2011 20:50, Martin wrote: > >> (w32 / vista) > >> I tried to recompile fpc trunk, it starts up fine, until it comes to > >> fcl-web. I copied the last lines of output to the end of the mail > >> > >> Not sure about the exact make command that was running, since they > >> come from a batch file, but probably the 2nd line: > >> make.exe clean distclean > >> make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 > >> -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO > >> FPC=c:\FPC\SVN\ppc386_2_4_2.exe > >> make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo > >> UPXPROG=echo > >> > >> Found this in svn, and will try with the revision before... > >> > >> Revision: 17223 > >> Author: joost > >> Date: 14:33:56, 02 April 2011 > >> Message: > >> * Let the makefile create the unit output dir when fpmake.pp is not > >> compiled yet > >> ---- > >> Modified : /trunk/packages/fcl-web/Makefile > >> Modified : /trunk/packages/fcl-web/Makefile.fpc > >> > > no difference, same error > just some more info. > > after trying (and getting the error) to compile with rev 17222, I went > to the director (to rename the old makefile). > > There is a fpmake.exe, with todays date, and a 3 minute old timestamp. > I do not know if that was created by this attempt, or by the previous > attempt (that was with includign the above revision)
Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the target you were compiling for.
Joost.
Show quoted text 5 lines
_______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Martin
to Joost van der Sluis: Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the…
Joost van der Sluis wrote 39 lines
On Sun, 2011-04-03 at 21:11 +0100, Martin wrote: > On 03/04/2011 20:59, Martin wrote: >> On 03/04/2011 20:50, Martin wrote: >>> (w32 / vista) >>> I tried to recompile fpc trunk, it starts up fine, until it comes to >>> fcl-web. I copied the last lines of output to the end of the mail >>> >>> Not sure about the exact make command that was running, since they >>> come from a batch file, but probably the 2nd line: >>> make.exe clean distclean >>> make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 >>> -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO >>> FPC=c:\FPC\SVN\ppc386_2_4_2.exe >>> make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo >>> UPXPROG=echo >>> >>> Found this in svn, and will try with the revision before... >>> >>> Revision: 17223 >>> Author: joost >>> Date: 14:33:56, 02 April 2011 >>> Message: >>> * Let the makefile create the unit output dir when fpmake.pp is not >>> compiled yet >>> ---- >>> Modified : /trunk/packages/fcl-web/Makefile >>> Modified : /trunk/packages/fcl-web/Makefile.fpc >>> >> no difference, same error > just some more info. > > after trying (and getting the error) to compile with rev 17222, I went > to the director (to rename the old makefile). > > There is a fpmake.exe, with todays date, and a 3 minute old timestamp. > I do not know if that was created by this attempt, or by the previous > attempt (that was with includign the above revision) Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the target you were compiling for.

No i didn't cross compile.. just my usual windows vita 32 bit ...

it failed in the "make all" with the params given above

Reply by email

Unknown author
to Joost van der Sluis: Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the…

Here is beginning and the end of today's snapshot make from zapped directories and a new svn co - the whole thing is 13K zipped - you can have it if you really want! J

C:/PP/BIN/WIN32/MAKE.EXE compiler_cycle RELEASE=1
MAKE.EXE[1]: Entering directory `D:/fpk'
C:/PP/BIN/WIN32/MAKE.EXE -C compiler cycle
MAKE.EXE[2]: Entering directory `D:/fpk/compiler'
C:/PP/BIN/WIN32/MAKE.EXE tempclean ppc3.exe
MAKE.EXE[3]: Entering directory `D:/fpk/compiler'
C:/PP/BIN/WIN32/rm.exe -f ppcross386.exe ppc.exe ppc1.exe ppc2.exe ppc3.exe ./ms
C:/PP/BIN/WIN32/MAKE.EXE 'OLDFPC=' next
MAKE.EXE[4]: Entering directory `D:/fpk/compiler'
C:/PP/BIN/WIN32/MAKE.EXE rtlclean rtl
MAKE.EXE[5]: Entering directory `D:/fpk/compiler'
C:/PP/BIN/WIN32/MAKE.EXE -C d:/fpk/rtl clean
MAKE.EXE[6]: Entering directory `d:/fpk/rtl'
C:/PP/BIN/WIN32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res lin
C:/PP/BIN/WIN32/rm.exe -f *.s *_ppas.bat
C:/PP/BIN/WIN32/MAKE.EXE -C win32 clean
MAKE.EXE[7]: Entering directory `d:/fpk/rtl/win32' C:/PP/BIN/WIN32/rm.exe -fd:/fpk/rtl/units/i386-win32/system.ppu d:/fpk/rtl/unit
C:/PP/BIN/WIN32/rm.exe -fd:/fpk/rtl/units/i386-win32/math.rst d:/fpk/rtl/units/
C:/PP/BIN/WIN32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res lin
C:/PP/BIN/WIN32/rm.exe -f *.s *_ppas.bat
MAKE.EXE[7]: Leaving directory `d:/fpk/rtl/win32'
MAKE.EXE[6]: Leaving directory `d:/fpk/rtl'

big snip

MAKE.EXE[4]: Leaving directory `D:/fpk/packages/httpd22' MAKE.EXE[3]: Leaving directory `D:/fpk/packages/httpd22' C:/PP/BIN/WIN32/MAKE.EXE -C fastcgi smart
MAKE.EXE[3]: Entering directory `D:/fpk/packages/fastcgi' C:/PP/BIN/WIN32/MAKE.EXE all LINKSMART=1 CREATESMART=1 MAKE.EXE[4]: Entering directory `D:/fpk/packages/fastcgi' C:/PP/BIN/WIN32/mkdir.exe -p units/i386-win32
D:/fpk/compiler/ppc386.exe -XX -CX -Ur -Xs -O2 -n -S2h -Fud:/fpk/rtl/units/i386-
MAKE.EXE[4]: Leaving directory `D:/fpk/packages/fastcgi' MAKE.EXE[3]: Leaving directory `D:/fpk/packages/fastcgi' C:/PP/BIN/WIN32/MAKE.EXE -C fcl-web smart
MAKE.EXE[3]: Entering directory `D:/fpk/packages/fcl-web' C:/PP/BIN/WIN32/mkdir.exe -p units/i386-win32
D:/fpk/compiler/ppc386.exe fpmake.pp -Ur -Xs -O2 -n -Fud:/fpk/rtl/units/i386-win
./fpmake build --localunitdir=../.. --globalunitdir=.. --os=win32 --cpu=i386 -o
MAKE.EXE[3]: *** [smart] Error 2
MAKE.EXE[3]: Leaving directory `D:/fpk/packages/fcl-web' MAKE.EXE[2]: *** [fcl-web_smart] Error 2
MAKE.EXE[2]: Leaving directory `D:/fpk/packages'
MAKE.EXE[1]: *** [packages_smart] Error 2
MAKE.EXE[1]: Leaving directory `D:/fpk'

Joost van der Sluis wrote 73 lines
On Sun, 2011-04-03 at 21:11 +0100, Martin wrote: > On 03/04/2011 20:59, Martin wrote: > > On 03/04/2011 20:50, Martin wrote: > >> (w32 / vista) > >> I tried to recompile fpc trunk, it starts up fine, until it comes to > >> fcl-web. I copied the last lines of output to the end of the mail > >> > >> Not sure about the exact make command that was running, since they > >> come from a batch file, but probably the 2nd line: > >> make.exe clean distclean > >> make.exe all LINKSMART=1 CREATESMART=1 OPTIMIZE=1 OPT="-gl -O3 > >> -Or -CpPENTIUMM -OpPENTIUMM" TARGET_EXAMPLES=NO > >> FPC=c:\FPC\SVN\ppc386_2_4_2.exe > >> make.exe install INSTALL_PREFIX=c:\FPC\trunk\ COPYTREE=echo > >> UPXPROG=echo > >> > >> Found this in svn, and will try with the revision before... > >> > >> Revision: 17223 > >> Author: joost > >> Date: 14:33:56, 02 April 2011 > >> Message: > >> * Let the makefile create the unit output dir when fpmake.pp is not > >> compiled yet > >> ---- > >> Modified : /trunk/packages/fcl-web/Makefile > >> Modified : /trunk/packages/fcl-web/Makefile.fpc > >> > > no difference, same error > just some more info. > > after trying (and getting the error) to compile with rev 17222, I went > to the director (to rename the old makefile). > > There is a fpmake.exe, with todays date, and a 3 minute old timestamp. > I do not know if that was created by this attempt, or by the previous > attempt (that was with includign the above revision)
Are you doing a cross-compilation? In that case the fpmake.exe is probably build for the target you were compiling for.
Joost.
Show quoted text 5 lines
_______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email