Re-Building RTEMS Fails
Ralf Corsepius
corsepiu at faw.uni-ulm.de
Fri Feb 7 20:42:02 UTC 2003
Am Fre, 2003-02-07 um 19.29 schrieb Don:
> In trying to rebuild my BSP for the PPC2A, I have run into a problem
> rebuilding RTMES. It gets about halfway through the build and dies:
>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating size_rtems
> configure: configuring in powerpc-rtems/c/make
> configure: running /bin/sh '../../../../rtems-ss-
> 20021118/c/make/configure' '--prefix=/opt/rtems' '--host=powerpc-
> rtems' '--build=i686-pc-linux-gnu' '--target=powerpc-rtems' '--disable-
> posix' '--disable-cxx' '--enable-maintainer-mode' '--enable-
> rtemsbsp=ppcn_60x' '--with-target-subdir=powerpc-rtems' '--exec-
> prefix=/opt/rtems/powerpc-rtems' '--cache-file=/dev/null' '--
> srcdir=../../../../rtems-ss-20021118/c/make'
> checking for gmake... gmake
> checking for RTEMS Version... ss-20021118
> checking build system type... i686-pc-linux-gnu
> checking host system type... powerpc-unknown-rtems
> checking target system type... powerpc-unknown-rtems
> checking rtems target cpu... powerpc
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for mawk... no
> checking for gawk... gawk
> checking whether gmake sets ${MAKE}... yes
> checking for powerpc-rtems-strip... no
> checking for strip... strip
> checking whether to enable maintainer-specific portions of Makefiles...
> yes
> checking if cpu powerpc is supported... yes
> checking for style of include used by gmake... GNU
> checking for powerpc-rtems-gcc... no
> configure: error: no acceptable cc found in $PATH
> configure: error: /bin/sh '../../../../rtems-ss-
> 20021118/c/make/configure' failed for c/make
> sed: can't read confdefs.h: No such file or directory
> [root at acuserver build-rtems]#
>
>
> The command line is:
The log messages indicate the tools are not installed or PATH is setup incorrectly.
>
>
> I have gone as far as trying to unistall and reinstall the 6 RTEMS
> tools RPMs. However, when I go to unistall them, it tells me they are
> not installed, but when I go to install them, it says they are already
> installed.
>
> I'm lost! Help?!
I'd guess, your rpm database might be corrupted.
Try to rebuild it: rpm --rebuilddb
And then check whether rpm thinks if the tools are installed:
rpm -qa | grep rtems
And if they are corrupted:
rpm -V <rpm-name>
Ralf
More information about the users
mailing list