Sign in Join

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

Mailing lists / fpc-pascal / 2012-02

Problem using make install in Windows

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Felipe Monteiro de Carvalho

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

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.

Felipe Monteiro de Carvalho

Reply by email

Sven Barth
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 6 lines
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).

Show quoted text 31 lines
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

Reply by email

Felipe Monteiro de Carvalho
to Sven Barth

Thanks, you were right =)

But strange that it considered my "\" a space. I know that "\ " is a escaping for a space, but there was no space in the end.

Felipe Monteiro de Carvalho

Reply by email

Sven Barth
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 5 lines
Thanks, you were right =) But strange that it considered my "\" a space. I know that "\ " is a escaping for a space, but there was no space in the end.

That's a problem of Make at least on Windows and was already mentioned on one of the lists some time ago. Maybe Make on Unix will expose the same problem, but there you normally don't use "\" as a trailing path delimiter ;)

Regards,
Sven

Reply by email

Zaher Dirkey
to Sven Barth
Sven Barth wrote 17 lines
On 07.02.2012 19:09, Felipe Monteiro de Carvalho wrote: > Thanks, you were right =) > > But strange that it considered my "\" a space. I know that "\ " is a > escaping for a space, but there was no space in the end. > > That's a problem of Make at least on Windows and was already mentioned on one of the lists some time ago. Maybe Make on Unix will expose the same problem, but there you normally don't use "\" as a trailing path delimiter ;) Regards, Sven

On Windows (2000/XP and above) You can use / instead of \ that resolve some problems in my PHP projects

Best Regards
Zaher Dirkey

Reply by email