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
python build error #3
Comments
Does it make any difference if you leave off the -j4? This may be a Makefile dependency issue, and I might not have tested parallel builds of the Python config or build parts. |
No difference (this was the first thing I tried). |
Confirmed, I get the same behavior, which your workaround fixes. Does this patch solve the issue for you? diff --git a/Makefile b/Makefile
index f02388a..6e20d17 100644
--- a/Makefile
+++ b/Makefile
@@ -135,6 +135,7 @@ endif
# Special rules for pvaPy
pvaPy: host.pvaPy
+host.pvaPy: config.pvaPy
config.pvaPy: pvaPy/configure/RELEASE.local
pvaPy/configure/RELEASE.local: host.pvaClientCPP
$(MAKE) -C pvaPy configure $(PVAPY_CONFIG) I'd like to stop the subsequent python build from rebuilding all the other modules unnecessarily, but that's not trivial to do. Note that the EPICS_BASE argument is only required the first time you run make, you can leave it off of later runs. |
With this change the 'python' target runs configure (even for rebuilds). |
I can adjust the rules so that The bundleCPP/Makefile was designed to make life convenient for V4's users (especially beginners), not for its developers. For better control after |
This should be fixed in the 4.7.0 release. |
I'm not sure if this is an error in README.md or my reading of it. By my understanding the build process, including pvaPy, from a release tar should be
tar -xaf EPICS-CPP-4.6.0.tar.gz cd EPICS-CPP-4.6.0/ make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git python
However, it doesn't seem that the 'python' target runs the configure step for pvaPy. I find that the following does work.
tar -xaf EPICS-CPP-4.6.0.tar.gz cd EPICS-CPP-4.6.0/ make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git config.pvaPy make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git pvaPy
The error from the python target
The text was updated successfully, but these errors were encountered: