Привет, пацаны.
Пытаюсь собрать RHVoice на Centos 6.5. Ругается на старый компилятор C++
scons: Reading SConscript files ...
Mkdir("build/linux")
Checking whether the C compiler worksyes
Checking whether the C++ compiler worksno
The C++ compiler is not working
В логах следующее:
$ cat build/linux/configure.log
file /home/just/RHVoice/SConstruct,line 190:
Configure(confdir = build/linux/configure_tests)
scons: Configure: Checking whether the C compiler works
build/linux/configure_tests/conftest_0.c <-
|
|int main()
|{
| return 0;
|}
|
gcc -o build/linux/configure_tests/conftest_0.o -c -O2 -pthread -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DVERSION=\"0.5.1\" -I. -Isrc/include -Isrc/third-party/utf8 -Isrc/third-party/tclap -Isrc/third-party/sonic -Isrc/third-party/rapidxml -Isrc/third-party/mage -Isrc/third-party/hts_engine build/linux/configure_tests/conftest_0.c
scons: Configure: yes
scons: Configure: Checking whether the C++ compiler works
build/linux/configure_tests/conftest_1.cpp <-
|
|int main()
|{
| return 0;
|}
|
g++ -o build/linux/configure_tests/conftest_1.o -c -std=c++03 -O2 -pthread -DRHVOICE=1 -DPACKAGE=\"RHVoice\" -DVERSION=\"0.5.1\" -I. -Isrc/include -Isrc/third-party/utf8 -Isrc/third-party/tclap -Isrc/third-party/sonic -Isrc/third-party/rapidxml -Isrc/third-party/mage -Isrc/third-party/hts_engine build/linux/configure_tests/conftest_1.cpp
cc1plus: error: unrecognized command line option "-std=c++03"
scons: Configure: no
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Copyright (C) 2010 Free Software Foundation, Inc.
Это свободно распространяемое программное обеспечение. Условия копирования
приведены в исходных текстах. Без гарантии каких-либо качеств, включая
коммерческую ценность и применимость для каких-либо целей.
$ gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.