Проблема с MySQL 5.0.18

Софт под Linux, разные программы, но только связанные с Linux

Модератор: /dev/random

Phibus
Сообщения: 2

Проблема с MySQL 5.0.18

Сообщение Phibus »

Доброго дня всем. Трабла вот в чём. Пытаюсь поставить MySQL, набираю ./configure и получаю вот это:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: latin1, collation: latin1_swedish_ci; comp
iled in: latin1 latin1 utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C preprocessor... gcc -E
checking "C Compiler version"... "gcc gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
"
./configure: line 5140: g++: command not found
checking "C++ compiler version"... "g++ ./configure: line 5143: g++: command not
found"
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Кто поможет проблемку решить?
Спасибо сказали:
Аватара пользователя
bytex
Сообщения: 382
ОС: Kubuntu Linux 6.06

Re: Проблема с MySQL 5.0.18

Сообщение bytex »

Установи gcc-cpp и gcc-c++
Всё приходит с опытом.
Спасибо сказали:
Phibus
Сообщения: 2

Re: Проблема с MySQL 5.0.18

Сообщение Phibus »

А можно в меня ссылкой кинуть, где это скачать?
Спасибо сказали:
Аватара пользователя
bytex
Сообщения: 382
ОС: Kubuntu Linux 6.06

Re: Проблема с MySQL 5.0.18

Сообщение bytex »

Они должны быть в составе дистрибутива- попробуй поставить их через менеджер пакетов (yum в Red Hat/ASP/Fedora Core; rpmdrake в Mandriva/Mandrake; synaptic (фронтэнд консольного apt) в Debian).
Всё приходит с опытом.
Спасибо сказали:
vadiml
Сообщения: 446
ОС: fc12.x86_64

Re: Проблема с MySQL 5.0.18

Сообщение vadiml »

а что мешает качнуть с сайта уже собранный пакет? там многое собрано статически, что положительно сказывается на скорости.

ps я исходники качал только что бы в них покапаться
phenom x4 905e, asus m4a79 deluxe, 4 gb, ati x550, ati 4350, 2 x 17" LCD
Спасибо сказали: