missing C compiler...

dave daveerickson at shaw.ca
Sat Oct 12 20:24:22 UTC 2013


Hi
This is what /opt/rtems-4.11 looks like:

[dave at localhost build-i386]$ ls /opt/rtems-4.11/bin
aclocal                      powerpc-rtems4.11-gcc-4.8.0
aclocal-1.13                 powerpc-rtems4.11-gcc-ar
autoconf                     powerpc-rtems4.11-gcc-nm
autoheader                   powerpc-rtems4.11-gcc-ranlib
autom4te                     powerpc-rtems4.11-gcov
automake                     powerpc-rtems4.11-gdb
automake-1.13                powerpc-rtems4.11-gprof
autoreconf                   powerpc-rtems4.11-ld
autoscan                     powerpc-rtems4.11-ld.bfd
autoupdate                   powerpc-rtems4.11-nm
i386-rtems4.11-addr2line     powerpc-rtems4.11-objcopy
i386-rtems4.11-ar            powerpc-rtems4.11-objdump
i386-rtems4.11-as            powerpc-rtems4.11-ranlib
i386-rtems4.11-c++           powerpc-rtems4.11-readelf
i386-rtems4.11-c++filt       powerpc-rtems4.11-run
i386-rtems4.11-cpp           powerpc-rtems4.11-size
i386-rtems4.11-elfedit       powerpc-rtems4.11-strings
i386-rtems4.11-g++           powerpc-rtems4.11-strip
i386-rtems4.11-gcc           sh-rtems4.11-addr2line
i386-rtems4.11-gcc-4.8.0     sh-rtems4.11-ar
i386-rtems4.11-gcc-ar        sh-rtems4.11-as
i386-rtems4.11-gcc-nm        sh-rtems4.11-c++
i386-rtems4.11-gcc-ranlib    sh-rtems4.11-c++filt
i386-rtems4.11-gcov          sh-rtems4.11-cpp
i386-rtems4.11-gdb           sh-rtems4.11-elfedit
i386-rtems4.11-gprof         sh-rtems4.11-g++
i386-rtems4.11-ld            sh-rtems4.11-gcc
i386-rtems4.11-ld.bfd        sh-rtems4.11-gcc-4.8.0
i386-rtems4.11-nm            sh-rtems4.11-gcc-ar
i386-rtems4.11-objcopy       sh-rtems4.11-gcc-nm
i386-rtems4.11-objdump       sh-rtems4.11-gcc-ranlib
i386-rtems4.11-ranlib        sh-rtems4.11-gcov
i386-rtems4.11-readelf       sh-rtems4.11-gdb
i386-rtems4.11-size          sh-rtems4.11-gprof
i386-rtems4.11-strings       sh-rtems4.11-ld
i386-rtems4.11-strip         sh-rtems4.11-ld.bfd
ifnames                      sh-rtems4.11-nm
powerpc-rtems4.11-addr2line  sh-rtems4.11-objcopy
powerpc-rtems4.11-ar         sh-rtems4.11-objdump
powerpc-rtems4.11-as         sh-rtems4.11-ranlib
powerpc-rtems4.11-c++        sh-rtems4.11-readelf
powerpc-rtems4.11-c++filt    sh-rtems4.11-run
powerpc-rtems4.11-cpp        sh-rtems4.11-size
powerpc-rtems4.11-elfedit    sh-rtems4.11-strings
powerpc-rtems4.11-g++        sh-rtems4.11-strip
powerpc-rtems4.11-gcc


I think I have all the right tools...I have used RTEMS before, I took 
the course form Dr. Sherrill.

Thanks,
Dave
On 10/12/2013 11:28 AM, Gedare Bloom wrote:
> Dave,
> It looks like you don't have a host C compiler. Try installing gcc.
> -Gedare
>
> On Sat, Oct 12, 2013 at 12:52 PM, dave <daveerickson at shaw.ca> wrote:
>> Ok bootstrap completed, I created a fresh directory and started a configure:
>>
>> According to the Getting Started manual, the --target=i386-rtems4.11
>>
>> According to the rtems/c/TOOL_TARGETS  the targets is called i386-rtems
>>
>> I tried several versions of  i386-rtems  i386-rtems4.11 i386-rtems-4.11
>>
>> and this is the compiler fail:
>>
>> [dave at localhost build-i386]$ ../rtems/configure --target=i386-rtems4.11
>> --enable-posix --enable-networking --disable-cxx --enable-rtemsbsp="pc386"
>> --prefix=/opt/rtems-4.11
>> checking for gmake... gmake
>> checking for RTEMS Version... 4.10.99.0
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-linux-gnu
>> checking target system type... i386-pc-rtems4.11
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether gmake sets $(MAKE)... yes
>> checking whether gmake supports nested variables... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking that generated files are newer than configure... done
>> configure: creating ./config.status
>> configure: configuring in ./tools/build
>> configure: running /bin/sh '../../../rtems/tools/build/configure'
>> '--prefix=/opt/rtems-4.11' '--host=x86_64-unknown-linux-gnu'
>> '--build=x86_64-unknown-linux-gnu'  '--enable-posix' '--enable-networking'
>> '--disable-cxx' '--enable-rtemsbsp=pc386' '--target=i386-rtems4.11'
>> '--cache-file=/dev/null' '--srcdir=../../../rtems/tools/build'
>> checking for gmake... gmake
>> checking for RTEMS Version... 4.10.99.0
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-linux-gnu
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether gmake sets $(MAKE)... yes
>> checking whether gmake supports nested variables... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking for x86_64-unknown-linux-gnu-gcc... no
>> checking for gcc... no
>> checking for x86_64-unknown-linux-gnu-cc... no
>> checking for cc... no
>> checking for x86_64-unknown-linux-gnu-cl.exe... no
>> checking for cl.exe... no
>> configure: error: in `/home/dave/src/RTEMS/build-i386/tools/build':
>> configure: error: no acceptable C compiler found in $PATH
>> See `config.log' for more details
>> configure: error: /bin/sh '../../../rtems/tools/build/configure' failed for
>> tools/build
>>
>> Here is my path
>> [dave at localhost build-i386]$ echo $PATH
>> /opt/rtems-4.11/i386-rtems4.11:/opt/rtems-4.11/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/dave/.local/bin:/home/dave/bin
>>
>>
>>
>>
>> On 10/12/2013 03:21 AM, Ralf Corsepius wrote:
>>> On 10/12/2013 05:31 AM, dave wrote:
>>>> Hello;
>>>>
>>>> I switched to Fedora 19 from Ubuntu and loaded all build tools and the
>>>> loaded git source.
>>>>
>>>> I ran the bootstrap and got then got this error:
>>>>
>>>> ./bootstrap
>>>> .
>>>> Can't locate Thread/Queue.pm in @INC (@INC contains:
>>>> /opt/rtems-4.11/share/automake-1.13 /usr/local/lib64/perl5
>>>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
>>>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
>>>> /opt/rtems-4.11/bin/automake line 140.
>>>> BEGIN failed--compilation aborted at /opt/rtems-4.11/bin/automake line
>>>> 143.
>>>> autoreconf: automake failed with exit status: 2
>>>> grep: Makefile.in: No such file or directory
>>>> ./testsuites/libtests
>>> Definitely a packaging bug. I don't know the cause, yet - To be
>>> investigated.
>>>
>>> In the meantime, try
>>> # yum install 'perl(Thread::Queue)'
>>>
>>> Ralf
>>>
>>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users




More information about the users mailing list