Skip to content
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

CMOR doesn't build #786

Closed
remram44 opened this issue Oct 10, 2014 · 14 comments
Closed

CMOR doesn't build #786

remram44 opened this issue Oct 10, 2014 · 14 comments
Labels
Milestone

Comments

@remram44
Copy link
Contributor

Somehow the configure script for CMOR tries to get the version from Git, which prints:

fatal: Not a git repository (or any of the parent directories): .git

It also uses ls flags that are not available on OS X:

ls -x --width=10000 include/cdTime/*.h include/cdTime/cdunifpp/*.h
ls: illegal option -- -
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]

Then the configure script eventually fails with:

checking for uuid_create in -luuid... no
configure: error: Could not get a working uuid

although libuuid has been built and --with-uuid=.../install/Externals is passed to the script.

@remram44 remram44 added the Build label Oct 10, 2014
@remram44
Copy link
Contributor Author

Error for uuid (from config.log):

configure:4035: checking for uuid_create in -luuid
configure:4060: gcc -o conftest -g -O2   -lm  conftest.c -luuid   -I/Users/remirampin/Documents/programming/uvcdat/build-1b24f4ab/install/Externals/include  -L/Users/remirampin/Documents/programming/uvcdat/build-1b24f4ab/install/Externals/lib  -R/Users/remirampin/Documents/programming/uvcdat/build-1b24f4ab/install/Externals/lib -luuid    >&5
clang: error: unknown argument: '-R/Users/remirampin/Documents/programming/uvcdat/build-1b24f4ab/install/Externals/lib'
configure:4060: $? = 1

It doesn't look like any of this is portable to OS X.

@williams13
Copy link
Contributor

I would like to try this from cmake.

Also the CDASH is not reporting tests.

@doutriaux1
Copy link
Contributor

@remram44 did you manually turned ON CMOR? Yes CMOR doesn't work on Mac. I need to update the linkage since it moved to clang. So the question is did you turn ON CMOR manually or not? If post a patch ot enable CMOR on non apple for now.

@williams13
Copy link
Contributor

Is there a note somewhere that states that CMOR doesn't work on Mac? We should post this on the installation. I will try to rebuild without CMOR, but I will try to build with Matplotlib.

@aashish24
Copy link
Contributor

CMOR and Matplotlib (as designed) are not turned ON in default build.

@williams13
Copy link
Contributor

If is issue the command:

cmake –j4 CDATBUILDMODE=ALL

Will this turn on everything, except CMOR (since we know that CMOR doesn't work on Mac)?

@aashish24
Copy link
Contributor

Yes, CMOR should not be built even when you have CDAT_BUILD_MODE=ALL

@aashish24 aashish24 added this to the 2.1 milestone Oct 10, 2014
@williams13
Copy link
Contributor

cmake -j4 ../uvcdat -CDATBUILDMODE=ALL

Doesn't work in any case.

loading initial cache file DATBUILDMODE=ALL
CMake Error: Error processing file: DATBUILDMODE=ALL

If this doesn't work, then we should note this and CMOR options won't work for this release.

@remram44
Copy link
Contributor Author

The issue is that the option is there, I check it, reconfigure and it goes away...

@williams13
Copy link
Contributor

Hi Remi,

Are you building on a Mac? Charles states that there is a Clang problems for the Mac.

@remram44
Copy link
Contributor Author

Options disappearing can only be CMakeLists issues...

Looking at these, I see worrying things like this: 9b35295. The cdat_build_internal_* variables have been completely disabled!?

@aashish24
Copy link
Contributor

Okay.. I will have a look at it but I believe its a low priority. @doutriaux1 added cmor only for a very special purpose.

@doutriaux1
Copy link
Contributor

No it doesn’t turn it on, only if you request it, and I already have a patch for this so even requesting won’t build on mac.

@doutriaux1
Copy link
Contributor

fixed and in 2.0/master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants