error: no acceptable C++-compiler found in $PATH (Нужна помощ начинающему)

Модератор: Модераторы разделов

filosov
Сообщения: 3

error: no acceptable C++-compiler found in $PATH

Сообщение filosov »

При установке програмы выдает


loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... no
checking for CC... no
checking for xlC... no
checking for DCC... no
configure: error: no acceptable C++-compiler found in $PATH
Спасибо сказали:
sergio
Сообщения: 436
Статус: Интересующийся новичок
ОС: Debian GNU/Linux 4 & 5

Re: error: no acceptable C++-compiler found in $PATH

Сообщение sergio »

checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for a C++-Compiler...
checking for g++... no
checking for CC... no
checking for xlC... no
checking for DCC... no
configure: error: no acceptable C++-compiler found in $PATH


Идете в свой менеджер пакетов и проверяете/ставите g++...
Debian GNU/Linux 4 -- AMD Athlon64 3000+ / Asus 7600GS -- Gnome
Debian GNU/Linux 5 -- Dell (Vostro) 500 (Celeron M560 / iGM965) -- Gnome
Спасибо сказали:
Аватара пользователя
Electronix
Сообщения: 53
ОС: Slackware, Suse, XP

Re: error: no acceptable C++-compiler found in $PATH

Сообщение Electronix »

Вызови консоль и набери g++ и энтер - если скажет что не знаю что это такое - то либо у тебя его действительно нет, либо у тебя он есть только называется как-нибудь типа g++-4.2.0, т.е. с указанием версии. Ищи его в том же каталоге что и gcc. Если найдешь просто создай симлинк с именем g++ и все. Если нет, то нужно установить - хотя думаю это и так понятно.
We have no beginning, we have no end. We are infinite.
Спасибо сказали:
filosov
Сообщения: 3

Re: error: no acceptable C++-compiler found in $PATH

Сообщение filosov »

G++ Нет.
Где его найти и установить?
Спасибо сказали:
sergio
Сообщения: 436
Статус: Интересующийся новичок
ОС: Debian GNU/Linux 4 & 5

Re: error: no acceptable C++-compiler found in $PATH

Сообщение sergio »

Хотя бы систему свою сообщите...
Debian GNU/Linux 4 -- AMD Athlon64 3000+ / Asus 7600GS -- Gnome
Debian GNU/Linux 5 -- Dell (Vostro) 500 (Celeron M560 / iGM965) -- Gnome
Спасибо сказали:
filosov
Сообщения: 3

Re: error: no acceptable C++-compiler found in $PATH

Сообщение filosov »

ASPLinux 11
Спасибо сказали:
jedai108
Сообщения: 93
ОС: *.deb

Re: error: no acceptable C++-compiler found in $PATH

Сообщение jedai108 »

Код: Выделить всё

configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


Centos5.4
Спасибо сказали: