Страница 1 из 1

FreeBSD 8.1 make install pkg-1.5.4 - C compiler cannot create executables

Добавлено: 2015-06-25 15:02:42
manfredi
После нескольких лет не троганья сервера решил обновить пыху
перед этим обновил дерево портов нашел пыху пытюсь ставить мне в ответ
To switch to pkg:
1) Install ports-mgmt/pkg
cd ports-mgmt/pkg && make UPGRADEPKG=1 install clean
2) Convert your package database by running pkg2ng
Пытаюсь поставить # make UPGRADEPKG=1 install clean
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.5.4 for building
===> Extracting for pkg-1.5.4
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.5.4 for building
=> SHA256 Checksum OK for pkg-1.5.4.tar.xz.
===> Patching for pkg-1.5.4
===> Configuring for pkg-1.5.4
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc49
checking whether the C compiler works... no
configure: error: in `/usr/ports/ports-mgmt/pkg/work/pkg-1.5.4':
configure: error: C compiler cannot create executables

See `config.log' for more details
===> Script "configure" failed unexpectedly.
Please report the problem to pkg@FreeBSD.org [maintainer] and attach the
"/usr/ports/ports-mgmt/pkg/work/pkg-1.5.4/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/ports/ports-mgmt/pkg/work/pkg-1.5.4/src/pkg-static info -g -Ea).
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1

gcc системы 4.2

через pkg_add поставил рядышком gcc49, make.conf выставил его же
Все равно тажа ерунда

Что делать ?

FreeBSD 8.1 make install pkg-1.5.4 - C compiler cannot create executables

Добавлено: 2015-06-25 16:03:04
guest
обновиться до 8.4 / EOL June 30, 2015 (прим 9.3 EOL December 31, 2016) и обдумать нижнее.

лучше взять диск и на свободной машине установить 10.1, все что нужно из портов
и заменить 8.1 на новую систему.

FreeBSD изменения: убран gcc с инструментарием, заменен на clang/llvm, соответственно
изменен make, под него инструментарий для портов и порты.

FreeBSD 8.1 make install pkg-1.5.4 - C compiler cannot create executables

Добавлено: 2017-01-07 1:22:25
SE
Аналогичный протест решился через

"make rmconfig"

С опциями перемудрил.