[fpc-pascal] Problem using make install in Windows
Sven Barth
pascaldragon at googlemail.com
Mon Feb 6 20:42:36 CET 2012
On 06.02.2012 17:59, Felipe Monteiro de Carvalho wrote:
> In Windows I am executing:
>
> PATH=F:\Programas\lazarus31_fpc26\fpc\2.6.1\bin\i386-win32
> make all
> make install INSTALL_PREFIX=F:\Programas\fpcsvn\dest\
> pause
Try without the "\" at the end (this is a problem of make AFAIK).
>
> And it will build the RTL and put it in the expected place, then it
> starts putting hash in the place and then ... I get the following
> error:
>
> make[3]: Entering directory `F:/Programas/fpcsvn/packages'
> make -C hash distinstall
> make[4]: Entering directory `F:/Programas/fpcsvn/packages/hash'
> F:/Programas/fpcsvn/compiler/ppc386.exe fpmake.pp -n -FuF:/Programas/fpcsvn/pack
> ages/fpmkunit/units_bs/i386-win32 -FuF:/Programas/fpcsvn/rtl/units/i386-win32
> ./fpmake.exe install --localunitdir=../.. --globalunitdir=.. --os=win32 --cpu=i3
> 86 -o -Ur -o -Xs -o -O2 -o -n -o -FuF:/Programas/fpcsvn/rtl/units/i386-win32 -o
> -FE. -o -FUunits/i386-win32 -o -di386 -o -dRELEASE --compiler=F:/Programas/fpcsv
> n/compiler/ppc386.exe --prefix=F:\Programas\fpcsvn\dest\ --unitinstalldir=F:\Pr
> ogramas\fpcsvn\dest\/units/i386-win32/hash -ie
> The installer encountered the following error:
> Failed to create directory "F:\Programas\fpcsvn\dest \examples\fpc-hash-2.7.1\ex
> amples\"
> make[4]: *** [distinstall] Error 1
> make[4]: Leaving directory `F:/Programas/fpcsvn/packages/hash'
> make[3]: *** [hash_distinstall] Error 2
> make[3]: Leaving directory `F:/Programas/fpcsvn/packages'
> make[2]: *** [packages_distinstall] Error 2
> make[2]: Leaving directory `F:/Programas/fpcsvn'
> make[1]: *** [installother] Error 2
> make[1]: Leaving directory `F:/Programas/fpcsvn'
> make: *** [install] Error 2
>
> I see the space between \dest and \examples but I dont see how it is
> something that I did wrong, or else it should fail in the RTL too.
>
Regards,
Sven
More information about the fpc-pascal
mailing list