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
Pythia ./configure fails when building from source with installer #568
Comments
Did you run |
Hi @baagaard-usgs, thanks for the quick reply! Indeed, I have been sourcing the file as instructed. Ran the process from scratch just to be sure. I noticed that CPATH did not have the path to Here is my current env, after sourcing (along with my CPATH prepends):
|
I think I know the source of the problem. The error is not that CppUnit is not found, but that there is an error when it is trying to be used; you should be able to verify this in the |
@baagaard-usgs You are right, this is on a cluster that is still on centos7 at the moment. Apologies for not mentioning that. I have built gcc/6.2.0 along with openmpi/3.0.4 against that gcc and am using that for the build but only have it "loaded" by prepending PATH, CPATH, LD_LIBRARY_PATH and LIBRARY_PATH with the paths to the newer gcc binary, headers and libs. Is it possible part of this build is not picking up that gcc binary (and its deps) from the ENV? Also, CentOS 7 was shipped with GCC 4.8.5 but I believe GCC 4.8.1 was when C++11 was introduced? |
Try using |
Sorry, I meant |
I think I have passed that previous error but now running into an issue where it looks like
|
Well I went into $BUILD_ROOT/dependencies/Makefile and added quotes to CC so its |
This is fixed in the |
Good to know! I am now able to reproduce an issue where netcdf seems to be breaking. Its complaining about numpy but that is definitely installed in the prefix location?
I can try a build off the main branch if you would like? |
What happens if you start the Python interpreter ( |
Thought the same thing, sorry for not mentioning it but yeah numpy loads fine when using the python that was build by the install process. My PYTHONPATH in my environment points to the right place as well. I do not see PYTHONPATH being set in the dependencies/Makefile anywhere though? I did see PYTHON_SITEPKGS and PYTHON64_SITEPKGS though and tried appending the path to the site-packages where numpy lives, but alas no luck. |
Describe the bug
Looks like during the configuration of pythia, it is unable to find the cppunits header file even though it is looking in the right place and the header file looks fine.
To Reproduce
fresh build using
./configure --prefix=/home/software/pylith/3.0.3/ --with-make-threads=12 --enable-python --enable-force-install
Expected behavior
Successful build
Screenshots
N/A
Environment
Please provide the following information:
Additional context
Error during config:
I even tried tweaking the pythia config part of the Makefile to point to the file but no luck.
Let me know if I can provide any other info!!
Thanks!
The text was updated successfully, but these errors were encountered: