-
Notifications
You must be signed in to change notification settings - Fork 68
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
mac build broken #991
Comments
See #988, I think that takes care of it. |
@doutriaux1 we had system python branch sitting there for weeks (we had to do it 😢 ). Hopefully the fix pushed by @jbeezley will take care of that issue. Also, note that it seems to be broken beforehand (looking at the changes). |
I just merged my 2.1.1 contributions branch into master and tried building under OSX 10.8.5. I encountered the following build error. Charles, is this the error you were referring to in #991? Is there a fix? TEST FAILED: You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was:
and your PYTHONPATH environment variable currently contains: '/Developer/Projects/EclipseWorkspace/uvcdat/master/build1/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages' From: Charles Doutriaux <[email protected]mailto:[email protected]> system python merge broke build on macs ( @aashish24https://github.com/aashish24 please do not do that again [:smile:] ) — |
I'm also seeing this build failure. Same log as Travis:
|
That is the error that #988 addresses. |
I merged the fix-pythonpath-apple branch into my branch and rebuilt. That seemed to fix the problem. |
building on my mac, if it works for me, will merge |
After building with the fix-pythonpath-apple branch merged I got an error on uvcdat startup complaining: No such file or directory: '…/install/share/vcs/wmo_symbols.json' There does not seem to be a ../install/share/vcs directory. |
I see it too. That means that now because we changed the PYTHONAPTH thing it gets installed somewhere else, will fix right away. |
The path it is using comes from here[1]. For one, that function should turn [1] https://github.com/UV-CDAT/uvcdat/blob/master/CMake/cdat_modules_extra/install.py.in#L267 |
ok it is fixed and now works for me. Can someone confirm it works for them as well and I will merge. |
It works on Travis. I also did |
ok merging then! |
New error:
|
The error is in this commit. |
Using the current master branch I get the following error when building on OSX 10.8.5: [ 87%] Performing install step for 'CDAT' CMake Error at /Developer/Projects/EclipseWorkspace/uvcdat/master/build1/CMake/cdat_python_install_step.cmake:27 (message): make[2]: *** [CDAT-prefix/src/CDAT-stamp/CDAT-install] Error 1 |
To save other people looking into it, I pushed #998 preliminarily. I'll update if the PR if it fixes the build. |
#998 works for me and it passes on travis. Please give that a try. |
Merging the branch escape-install-py fixes this issue for me. |
@doutriaux1 wanna add the bug label (for @chaosphere2112's readme: #913) |
system python merge broke build on macs ( @aashish24 please do not do that again 😄 )
PYTHONPATH isn't set correctly then pip/easy_install complains about PYTHONPATH not containing directory where we try to install packages.
The text was updated successfully, but these errors were encountered: