Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Build Percona Server 5.5.25a-rel27.1 on OpenIndiana

Received: by 10.224.96.8 with SMTP id f8mr8643006qan.7.1344975556210;
        Tue, 14 Aug 2012 13:19:16 -0700 (PDT)
X-BeenThere: percona-discussion@googlegroups.com
Received: by 10.229.106.201 with SMTP id y9ls1442769qco.8.gmail; Tue, 14 Aug
 2012 13:19:15 -0700 (PDT)
Received: by 10.224.219.205 with SMTP id hv13mr8717984qab.5.1344975555396;
        Tue, 14 Aug 2012 13:19:15 -0700 (PDT)
Received: by 10.224.180.16 with SMTP id bs16msqab;
        Tue, 14 Aug 2012 13:17:44 -0700 (PDT)
Received: by 10.52.23.145 with SMTP id m17mr1347621vdf.0.1344975464392;
        Tue, 14 Aug 2012 13:17:44 -0700 (PDT)
Date: Tue, 14 Aug 2012 13:17:43 -0700 (PDT)
From: Serge Fonville <serge.fonvi...@gmail.com>
To: percona-discussion@googlegroups.com
Message-Id: <9f749335-6399-4382-b7d1-727d8033d34e@googlegroups.com>
Subject: Build Percona Server 5.5.25a-rel27.1 on OpenIndiana
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1102_25098591.1344975463811"

------=_Part_1102_25098591.1344975463811
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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/build

  make[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
  1

  Building 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 cmTryCompileExec

  CC: 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.
------=_Part_1102_25098591.1344975463811--