At some stage in the make INSTALL the installation stops with this message.

/usr/bin/install -c -m 755 ppcross386
/home/user/lazarusBuildTesting/testbuild01/fpc/lib/fpc/3.1.1/ppcross386

/usr/bin/install: cannot stat `ppcross386': No such file or directory

The script is adapted from the Codebot setup.sh script created for Linux
and follows the logic below. It works on a 64bit Ubuntu 14.04 system but
fails when I try it on a 32bit Ubuntu 12.04 system. The first make all and
make install succeeds. When it gets to crossinstall phase is when the error
occurs with the ppcross386 message


if [ "$CPU" = "i686" ]
then
  CPU="i386"
fi

echo "starting main FPC compilation"
cd $THIS_BUILD_DIR/fpc
make all
make install INSTALL_PREFIX=$THIS_BUILD_DIR/fpc



if [ "$CPU" = "i686" ]
then
  echo CPU = ${CPU} making crossinstall OS_TARGET=linux CPU_TARGET=x86_64
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc
  make crossinstall OS_TARGET=linux CPU_TARGET=x86_64
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc
else
  echo CPU = ${CPU} making crossinstall OS_TARGET=linux CPU_TARGET=i386
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc
  make crossinstall OS_TARGET=linux CPU_TARGET=i386
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc
fi
make crossinstall OS_TARGET=win32 CPU_TARGET=i386
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc
make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
INSTALL_PREFIX=$THIS_BUILD_DIR/fpc



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to