From: "Vincent Snijders" <[EMAIL PROTECTED]> > Horacio Jamilis schreef: > > Hi, > > > > I am trying to recompile the Lazarus IDE from inside lazarus, and > > the > > build fails. > > > > I am using lazarus under WinXP SP2 Spanish, FPC 2.2.1 SVN today > > and LAZ > > SVN today (updated 2 minutes ago) > > > > I then exported all the messages to a file and the last lines are: > > > > make.exe[1]: Leaving directory `E:/lazarus/laz_svn/ide' > > E:/lazarus/pp/bin/i386-win32/make.exe -C ide ide > > make.exe[1]: Entering directory `E:/lazarus/laz_svn/ide' > > ../tools/svn2revisioninc.exe .. revision.inc > > Created E:\lazarus\laz_svn\ide\revision.inc for revision: 15036 > > E:/lazarus/pp/bin/i386-win32/make.exe --assume-new=lazarus.pp > > lazarus.exe OPT=' -WG @"C:\Documents and > > Settings\Horacio\Configuración > > local\Datos de programa\lazarus\idemake.cfg"' > > make.exe[2]: Entering directory `E:/lazarus/laz_svn/ide' > > E:/lazarus/pp/bin/i386-win32/ppc386.exe -gl -Fu../lcl/units/i386-win32 > > -Fu../lcl/units/i386-win32/win32 > > -Fu../components/codetools/units/i386-win32 > > -Fu../components/synedit/units/i386-win32 -Fu../components/custom > > -Fu../components/mpaslex -Fu../ideintf/units/i386-win32 -Fu../designer > > -Fu../designer/jitform/units/i386-win32 -Fu../debugger -Fu../converter > > -Fu../packager -Fu../packager/units/i386-win32 -Fu../units/i386-win32 > > -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. > > -FU../units/i386-win32 -WG @"C:\Documents and > > Settings\Horacio\Configuración local\Datos de > > programa\lazarus\idemake.cfg" -di386 lazarus.pp > > Fatal: Unable to open file C:\Documents and > > Settings\Horacio\Configuraci¾n local\Datos de > > programa\lazarus\idemake.cfg > > > > What I can see is that one character is changed in the path: > > the right word (in the spanish windows file system) is > > "Configuración", > > and in the error line it appears as "Configuraci¾n"... so the > > character > > seems affected and that is why the file is not found. > > > > After this I executed the command from the cmd.exe prompt and > > everything > > is build correctly. > > > > I hope this is enougth for you to fix it. > > > > The description is clear, but I don't know yet how to fix it. Can > you > create a bug report? Maybe there is some incompatibility between RTL > routine to get the configuration directory and the way the compiler > tries to open files.
It is caused by make.exe. If a command contains quote " make.exe creates .bat file with that command and executes this .bat file via cmd.exe, which performs OEM->ANSI conversion for .bat file text... To fix this problem use ' instead of " as quotation and make.exe will not create .bat file and all will work (also on Win9x). Yury. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
