[fpc-devel] Changes in Makefile-system
Sergei Gorelkin
sergei_gorelkin at mail.ru
Sun Apr 3 01:51:20 CEST 2011
On 02.04.2011 01:15, Joost van der Sluis wrote:
> Hi all,
>
> I've just committed a change in the Makefiles for the fcl-web package.
> The Makefile now calls fpmake to build and install the package.
>
I'm unable to run the test suite with this change, apparently it tries to install package files to
their permanent location (/usr/local/lib/fpc/2.5.1/units/...), while the test suite uses a temporary
location under 'tests' directory. Following is a fragment of log showing a correctly processed
package (fv) and the error:
make[3]: Вход в каталог `/media/TRASH/trunk/packages/fv'
/usr/local/bin/fpcmake -p -Tx86_64-linux Makefile.fpc
Processing Makefile.fpc
Writing Package.fpc
/usr/bin/install -m 755 -d /media/TRASH/trunk/tests/units/x86_64-linux
/usr/bin/install -c -m 644 Package.fpc /media/TRASH/trunk/tests/units/x86_64-linux
/usr/bin/install -m 755 -d /media/TRASH/trunk/tests/units/x86_64-linux
/usr/bin/install -c -m 644 units/x86_64-linux/app.ppu (...a long list of files...)
/media/TRASH/trunk/tests/units/x86_64-linux
/usr/bin/install -c -m 644 units/x86_64-linux/app.o (...a long list of files...)
/media/TRASH/trunk/tests/units/x86_64-linux
make[3]: Выход из каталога `/media/TRASH/trunk/packages/fv'
make -C fcl-web install
make[3]: Вход в каталог `/media/TRASH/trunk/packages/fcl-web'
./fpmake install --localunitdir=../.. --globalunitdir=.. --os=linux --cpu=x86_64 -o
-Fu../../rtl/units/x86_64-linux -o -Fu../../packages/hash/units/x86_64-linux -o
-Fu../../packages/paszlib/units/x86_64-linux -o -Fu../../packages/fcl-process/units/x86_64-linux -o
-Fu../../packages/fpmkunit/units/x86_64-linux -o -FE. -o -FUunits/x86_64-linux -o -Cg -o -dx86_64
--compiler=/media/TRASH/trunk/compiler/ppcx64 --prefix=
The installer encountered the following error:
Unable to create file "/usr/local/lib/fpc/2.5.1/units/x86_64-linux/fcl-web/cgiapp.o"
make[3]: *** [install] Ошибка 1
make[3]: Выход из каталога `/media/TRASH/trunk/packages/fcl-web'
make[2]: *** [fcl-web_install] Ошибка 2
make[2]: Выход из каталога `/media/TRASH/trunk/packages'
make[1]: *** [packages-stamp.x86_64-linux] Ошибка 2
make[1]: Выход из каталога `/media/TRASH/trunk/tests/units'
make: *** [units] Ошибка 2
Regards,
Sergei
More information about the fpc-devel
mailing list