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

Comments

Projects
None yet
4 participants
@remram44
Contributor

remram44 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

remram44 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

williams13 commented Oct 10, 2014

I would like to try this from cmake.

Also the CDASH is not reporting tests.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Oct 10, 2014

@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

This comment has been minimized.

Contributor

williams13 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

aashish24 commented Oct 10, 2014

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

@williams13

This comment has been minimized.

Contributor

williams13 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

aashish24 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

williams13 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

remram44 commented Oct 10, 2014

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

@williams13

This comment has been minimized.

Contributor

williams13 commented Oct 10, 2014

Hi Remi,

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

@remram44

This comment has been minimized.

Contributor

remram44 commented Oct 10, 2014

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

This comment has been minimized.

Contributor

aashish24 commented Oct 10, 2014

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

This comment has been minimized.

Member

doutriaux1 commented Oct 10, 2014

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

This comment has been minimized.

Member

doutriaux1 commented Oct 15, 2014

fixed and in 2.0/master

@doutriaux1 doutriaux1 closed this Oct 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment