Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to compile the gcc version 2.95.3 on raspbian, I need it in order to compile the 2.6 kernel.

I'm following this tutorial, but when I get to the bootstrapping step, i get

make[1]: Entering directory '/home/pi/Desktop/gcc2/gcc-2-build/gcc'
cd ../../gcc-2.95.3/gcc; autoconf
/bin/sh: autoconf: not found
make[1]: *** [../../gcc-2.95.3/gcc/configure]
make[1]: Leaving directory '/home/pi/Desktop/gcc2/gcc-2-build/gcc'
make: *** [bootstrap] Error 2

What can I do?

share|improve this question
    
Why are you using GCC 2.95.3? This is a very old version of the compiler which is no longer supported. Is there some technical reason GCC 4.x will not work? –  DragonLord May 31 at 20:11
    
@DragonLord Yes there is. I get a lot of errors when I try to compile the kernel 2.6 with gcc 4, and many posts on SO say that you need gcc 2.95.3 in order to compile it. I'll try your answer ASAP –  Harlandraka May 31 at 23:05

1 Answer 1

up vote 1 down vote accepted
/bin/sh: autoconf: not found

You're missing autoconf, which is necessary to compile GCC. To continue, try installing it using the package manager:

# apt-get install autoconf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.