Package Details: afni 21.1.08-1

Git Clone URL: https://aur.archlinux.org/afni.git (read-only, click to copy)
Package Base: afni
Description: An open-source environment for processing and displaying functional MRI data
Upstream URL: http://afni.nimh.nih.gov
Licenses: custom
Submitter: crmullins
Maintainer: liamtimms
Last Packager: liamtimms
Votes: 1
Popularity: 0.000000
First Submitted: 2016-06-29 01:28
Last Updated: 2021-08-09 02:38

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2021-08-08 21:02

Hi, I have the following error:

znzlib -I../3DEdge/src -I../rickr -IGLUT -I../f2c -I.. -I../niml -I../coxplot -I../ptaylor   -c -o glut_input.o glut_input.c
glut_input.c:21:10: fatal error: X11/extensions/XInput.h: No such file or directory
   21 | #include <X11/extensions/XInput.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [<builtin>: glut_input.o] Error 1
make[2]: Leaving directory '/tmp/makepkg/afni/src/afni-AFNI_21.1.08/src/SUMA/GLUT/libglut'
/usr/bin/ranlib: 'libglut.a': No such file
/bin/cp: cannot stat 'libglut.a': No such file or directory
make[1]: *** [SUMA_Makefile_NoDev:790: libglut.a] Error 1
make[1]: Leaving directory '/tmp/makepkg/afni/src/afni-AFNI_21.1.08/src/SUMA'
/bin/cp: cannot stat 'SUMA/libSUMA.a': No such file or directory
/bin/cp: cannot stat 'SUMA/libSUMA.a': No such file or directory
make: *** [Makefile.INCLUDE:3721: libSUMA.a] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: afni

liamtimms commented on 2021-07-02 16:50

@keiichiiownsu12 thanks I generally only use the CLI and haven't done any GUI testing. If you figure out what is causing those segfaults and how to fix them I'd gladly add you as a co-maintainer. For question about python2 and python3 there's a concept in Arch to handle that called "split packages" which can provide both versions, however I haven't tested or looked at whether that actually makes sense here.

keiichiiownsu12 commented on 2021-07-01 00:04

@liamtimms some afni python programs are able to open a GUI (e.g. uber_ttest.py), but they require python-pyqt4 as a dependency. Maybe you can include it as an optional dependency? (or a similar package). Though some GUI python commands (e.g. uber_subject.py) segfault when run... Maybe there is a package that can work for BOTH python3 and python2?

More of an advisory: most python programs appear to be written in python2 (for whatever reason). Python3 compatibility seems to be...variable for most. If you run into problems, just execute them with a python2 interpreter python2 `which <cmd>.py`

kcdah commented on 2021-05-06 23:01

Oh geez my bad, yes that did it @keiichiiownsu12. Thanks so much!

keiichiiownsu12 commented on 2021-05-05 22:00

@liamtimms the first atlas tar.gz file I linked is ~134 M uncompressed. Might be better to include as a separate package. However, things get a little dicey, since the atlas_latest.tar.gz file does not contain all atlases included in the normal binary package. and unfortunately afni doesn't exactly say which file is preferred...I'll do some more digging if you like me to find out.

keiichiiownsu12 commented on 2021-05-05 21:47

@kcdad have you added afni to your path? if you type export PATH=$PATH:/opt/afni, are you able to run the afni command?

kcdah commented on 2021-05-05 20:31

I'm sorry, I must be doing something obviously wrong. But after I install this, I cannot get afni to start (afni is not seen as a command). I tried to follow steps on the afni website seen on other installations (installed R, for example) but it is not clear to me what else I need to do in order to get afni to be a command and get the program to start. Thanks for the help.

liamtimms commented on 2021-05-05 15:50

@keiichiiownsu12 cheers, thanks. Do you think it would make more sense to try to include these in the default install from this AUR PKGBUILD or in a separate PKGBUILD? How much disk space are they taking after install (and unpacking?) on your machine?

For reference, here is the Neurodebian package I mentioned: https://neuro.debian.net/pkgs/afni-atlases.html?highlight=afni

The Arch "KISS" approach seems to imply these should probably be included here rather than separated out but if they end up being too massive it might make sense to keep them separate.

keiichiiownsu12 commented on 2021-05-05 03:25

REALLY wish they'd make this easier to find...: link to other atlas files

keiichiiownsu12 commented on 2021-05-02 23:33

@liamtimms looks like it's much simpler than either of us thought. There is a file called "atlases_latest", found here. After the files are extracted, if one places them in /opt/afni (or whichever location afni binaries are stored), the atlases are immediately available for use.