Installation Help
Marc Enzmann
Marc.Enzmann at E-Technik.Uni-Magdeburg.DE
Fri Nov 10 13:37:36 UTC 2000
Hello everybody,
I´m trying to install RTEMS 4.5.0 on a Linux 2.2.16 kernel. I´ve
dowloaded
the necessary files from ftp.OARcorp.com and started the installation
according
to the "Getting Started with GNAT/RTEMS" manual.
Almost that is, I´ve figured, that for the GNAT installation I will need
the ada_build_scripts instead of c_build_scripts.
However bit_ada finishes after a few seconds and leaves the message
quoted at the
end of this mail.
I suppose that there is something wrong with the paths during
installation.
Presumably I am missing something essential, but I can´t figure it out
from
the manual.
Hints will be apreciated !
Thanks in advance
> + '[' 1 -ne 1 ']'
> + type gcc
> gcc is /usr/bin/gcc
> + type gnatmake
> gnatmake is /usr/bin/gnatmake
> + '[' 0 -ne 0 ']'
> + '[' x '!=' x -o x '!=' x -o x '!=' x -o x '!=' x -o x '!=' x ']'
> + CPU=i386
> + BUILD_PIECE=tools
> ++ date
> + start=Thu Nov 9 19:13:28 CET 2000
> + '[' '!' -r ./common.sh ']'
> + . ./common.sh
> ++ test xi386 '!=' x
> ++ target=i386-rtems
> ++ BUILDDIR=build-i386-tools
> ++ gmake_found=no
> ++ '[' no = no ']'
> ++ gmake --version
> ++ '[' 0 -eq 0 ']'
> ++ MAKE=gmake
> ++ gmake_found=yes
> ++ '[' yes = no ']'
> ++ '[' yes = no ']'
> + test -e ./user.cfg
> + . ./user.cfg
> ++ INSTALL_POINT=/usr/local/rtems-ada
> ++ BINUTILS=binutils-2.9.1
> ++ GCC=gcc-2.8.1
> ++ NEWLIB=newlib-1.8.2
> ++ GDB=gdb-4.17
> ++ BUILD_DOCS=yes
> ++ RTEMS=4.5.0
> ++ ENABLE_RTEMS_POSIX=yes
> ++ ENABLE_RTEMS_ITRON=yes
> ++ ENABLE_RTEMS_MP=no
> ++ ENABLE_RTEMS_CXX=no
> ++ ENABLE_RTEMS_TESTS=no
> ++ ENABLE_RTEMS_TCPIP=yes
> ++ ENABLE_RTEMS_RDBG=yes
> ++ ENABLE_RTEMS_MAINTAINER_MODE=no
> ++ BUILD_RTEMS_NONDEBUG=no
> ++ BUILD_RTEMS_DEBUG=yes
> ++ INSTALL_RTEMS=yes
> + makeinfo_test
> + '[' xyes = xyes ']'
> + makeinfo_found=no
> + '[' no = no ']'
> + makeinfo --version
> + '[' 0 -eq 0 ']'
> + MAKEINFO=makeinfo
> + makeinfo_found=yes
> + '[' yes = no ']'
> + echo 'GNU makeinfo 1.68 or newer is required to build some of the'
> GNU makeinfo 1.68 or newer is required to build some of the
> + echo 'documentation included with this package. You have version'
> documentation included with this package. You have version
> + echo
>
> + makeinfo --version
> makeinfo (GNU texinfo) 4.0
>
> Copyright (C) 1999 Free Software Foundation, Inc.
> There is NO warranty. You may redistribute this software
> under the terms of the GNU General Public License.
> For more information about these matters, see the files named COPYING.
> ++ pwd
> + TOOLSDIR=/install/GNAT_RTEMS/tools
> + test -d binutils-2.9.1
> + test -d gcc-2.8.1
> + test -d newlib-1.8.2
> + ADADIR=gcc-2.8.1/ada
> + test -d gcc-2.8.1/ada
> ++ grep Gnat_Version_String gcc-2.8.1/ada/gnatvsn.ads
> ++ cut '-d"' -f2
> + GNAT=3.12p (19990629)
> -- Longest possible length for Gnat_Version_String in this or any
> + echo
>
> + echo 'Building a cross GNU C/C++ toolset with the following configuration:'
> Building a cross GNU C/C++ toolset with the following configuration:
> + echo ' BINUTILS --> ' binutils-2.9.1
> BINUTILS --> binutils-2.9.1
> + echo ' GCC --> ' gcc-2.8.1
> GCC --> gcc-2.8.1
> + echo ' GNAT --> ' 3.12p '(19990629)' -- Longest possible length for Gnat_Version_String in this or any
> GNAT --> 3.12p (19990629) -- Longest possible length for Gnat_Version_String in this or any
> + echo ' NEWLIB --> ' newlib-1.8.2
> NEWLIB --> newlib-1.8.2
> + echo ' TARGET --> ' i386-rtems
> TARGET --> i386-rtems
> + echo ' INSTALL POINT --> ' /usr/local/rtems-ada
> INSTALL POINT --> /usr/local/rtems-ada
> + echo ' BUILD DOCS --> ' yes
> BUILD DOCS --> yes
> + echo
>
> + '[' x = xyes ']'
> + make_one_tree
> ++ pwd
> + my_pwd=/install/GNAT_RTEMS/tools
> + echo
>
> + echo 'Building src subdirectory ...'
> Building src subdirectory ...
> + echo ' This directory contains symbolic links to gcc, newlib, and'
> This directory contains symbolic links to gcc, newlib, and
> + echo ' binutils so they can be configured and built together.'
> binutils so they can be configured and built together.
> + echo
>
> + rm -rf src
> + mkdir src
> + cd src
> + GET_CONFIGURE_SCRIPTS_FROM=binutils-2.9.1
> + ln -s ../binutils-2.9.1/config .
> + ln -s ../binutils-2.9.1/config-ml.in .
> + ln -s ../binutils-2.9.1/config.guess .
> + ln -s ../binutils-2.9.1/config.if .
> + ln -s ../binutils-2.9.1/config.sub .
> + ln -s ../binutils-2.9.1/configure .
> + ln -s ../binutils-2.9.1/configure.in .
> + ln -s ../binutils-2.9.1/etc .
> + ln -s ../binutils-2.9.1/Makefile.in .
> + ln -s ../binutils-2.9.1/install-sh .
> + ln -s ../binutils-2.9.1/libiberty .
> + ln -s ../binutils-2.9.1/ltconfig .
> + ln -s ../binutils-2.9.1/ltmain.sh .
> + ln -s ../binutils-2.9.1/missing .
> + ln -s ../binutils-2.9.1/mkinstalldirs .
> + ln -s ../binutils-2.9.1/move-if-change .
> + ln -s ../binutils-2.9.1/symlink-tree .
> + ln -s ../binutils-2.9.1/ylwrap .
> + ln -s ../gcc-2.8.1 gcc
> + ln -s ../binutils-2.9.1/bfd .
> + ln -s ../binutils-2.9.1/binutils .
> + ln -s ../binutils-2.9.1/gas .
> + ln -s ../binutils-2.9.1/gprof .
> + ln -s ../binutils-2.9.1/ld .
> + ln -s ../binutils-2.9.1/opcodes .
> + ln -s ../newlib-1.8.2/newlib .
> + cd /install/GNAT_RTEMS/tools
> + cd gcc-2.8.1/ada
> + touch treeprs.ads a-einfo.h a-sinfo.h nmake.adb nmake.ads
> + cd /install/GNAT_RTEMS/tools
> + echo
>
> + echo 'Compilation will occur in build-i386-tools.'
> Compilation will occur in build-i386-tools.
> + echo
>
> + rm -rf build-i386-tools
> + mkdir build-i386-tools
> + check_fatal 0 '**** FAILED **** unable to make build tree'
> + '[' 0 -ne 0 ']'
> + cd build-i386-tools
> + ../src/configure --target=i386-rtems --with-gnu-as --with-gnu-ld --verbose --prefix=/usr/local/rtems-ada
> Config.guess failed to determine the host type. You need to specify one.
> Usage: configure [OPTIONS] [HOST]
>
> Options: [defaults in brackets]
> --prefix=MYDIR install into MYDIR [/usr/local]
> --exec-prefix=MYDIR install host-dependent files into MYDIR [/usr/local]
> --help print this message [normal config]
> --build=BUILD configure for building on BUILD [BUILD=HOST]
> --host=HOST configure for HOST [determined via config.guess]
> --norecursion configure this directory only [recurse]
> --program-prefix=FOO prepend FOO to installed program names [""]
> --program-suffix=FOO append FOO to installed program names [""]
> --program-transform-name=P transform installed names by sed pattern P [""]
> --site=SITE configure with site-specific makefile for SITE
> --srcdir=DIR find the sources in DIR [. or ..]
> --target=TARGET configure for TARGET [TARGET=HOST]
> --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]
> --nfp configure for software floating point [hard float]
> --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)
> --without-FOO package FOO is NOT available
> --enable-FOO, --enable-FOO=BAR include feature FOO (parameter BAR)
> --disable-FOO do not include feature FOO
>
> Where HOST and TARGET are something like "sparc-sunos", "mips-sgi-irix5", etc.
>
> + '[' '!' -d /usr/local/rtems-ada ']'
> + echo 'Making directory for install point (/usr/local/rtems-ada) ...'
> Making directory for install point (/usr/local/rtems-ada) ...
> + mkdir -p /usr/local/rtems-ada
> + check_fatal 0 '**** FAILED **** unable to make install point'
> + '[' 0 -ne 0 ']'
> + preinstall_header_files
> + '[' '!' -d /usr/local/rtems-ada/i386-rtems ']'
> + echo 'Making directory /usr/local/rtems-ada/i386-rtems ...'
> Making directory /usr/local/rtems-ada/i386-rtems ...
> + mkdir -p /usr/local/rtems-ada/i386-rtems
> + check_fatal 0 '**** FAILED **** unable to make directory (/usr/local/rtems-ada/i386-rtems)'
> + '[' 0 -ne 0 ']'
> + '[' '!' -d /usr/local/rtems-ada/i386-rtems/include ']'
> + echo 'Making directory /usr/local/rtems-ada/i386-rtems/include ...'
> Making directory /usr/local/rtems-ada/i386-rtems/include ...
> + mkdir -p /usr/local/rtems-ada/i386-rtems/include
> + check_fatal 0 '**** FAILED **** unable to make directory (/usr/local/rtems-ada/i386-rtems/include)'
> + '[' 0 -ne 0 ']'
> + '[' '!' -d /usr/local/rtems-ada/i386-rtems/sys-include ']'
> + echo 'Making directory /usr/local/rtems-ada/i386-rtems/sys-include ...'
> Making directory /usr/local/rtems-ada/i386-rtems/sys-include ...
> + mkdir -p /usr/local/rtems-ada/i386-rtems/sys-include
> + check_fatal 0 '**** FAILED **** unable to make directory (/usr/local/rtems-ada/i386-rtems/sys-include)'
> + '[' 0 -ne 0 ']'
> + srclimits=../newlib-1.8.2/newlib/libc/sys/rtems/include/limits.h
> + test -r ../newlib-1.8.2/newlib/libc/sys/rtems/include/limits.h
> + check_fatal 0 '**** FAILED **** unable to find ../newlib-1.8.2/newlib/libc/sys/rtems/include/limits.h'
> + '[' 0 -ne 0 ']'
> + cp ../newlib-1.8.2/newlib/libc/sys/rtems/include/limits.h /usr/local/rtems-ada/i386-rtems/include
> + check_fatal 0 '**** FAILED **** unable to install /usr/local/rtems-ada/i386-rtems/include/limits.h'
> + '[' 0 -ne 0 ']'
> + cp ../newlib-1.8.2/newlib/libc/sys/rtems/include/limits.h /usr/local/rtems-ada/i386-rtems/sys-include
> + check_fatal 0 '**** FAILED **** unable to install /usr/local/rtems-ada/i386-rtems/sys-include/limits.h'
> + '[' 0 -ne 0 ']'
> + '[' xyes = xyes ']'
> + MAKE_DOCS=info
> + echo 'BIT_ADA: starting base build (step 1)'
> BIT_ADA: starting base build (step 1)
> + gmake CC=gcc CFLAGS=-O2 'LANGUAGES=c gcov' all info install
> gmake: *** No rule to make target `all'. Stop.
> + check_fatal 2 '**** FAILED **** base build of C and C++ (step 1)'
> + '[' 2 -ne 0 ']'
> + shift
> + echo 'ERROR: **** FAILED **** base build of C and C++ (step 1)'
> ERROR: **** FAILED **** base build of C and C++ (step 1)
> + my_exit 1
> ++ date
> + stop=Thu Nov 9 19:13:31 CET 2000
> + echo
>
> + echo 'Started: ' Thu Nov 9 19:13:28 CET 2000
> Started: Thu Nov 9 19:13:28 CET 2000
> + echo 'Finished: ' Thu Nov 9 19:13:31 CET 2000
> Finished: Thu Nov 9 19:13:31 CET 2000
> + '[' xbuild-i386-tools = x ']'
> + cd /install/GNAT_RTEMS/tools
> + echo
>
> + echo 'Directory size information:'
> Directory size information:
> + du -s -k build-i386-tools
> 4 build-i386-tools
> + du -s -k /usr/local/rtems-ada
> 18 /usr/local/rtems-ada
> + echo
>
> + '[' 1 -eq 0 ']'
> + echo 'The src and build-i386-tools subdirectory have NOT been removed.'
> The src and build-i386-tools subdirectory have NOT been removed.
> + echo
>
> + exit 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Marc.Enzmann.vcf
Type: text/x-vcard
Size: 368 bytes
Desc: Karte f?r Marc Enzmann
URL: <http://lists.rtems.org/pipermail/users/attachments/20001110/bffb6d31/attachment.vcf>
More information about the users
mailing list