-
Notifications
You must be signed in to change notification settings - Fork 100
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
AFNI build fails with /bin/mv: cannot stat 'Dimon1': No such file or directory
#232
Comments
Hi @TheChymera. Strange. The error seems to be due to a missing selenium function in the /usr/local/libmri.a file. Was libmri.a compiled at the same time as the current Dimon1, or is it from some previous build? What Makefile are you using for this? Or is it via cmake? In any case, note that not only are we no longer distributing Dimon1, we may disable selenium in general (see -DSELENIUM_READY). But still, this error is puzzling. |
@afni-rickr
Any idea what I could try to do? maybe not patch out the |
Tried not patching I also tried with the newest tag, |
|
@TheChymera But it is still confusing, because without -DSELENIUM_READY, selenium_init() should never be called, and the variable is not in the build log, and the function does not exist in /usr/lib64/libmri.a. To see where the problem might be coming from, what is the output from: |
Oh, I am thinking that actually /usr/lib/libmri.a (which does not seem to be compiled in this particular build) was compiled with -DSELENIUM_READY, and so the build is failing because it is missing the python library (via -lpython2.7). For example, try: Does it show a match? |
Interestingly, the error only seems to occur if I try to downgrade from |
@TheChymera For me, a binary file works fine, showing "Binary file matches" (assuming there is something to match). So maybe that symbol is not there, as you say. You could try: |
@afni-rickr thanks for offering to look into this. In any case, Here are the full build logs:
|
@TheChymera These do not have any mention of SELENIUM, and the error is now regarding mcw_realloc. What OS, version and Makefile are you using? Maybe we could set up a build machine and Makefile that will work for you. |
The distribution is Gentoo Linux. I am using the |
@TheChymera Do you mean that you first "make" the libraries, then the executables later? That seems fine. I just mean that the libraries (like libmri) should always be updated with the rest of the programs (programs should be linked to currently built library). @leej3 did set up a cmake system, which he has been using. That might require a conda env (see tests/environment.yml). However this is not currently working for me. |
@TheChymera, I'd be delighted to help you transition to the cmake build if you are interested. I believe I used the student's work (Tharvik right?) along with the sustained efforts from the folks at neurodebian. It's been working very nicely for me for a little over a year (minus the R stuff which I never really figured out a stable set of dependencies for). There's various options that you can tweak for your purposes (mostly listed in this module). The development dependencies for AFNI should not be different from the make build. With that said, there are various packages that one can use for runtime binaries or libraries for dynamic linking instead of directly building from the source in the afni repository... such as f2c, gts, qhull, jpeg, glw (but see this), and hopefully at some point nifti and gifti. See the dockerfile for the cmake build for an example command to drive the build |
@leej3 |
@TheChymera |
I don't do a pre-install, but whenever I install a different version, obviously there will be the previous version on the system. To further clarify, going back to #232 (comment) — before I do “ |
@TheChymera Or is it being used for someone else writing and compiling new code? If not, there might be no reason to put that on the system. If you do want to install it though, the build process should be:
But to back up, is there any reason to install that under /usr/lib64? |
This being the full build.log.
The version is
20.1.16
. This worked before, so perhaps this is a dependency issue... Any ideas?The text was updated successfully, but these errors were encountered: