-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure (unittests) on Solaris #17
Comments
AMDG On 05/04/2016 10:46 AM, Paul H. Hargrove wrote:
I don't know if this is the reason, but cmake_minimum_required(VERSION 2.8.12.2) In Christ, |
AMDG On 05/04/2016 10:46 AM, Paul H. Hargrove wrote:
This behavior is definitely non-conforming
It should probably be added in the source
In Christ, |
Re: cmake |
I see now that with configure I use --with-python= to set a full path to python2.7 (sys default is 2.6). |
AMDG On 05/04/2016 04:12 PM, Paul H. Hargrove wrote:
It's probably a cache variable. In Christ, |
AMDG On 05/04/2016 04:12 PM, Paul H. Hargrove wrote:
cmake -DPYTHON_EXECUTABLE=/path/to/python2.7 (Or you can edit CMakeCache.txt after In Christ, |
I tried -DPYTHON_EXECUTABLE=.... on the cmake command line, but it is apparently getting ignored. I cannot edit CMakeCache.txt after running cmake because cmake fails when it finds python 2.6. I am trying to mess with my $PATH instead |
NEVERMIND! |
I have spent as much time as I can trying to get Solaris builds using CMake. As for the reported issue with the failure to compile the unittests, I have not fixed it. This issue remains unresolved, since I am just avoiding it. |
AMDG On 05/05/2016 10:25 AM, Paul H. Hargrove wrote:
We'll need to solve it eventually, since
I'll look into it later. If you've gotten In Christ, |
On Solaris I see the errors an the bottom of the posting.
Clearly this is because something has defined
isnan
andisinf
to their__builtin
-prefixed equivalents.That "something" is the
math.h
header, and there is nothing I can see to prevent that definition.So, I think something like the following is needed:
but I am totally uncertain where that should be added.
Related:
Since I am using configure (not cmake) on the Solaris systems, I don't see a way to disable building the unit tests.
I do not recall at the moment why I am not using cmake, but I did install cmake-2.8.6 so there must be a reason I chose not to use it.
-Paul
The text was updated successfully, but these errors were encountered: