Sign in Join

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

Mailing lists / fpc-devel / 2013-01

Fixes 2.6.1 fails to install under Win32

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi,

I'm using a Win2000, and have a released FPC 2.6.0 installed. I updated my FPC 2.6.1 to r23533 (latest revision to date). I run by usual build.bat script (shown below). FPC, RTL and FCL seems to compile fine, but the 'make install ...' seems to fail. I've never had such issues before. It seems like the Makefile is broken, if you look at the odd directory it tried to create.

Anybody else experiencing this, or have a solution?

----8<-------------8<-------------8<-------------8<-------------8<---- make distclean
make all FPC=c:\FPC\2.6.0\bin\i386-win32\ppc386.exe make install INSTALL_PREFIX=c:\fpc\2.6.1\
FPC=c:\FPC\2.6.0\bin\i386-win32\ppc386.exe

...snip...
6.exe --prefix=c:\fpc\2.6.1\
--unitinstalldir=c:\fpc\2.6.1\/units/i386-win32/fcl -web
Installing package fcl-web
The installer encountered the following error:
Failed to create directory "C:\fpc\2.6.1
--unitinstalldir=c:\fpc\2.6.1\\units\i3
86-win32\fcl-web\units\i386-win32\fcl-web\"
make[4]: *** [install] Error 1
make[4]: Leaving directory `C:/FPC/2.6.1/src/packages/fcl-web' make[3]: *** [fcl-web_distinstall] Error 2
make[3]: Leaving directory `C:/FPC/2.6.1/src/packages' make[2]: *** [packages_distinstall] Error 2
make[2]: Leaving directory `C:/FPC/2.6.1/src'
make[1]: *** [installother] Error 2
make[1]: Leaving directory `C:/FPC/2.6.1/src'
make: *** [install] Error 2

----8<-------------8<-------------8<-------------8<-------------8<----

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Michalis Kamburelis
to Graeme Geldenhuys
Graeme Geldenhuys wrote 28 lines
Hi, I'm using a Win2000, and have a released FPC 2.6.0 installed. I updated my FPC 2.6.1 to r23533 (latest revision to date). I run by usual build.bat script (shown below). FPC, RTL and FCL seems to compile fine, but the 'make install ...' seems to fail. I've never had such issues before. It seems like the Makefile is broken, if you look at the odd directory it tried to create. Anybody else experiencing this, or have a solution? ----8<-------------8<-------------8<-------------8<-------------8<---- make distclean make all FPC=c:\FPC\2.6.0\bin\i386-win32\ppc386.exe make install INSTALL_PREFIX=c:\fpc\2.6.1\ FPC=c:\FPC\2.6.0\bin\i386-win32\ppc386.exe ...snip... 6.exe --prefix=c:\fpc\2.6.1\ --unitinstalldir=c:\fpc\2.6.1\/units/i386-win32/fcl -web Installing package fcl-web The installer encountered the following error: Failed to create directory "C:\fpc\2.6.1 --unitinstalldir=c:\fpc\2.6.1\\units\i3 86-win32\fcl-web\units\i386-win32\fcl-web\"

Looks like using a backslash at the end of INSTALL_PREFIX=xxx argument quotes the following space, and so the whole thing becomes glued "C:\fpc\2.6.1" + space + "--unitinstalldir=...".

Do not use a final backslash, like

make install INSTALL_PREFIX=c:\fpc\2.6.1

and things should be Ok. It would probably be even cleaner to use slashes everywhere:

make install INSTALL_PREFIX=c:/fpc/2.6.1

Disclaimer: I didn't actually test this (not sitting on Windows right now), just guessing :)

Michalis

Reply by email