LFS - ругань GCC
Привет.
Играюсь с Linux From Scratch (кстати, показалось более перевариваемо чем
gentoo... на первый взгляд). Версия 5.0.
По докам, предлагается все делать не из-под рута, а из-под юзера...
"the begining is a good place to start"
Скачал binutils 2.14 (сырцы), распаковал, все под юзером, делаю как указано
в доке.
mkdir ../binutils-build
cd ../binutils-build
../binutils-2.14/configure --prefix=/tools --disable-nls
GCC ругается:
gcc: installation problem, cannot exec `as': Too many levels of symbolic
links
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Причем в дoках прямо указано, засунуть в .bash_profile, среди прочего:
unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD
Ладно, компилю под рутом.
../binutils-2.14/configure --prefix=/tools --disable-nls
прошло нормально, make install ругается:
/bin/sh ../binutils-2.14/mkinstalldirs /tools /tools
mkdir /tools
mkdir /tools
make: *** [installdirs] Error 1
(есть ../tools, на нее ln -s в /)
Я что-то не так читаю? Кто-нибудь собирал Linux From Scratch?
Reply to: