You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK! I have used binary and I solved all missing libraries and seems AFNI works now! but if someone wants to compile from source that might be an issue!
I am trying to build AFNI for RHEL9 and I get an error not finding Xdbe.h which it does not exist in X11 extension folder in RHEL9, but when I add the library it gives another error!
Is it a right way to compile or I am missing something here?
build_afni.py -build_root ~/afni_build -git_branch master -package linux_centos_7_64
-- current AFNI: AFNI_24.0.09, linux_centos_7_64, Feb 28 2024
-- cleaning old build root dir, /root/afni_build
-- backing up dir build_src
-- preparing build_root dir, /root/afni_build
-- have default git tag LAST_TAG, will checkout AFNI_24.0.09
-- checking out git tag AFNI_24.0.09
-- using repo branch (detached), tag AFNI_24.0.09
-- removing old atlas dir, prev/afni_atlases_dist
-- moving old atlas dir afni_atlases_dist to prev/afni_atlases_dist
-- downloading AFNI atlas package, afni_atlases_dist.tgz
-- unpacking atlas package, afni_atlases_dist
-- removing old NiiVue backup, prev/niivue_afni.umd.js
-- moving old niivue niivue_afni.umd.js to prev/niivue_afni.umd.js
-- downloading NiiVue, niivue_afni.umd.js
-- preparing to run 'make' build of package linux_centos_7_64
-- copying README files
-- copying Makefile.linux_centos_7_64 to Makefile
-- building make target 'itall'
-- consider monitoring the build in a separate window with:
cd /root
tail -f /root/afni_build/build_src/log_make.txt
# use ctrl-c to terminate 'tail' command (not the build)
++ building (please be patient)...
** error: failed run_cmd: make AFNI_WHOMADEIT=build itall >& log_make.txt
-- status: building FAILURE
see 'make' log file /root/afni_build/build_src/log_make.txt
** error: tail from log_make.txt:
--------------------------------------------------
/bin/rm -f mri_drawing.o
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DDONT_USE_XTDESTROY -D_GNU_SOURCE -DREPLACE_XT -c mri_drawing.c -I. -I/usr/include -Icoxplot -Inifti/nifti2 -Inifti/niftilib -Inifti/nifticdf -Inifti/znzlib -I3DEdge/src -Irickr -Ileej3 -DHAVE_ZLIB -DHAVE_GIFTI -If2c
/bin/rm -f mri_coxplot.o
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DDONT_USE_XTDESTROY -D_GNU_SOURCE -DREPLACE_XT -c mri_coxplot.c -I. -I/usr/include -Icoxplot -Inifti/nifti2 -Inifti/niftilib -Inifti/nifticdf -Inifti/znzlib -I3DEdge/src -Irickr -Ileej3 -DHAVE_ZLIB -DHAVE_GIFTI -If2c
In file included from mri_coxplot.c:2:
coxplot/coxplot.h:19:12: fatal error: X11/extensions/Xdbe.h: No such file or directory
19 | # include <X11/extensions/Xdbe.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile.INCLUDE:1784: mri_coxplot.o] Error 1
--------------------------------------------------
-- shell/system command history is in:
/root/afni_build/hist_commands.txt
++ screen text history is in:
/root/afni_build/hist_messages.txt
The text was updated successfully, but these errors were encountered:
OK! I have used binary and I solved all missing libraries and seems AFNI works now! but if someone wants to compile from source that might be an issue!
I am trying to build AFNI for RHEL9 and I get an error not finding Xdbe.h which it does not exist in X11 extension folder in RHEL9, but when I add the library it gives another error!
Is it a right way to compile or I am missing something here?
The text was updated successfully, but these errors were encountered: