[CMake] Build from Source on Solaris

Matthew Gidden matthew.gidden at gmail.com
Wed Mar 2 05:23:00 EST 2016


Hi Marc, the last suggestion did it! I ended up using

../bootstrap --prefix=$HOME/.local -- -DCMake_NO_C_STANDARD=1
-DCMake_NO_CXX_STANDARD=1

Cheers,
Matt

On Wed, Mar 2, 2016 at 10:19 AM, CHEVRIER, Marc <marc.chevrier at sap.com>
wrote:

> Not only: see
> http://public.kitware.com/pipermail/cmake-developers/2015-September/026565.html for
> bootstrap.
>
> From: Matthew Gidden <matthew.gidden at gmail.com>
> Date: Wednesday 2 March 2016 at 10:17
> To: Marc CHEVRIER <marc.chevrier at sap.com>
> Cc: "cmake at cmake.org" <cmake at cmake.org>
> Subject: Re: [CMake] Build from Source on Solaris
>
> Hi Marc,
>
> Thanks for the swift reply. To the best that I can tell, that thread is
> dealing with trying to build a project using cmake. I'm trying to build
> cmake (i.e., ./bootstrap && make && make install). To note, I get something
> like the following errors (which are available in the gist).
>
> ```
> "/usr/include/iso/math_c99.h", line 697: Error: The function
> "__builtin_signbitl" must have a prototype.
> "/opt/solarisstudio12.4/lib/compilers/CC-gcc/include/c++/4.8.2/cmath",
> line 562: Error: std::fpclassify(float) already had a body defined.
> ```
>
> Cheers,
> Matt
>
>
> On Wed, Mar 2, 2016 at 9:54 AM, CHEVRIER, Marc <marc.chevrier at sap.com>
> wrote:
>
>> Hi,
>>
>> Some help can be found in this thread:
>> http://public.kitware.com/pipermail/cmake-developers/2015-September/026550.html
>>
>> Marc
>>
>> From: CMake <cmake-bounces at cmake.org> on behalf of Matthew Gidden <
>> matthew.gidden at gmail.com>
>> Date: Wednesday 2 March 2016 at 09:44
>> To: "cmake at cmake.org" <cmake at cmake.org>
>> Subject: [CMake] Build from Source on Solaris
>>
>> Hi all,
>>
>> I just tried to install from source on Solars 10 (sparc), on which make
>> failed. I have a gist here:
>> https://gist.github.com/gidden/7b9dc2d793ef3411debf
>>
>> My system info is:
>>
>> ```
>> t501:gidden> uname -a
>> SunOS t501 5.11 11.3 sun4v sparc sun4v
>> ```
>>
>> Any suggestions? I wasn't able to find sparc binaries... did I not look
>> hard enough?
>>
>> Thanks!
>>
>> Matt Gidden
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160302/cb1c04ad/attachment.html>


More information about the CMake mailing list