HELP: Installing RTEMS rpms in i86... Errors...

Alex kbyte at iol.pt
Thu Dec 11 10:23:23 UTC 2003


Hi all...
I am trying to install RTEMS 4.2 rpms in a intel x86 

First I did this:

rpm -i rtems-4.6-i386-rtems-binutils-2.13.2.1-1.i686.rpm
rpm -i rtems-4.6-i386-rtems-gcc-gcc3.2.3newlib1.11.0-1.i686.rpm
rpm -i rtems-4.6-i386-rtems-gdb-5.2-1.i686.rpm
rpm -i rtems-4.6-rtems-base-binutils-2.13.2.1-1.i386.rpm
rpm -i rtems-4.6-rtems-base-gcc-gcc3.2.3newlib1.11.0-1.i686.rpm
rpm -i rtems-4.6-rtems-base-gdb-5.2-1.i686.rpm

The installation was made to /opt/rtems

Then I changed the /etc/profile 
PATH=/opt/rtems-4.6/bin:$PATH
restart system


.Crate folder tools inside /opt/rtems-4.6
.cd tools
.copy the following files to tools folder
examples-4.6.0pre5.tar.bz2
rtems-4.6.0pre5.tar.bz2
Then I extract files from the bz2 files using the Ark app

Then:
Build do RTEMS
.Inside tools I created a folder called build
.cd build
.then I executed the following commnand to configure, compile and install rtems to i86

/opt/rtems-4.6/tools/rtems-4.6.0pre5/configure -- target=i386-rtems --enable-rdbg
--enable-tests --enable-multiprocessing --enable-rtemsbsp=i386-rtems --prefix=/opt/rtems-4.6

The following output was generated:

checking for gmake... gmake
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i386-pc-rtems
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if the test suites are enabled? ... yes
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh '/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/build/configure' '--prefix=/opt/rtems-4.6' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'  '--enable-rdbg' '--enable-tests' '--enable-multiprocessing' '--enable-rtemsbsp=i386-rtems' '--target=i386-rtems'  '--cache-file=/dev/null' '--srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/build'
checking for gmake... gmake
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... /bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/sh '/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/cpu/configure' '--prefix=/opt/rtems-4.6' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'  '--enable-rdbg' '--enable-tests' '--enable-multiprocessing' '--enable-rtemsbsp=i386-rtems' '--target=i386-rtems'  '--cache-file=/dev/null' '--srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/cpu'
checking for gmake... gmake
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i386-pc-rtems
checking rtems target cpu... i386
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /bin/bash
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in generic
configure: running /bin/sh '/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/cpu/generic/configure' --prefix=/opt/rtems-4.6  '--prefix=/opt/rtems-4.6' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--enable-rdbg' '--enable-tests' '--enable-multiprocessing' '--enable-rtemsbsp=i386-rtems' '--target=i386-rtems' '--cache-file=/dev/null' '--srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/cpu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=i386-rtems' --cache-file=/dev/null --srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/tools/cpu/generic
checking for gmake... gmake
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i386-pc-rtems
checking rtems target cpu... i386
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in i386-rtems/c
configure: running /bin/sh '/opt/rtems-4.6/tools/rtems-4.6.0pre5/c/configure' '--prefix=/opt/rtems-4.6' '--host=i386-rtems' '--build=i686-pc-linux-gnu' '--target=i386-rtems'  '--enable-rdbg' '--enable-tests' '--enable-multiprocessing' '--enable-rtemsbsp=i386-rtems' '--with-target-subdir=i386-rtems' '--exec-prefix=/opt/rtems-4.6/i386-rtems'  '--cache-file=/dev/null' '--srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/c'
checking for gmake... gmake
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-linux-gnu
checking host system type... i386-pc-rtems
checking target system type... i386-pc-rtems
checking rtems target cpu... i386
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for i386-rtems-strip... i386-rtems-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu i386 is supported... yes
checking for make/custom/i386-rtems.cfg...
configure: error: no
configure: error: /bin/sh '/opt/rtems-4.6/tools/rtems-4.60pre/c/configure' failed for c


After this inside the direcory /usr/src/RTEMS/Sources/
a directory called i386-rtems was created with another directory inside called c with the following log inside a file called config.log
(/usr/src/RTEMS/Sources/i386-rtems/c/config.log)

