This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem building gcc 4.9.2
- From: Jeremy Hall <jeremy dot m0jnx at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 12 Aug 2014 00:16:07 +0100
- Subject: Problem building gcc 4.9.2
- Authentication-results: sourceware.org; auth=none
>>checking whether to enable maintainer-specific portions of Makefiles... no
>>configure: creating ./config.status
>>/bin/bash: _tar: line 12: syntax error near unexpected token `('
>>/bin/bash: _tar: line 12: ` ?(-)*[cr]*f)'
>>/bin/bash: error importing function definition for `_tar'
>>config.status: creating Makefile
>I've never seen that error before, there should not be a call to tar
>being done there. It looks like something in your environment is
>causing the problem,
Thanks Jonathan,
You were correct about the environment. The kernel headers were missing.
I found the problem by chance - the system did an automatic update and
I noticed the kernel headers were being installed for some reason. I
tried the configure again and it worked.
Thanks,
Jeremy