Hi,I was looking into Percona Server as a database solution.
So I downloaded Percona-Server-5.5.25a-rel27.1.tar.gz.From what I could find I need to run cmake . in the extracted directory.
When I run this, I get the following errors.
-- The CXX compiler identification is SunPro
-- Check for working CXX compiler: /opt/sunstudio12.1/bin/CC
-- Check for working CXX compiler: /opt/sunstudio12.1/bin/CC -- broken
CMake Error at /usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):
The C++ compiler "/opt/sunstudio12.1/bin/CC" is not able to compile a
simple test program.It fails with the following output:
Change Dir: /export/home/install/Percona-XtraDB-Cluster-5.5.24/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/opt/dtbld/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/buildmake[1]: Entering directory
`/export/home/install/Percona-XtraDB-Cluster-5.5.24/CMakeFiles/CMakeTmp'/usr/bin/cmake -E cmake_progress_report
/export/home/install/Percona-XtraDB-Cluster-5.5.24/CMakeFiles/CMakeTmp/CMakeFiles
1Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o
/opt/sunstudio12.1/bin/CC -o
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c
/export/home/install/Percona-XtraDB-Cluster-5.5.24/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1/opt/sunstudio12.1/bin/CC -KPIC
CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExecCC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section
[9].rela.annotate has invalid type [ SHT_RELA ]make[1]: *** [cmTryCompileExec] Error 1
make[1]: Leaving directory
`/export/home/install/Percona-XtraDB-Cluster-5.5.24/CMakeFiles/CMakeTmp'gmake: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:93 (PROJECT)
-- Configuring incomplete, errors occurred!
What would the next step be in troubleshooting?Thanks a lot in advance.