Пытаюсь ставить gcc из исходников в ответ получаю ошибки ниже я привел разные способы установки пакетов и ошибки при установках пакетов
=========Var1==========================================
cd /tmp/gcc-4.5.3
./configure --enable-languages=c,c++,fortran,java
make -j 4 && make install
--------OUTPUT-------------------------------------------------------
make[4]: Leaving directory '/tmp/gcc-4.5.3/i686-pc-linux-gnu/libgcc'
make[3]: Leaving directory '/tmp/gcc-4.5.3/i686-pc-linux-gnu/libgcc'
Makefile:15246: recipe for target 'all-stage1-target-libgcc' failed
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:19946: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:862: recipe for target 'all' failed
make: *** [all] Error 2
=========Var2==========================================
cd /tmp/gcc-4.5.3
./configure -v --build=i386-linux-gnu --host=i386-linux-gnu --target=i386-linux-gnu --prefix=/usr/local/gcc-4.5.3 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib --program-suffix=-4.5.3
make -j 4 && make install
--------OUTPUT-------------------------------------------------------
Makefile:370: recipe for target '_muldi3.o' failed
make[3]: *** [_muldi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/stdio.h:27:0,
from ../.././libgcc/../gcc/tsystem.h:87,
from ../.././libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:391:23: fatal error: gnu/stubs.h: No such file or directory
compilation terminated.
Makefile:370: recipe for target '_negdi2.o' failed
make[3]: *** [_negdi2.o] Error 1
In file included from /usr/include/stdio.h:27:0,
from ../.././libgcc/../gcc/tsystem.h:87,
from ../.././libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:391:23: fatal error: gnu/stubs.h: No such file or directory
compilation terminated.
Makefile:370: recipe for target '_lshrdi3.o' failed
make[3]: *** [_lshrdi3.o] Error 1
In file included from /usr/include/stdio.h:27:0,
from ../.././libgcc/../gcc/tsystem.h:87,
from ../.././libgcc/../gcc/libgcc2.c:29:
/usr/include/features.h:391:23: fatal error: gnu/stubs.h: No such file or directory
compilation terminated.
Makefile:370: recipe for target '_ashldi3.o' failed
make[3]: *** [_ashldi3.o] Error 1
make[3]: Leaving directory '/tmp/gcc-4.5.3/i386-linux-gnu/libgcc'
Makefile:15246: recipe for target 'all-stage1-target-libgcc' failed
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:18598: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:862: recipe for target 'all' failed
make: *** [all] Error 2
=========Var3==========================================
cd /tmp/gcc-4.5.3
./configure -v --build=i386-linux-gnu --host=i386-linux-gnu --target=i386-linux-gnu --prefix=/usr/local/gcc-4.5.3 --enable-checking=release --enable-languages=c,c++,fortran --disable-multilib --program-suffix=-4.5.3
#./configure --enable-languages=c,c++,fortran,java
make && checkinstall -y
--------OUTPUT-------------------------------------------------------
/usr/include/features.h:391:23: fatal error: gnu/stubs.h: No such file or directory
compilation terminated.
Makefile:370: recipe for target '_muldi3.o' failed
make[3]: *** [_muldi3.o] Error 1
make[3]: Leaving directory '/tmp/gcc-4.5.3/i386-linux-gnu/libgcc'
Makefile:15246: recipe for target 'all-stage1-target-libgcc' failed
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:18598: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/tmp/gcc-4.5.3'
Makefile:862: recipe for target 'all' failed
make: *** [all] Error 2
Те кто «в теме» подскажите как правильно поставить пакеты или исправить возникающие ошибки. P.S. Специально для борцов за размещение темы в соответствующем разделе - я уже пытался разместить пост в соотв разделе сайта нашел только один отклик, да и то не совсем в тему здесь откликов гораздо больше.
Перемещено hobbit из general