[fpc-devel] another make install issue

Jeppe Græsdal Johansen jjohan07 at student.aau.dk
Tue Aug 30 11:53:24 CEST 2011


Den 30-08-2011 11:49, Martin skrev:
>
> The following line to install fpc used to work:
> make.exe install  INSTALL_PREFIX=c:\FPC\trunk\  COPYTREE=echo 
> UPXPROG=echo
>
> But now leads to:
> .\fpmake.exe install --localunitdir=../.. --globalunitdir=.. 
> --os=win32 --cpu=i386 -o -Ur -o -Xs -o -O2 -o -n -o 
> -FuC:/FPC/SVN/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/i386-win32 -o -di386 -o -dRELEASE 
> --compiler=C:/FPC/SVN/trunc/compiler/ppc386.exe 
> --prefix=c:\FPC\trunk\  
> --unitinstalldir=c:\FPC\trunk\/units/i386-win32/fcl-base -ie
> The installer encountered the following error:
> Failed to create directory "c:\FPC\trunk \bin\"
>
> It appears that 2 issu8es play together.
> 1) the windows path delim is not translated
> 2) the \ followed by a space is interpreted as escaped space, and 
> included in the path
>
> I will try without the trailing \ But imho that shouldn't fail, it's a 
> perfectly legal path (afaik)
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
Try
make.exe install  INSTALL_PREFIX=c:\\FPC\\trunk  COPYTREE=echo UPXPROG=echo

It's a perfectly legal and valid path, but you've forgotten that make is 
a tool made mostly by C-programmers ;)



More information about the fpc-devel mailing list