contents of the config.log file:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rtems-c configure 4.6.0pre5, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ /opt/rtems-4.6/tools/rtems-4.6.0pre5/c/configure --prefix=/opt/rtems-4.6 --host=i386-rtems --build=i686-pc-linux-gnu --target=i386-rtems --enable-rdbg --enable-tests --enable-multiprocessing --enable-rtemsbsp=i386-rtems --with-target-subdir=i386-rtems --exec-prefix=/opt/rtems-4.6/i386-rtems --cache-file=/dev/null --srcdir=/opt/rtems-4.6/tools/rtems-4.6.0pre5/c

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.4.21-0.13mdk
uname -s = Linux
uname -v = #1 Fri Mar 14 15:08:06 EST 2003

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/rtems-4.6/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1254: checking for gmake
configure:1270: found /usr/bin/gmake
configure:1280: result: gmake
configure:1315: checking for RTEMS Version
configure:1325: result: 4.6.0pre5
configure:1335: checking build system type
configure:1353: result: i686-pc-linux-gnu
configure:1361: checking host system type
configure:1375: result: i386-pc-rtems
configure:1384: checking target system type
configure:1398: result: i386-pc-rtems
configure:1412: checking rtems target cpu
configure:1439: result: i386
configure:1456: checking for a BSD-compatible install
configure:1510: result: /usr/bin/install -c
configure:1521: checking whether build environment is sane
configure:1564: result: yes
configure:1597: checking for gawk
configure:1613: found /bin/gawk
configure:1623: result: gawk
configure:1633: checking whether gmake sets $(MAKE)
configure:1653: result: yes
configure:1714: checking for i386-rtems-strip
configure:1730: found /opt/rtems-4.6/bin/i386-rtems-strip
configure:1740: result: i386-rtems-strip
configure:1799: checking whether to enable maintainer-specific portions of Makefiles
configure:1808: result: no
configure:1868: checking if cpu i386 is supported
configure:1872: result: yes
configure:1938: checking for make/custom/i386-rtems.cfg
configure:1944: error: no

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-rtems
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-rtems
ac_cv_host=i386-pc-rtems
ac_cv_host_alias=i386-rtems
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_MAKE=gmake
ac_cv_prog_STRIP=i386-rtems-strip
ac_cv_prog_make_gmake_set=yes
ac_cv_target=i386-pc-rtems
ac_cv_target_alias=i386-rtems

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run aclocal-1.7'
AMTAR='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run tar'
AUTOCONF='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run autoconf'
AUTOHEADER='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run autoheader'
AUTOMAKE='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run automake-1.7'
AWK='gawk'
CYGPATH_W='echo'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ENDIF='endif'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKE='gmake'
MAKEINFO='${SHELL} /opt/rtems-4.6/tools/rtems-4.6.0pre5/missing --run makeinfo'
PACKAGE='rtems-c'
PACKAGE_BUGREPORT='rtems-bugs at rtems.com'
PACKAGE_NAME='rtems-c'
PACKAGE_STRING='rtems-c 4.6.0pre5'
PACKAGE_TARNAME='rtems-c'
PACKAGE_VERSION='4.6.0pre5'
PATH_SEPARATOR=':'
PROJECT_ROOT='../$(top_builddir)'
PROJECT_TOPdir='../../$(top_builddir)'
RTEMS_BSP_LIST=''
RTEMS_CPU='i386'
RTEMS_HOST='rtems'
RTEMS_TOPdir='..'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='i386-rtems-strip'
VERSION='4.6.0pre5'
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='/opt/rtems-4.6/i386-rtems'
host='i386-pc-rtems'
host_alias='i386-rtems'
host_cpu='i386'
host_os='rtems'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/opt/rtems-4.6/tools/rtems-4.6.0pre5/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/opt/rtems-4.6'
program_transform_name='s,^,i386-rtems-,'
rtems_bsp_configure=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-pc-rtems'
target_alias='i386-rtems'
target_cpu='i386'
target_os='rtems'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "rtems-bugs at rtems.com"
#define PACKAGE_NAME "rtems-c"
#define PACKAGE_STRING "rtems-c 4.6.0pre5"
#define PACKAGE_TARNAME "rtems-c"
#define PACKAGE_VERSION "4.6.0pre5"

configure: exit 1


There is a problem configuring/compiling/installing the c directory... but why?

Any ideas?

Thanks a lot...
Nuno Costa





More information about the users mailing list