@worlxxaker
Просто мировой хакер, и все.

Почему не работает gcc в sabayon?

Не работает gcc, хотел ядро собрать, а даже сконфигурировать не могу
make nconfig
  HOSTCC  scripts/basic/fixdep
gcc-config: error: could not run/locate 'gcc'
scripts/Makefile.host:91: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:439: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2

попытался установить сболее старую версию
sudo equo install gcc-4.4.7 --ask
╠  @@ Calculating dependencies...
╠  @@ These are the packages that would be installed:
╠  ## [N] [sabayon-weekly] sys-devel/gcc-4.4.7|2
╠  @@ Packages needing to be installed/updated/downgraded: 1
╠  @@ Packages needing to be removed: 0
╠  @@ Packages needing to be installed: 1
╠  @@ Packages needing to be reinstalled: 0
╠  @@ Packages needing to be updated: 0
╠  @@ Packages needing to be downgraded: 0
╠  @@ Download size: 107.5MB
╠  @@ Used disk space: 434.4MB
╠  @@ You need at least: 649.4MB of free space
     Would you like to continue ? [Yes/No] Yes
╠  @@ You need to accept the licenses below:
╠     :: License: FDL-1.2+, needed by:
╠      # [from:sabayon-weekly] sys-devel/gcc-4.4.7
╠     Please select an option
╠       (1) Read the license
╠       (2) Accept the license (I've read it)
╠       (3) Accept the license and don't ask anymore (I've read it)
╠       (0) Quit
       Your choice (type a number and press enter): 3
╠  ::: >>>  (1/1) 1 package
╠    ## Downloading: 1 package
╠    ## ( mirror #1 ) [sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2] @ http://mirror.umd.edu
╠   ## Aggregated download: 1 item
╠    # [1] mirror.umd.edu => sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2
╠    ## Checking package checksum...
╠       : [sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2] GPG validated
╠       : SHA1 disabled
╠       : [sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2] SHA256 validated
╠       : SHA512 disabled
╠    ## ( mirror #1 ) [sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2] success @ http://mirror.umd.edu
╠    ##  Aggregated transfer rate: 765.8kB/second
╠  +++ >>>  (1/1) sys-devel/gcc-4.4.7
╠    ## Unpacking: sys-devel:gcc-4.4.7.f3a5114f66b70d2d688115d65a67ddb9785e1935~2.tbz2
╠    ## Package phase: setup
╠    ## Installing package: sys-devel/gcc-4.4.7
╠    ## [The GNU Compiler Collection]
╠    ## Updating installed packages repository: sys-devel/gcc-4.4.7
╠    ## Package phase: postinstall
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config x86_64-pc-linux-gnu-4.4.7
 * source /etc/profile

 * Switching native-compiler to x86_64-pc-linux-gnu-4.8.4 ...
 * The GCC compiler for x86_64-pc-linux-gnu is not installed.
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
>>> Regenerating /etc/ld.so.cache...                                                                                                                                  [ ok ]

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml

╠    ## Cleaning: sys-devel/gcc-4.4.7
╠  @@ Installation complete.
╠  @@ No configuration files to update.
  • Вопрос задан
  • 586 просмотров
Пригласить эксперта
Ответы на вопрос 1
reli
@reli
Python-devel
Попробуй проверить наличие самого gcc, либо может вместо этого Sabayon использует clang(то в make.conf понадобится прописать по дефолту компиллер именно его), либо же в stage3 не было компиллера.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы