-
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
File collisions on AFNI install #558
Comments
This is the branch from which I'm building → https://github.com/TheChymera/afni/tree/packaging |
It was great to meet you in Hanover! It seems that the cmake build is a little different than the make build. We do not distribute mpeg_encode. If that is done in cmake, it could be turned off. But both whirlgif and libf2c.so are indeed being distributed. libf2c.so is probably important to distribute, because f2c is not run as part of the build. Those C files were made years ago now, based on the f2c version that is shipped. So while an external library might work fine, it also might not. It depends on how version-specific the code is in the converted C files. Our distributed binaries will look for the locally distributed library. I am not sure what cmake does with this. Thanks! |
Do you know how I could do this? I couldn't find any sort of mpeg
So it's not dynamically linked to by any other AFNI files, and I can drop it with the only consequence being that it itself is missing? What does it do by the way?
Can I stop it from being built at all? I mean I could just skip installing it, but why spend the time to build it then :) |
@afni-rickr thank you for the tips here, the package now builds without file conflicts 💛. Could you confirm that with the exception of I notice there is only one |
As discussed at the AFNI training event in Hanover, I've been trying to package AFNI. Based on @leej3 's work and a bit of my own, it now seems to build fine, even using a number of system libraries instead of bundling its own. However, at the end I get some file collisions.
This is the full build log → https://ppb.chymera.eu/2fee0a.log
And this is the snippet listing the collisions and what packages the already present files belong to (included at the end of the above log):
Do you know whether:
These are indeed the same files which are provided by those other listed packages? I am particularly wondering about
/usr/bin/whirlgif
— could it be AFNI and FSL are providing the same file?If so:
-DUSE_SYSTEM_GTS=ON
, but I see no such options for MPEG or libf2c.If not:
sed
in the source code without compromising AFNI function?The text was updated successfully, but these errors were encountered: