AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 19, 2013 10:45AM
I have no clue in gentoo but I guess emake is just a 'builder' which could invoke any command to build a package.
To build from our sources smth like this needs to be done

git clone git://git.debian.org/git/pkg-exppsy/afni.git
cd afni
QUILT_PATCHES=debian/patches quilt push -a # will apply all the patches under debian/patches, if no quilt do smth like
# cat debian/patches/series | while read p; do patch -p1 < debian/patches/$p; done
# to reverse the patches you could just git clean -dfx; git reset --hard or
# tac debian/patches/series | while read p; do patch -p1 -R < debian/patches/$p; done

at this point you should be able to configure and build AFNI with cmake happen you have all other build -dependencies installed. It should look like

mkdir build-custom; cd build-custom  # to do out-of-source build, optional
cmake  -DAFNI_SHOWOFF:STRING="=Gentoo-WhateverYouLikeToMention" \
    -DBUILD_WITH_INSTALL_RPATH:BOOL=ON \
    -DCMAKE_SKIP_RPATH:BOOL=OFF \
    -DCMAKE_INSTALL_RPATH:STRING="/usr/lib/afni/lib" \
    -DCMAKE_EXE_LINKER_FLAGS:STRING="$LDFLAGS -Wl,--no-undefined" \
    -DCMAKE_MODULE_LINKER_FLAGS:STRING="$LDFLAGS" \
    -DCMAKE_SHARED_LINKER_FLAGS:STRING="$LDFLAGS -Wl,--no-undefined" \
    -DAFNI_BUILD_LOCAL_NIFTICLIBS:BOOL=OFF \
    -DAFNI_BUILD_LOCAL_GIFTI:BOOL=OFF \
    -DAFNI_BUILD_LOCAL_3DEDGE3:BOOL=ON \
    -DAFNI_BUILD_WITH_LESSTIF2:BOOL=OFF \
    -DAFNI_BUILD_TESTS:BOOL=ON \
    -DAFNI_INSTALL_BIN_DIR:STRING=/lib/afni/bin \
    -DAFNI_INSTALL_LIB_DIR:STRING=/lib/afni/lib \
    -DAFNI_INSTALL_INCLUDE_DIR:STRING=/include/afni \
    -DAFNI_INSTALL_PLUGIN_DIR:STRING=/lib/afni/plugins \
    -DAFNI_INSTALL_SCRIPT_DIR:STRING=/share/afni/scripts \
    -DAFNI_INSTALL_PICS_DIR:STRING=/share/afni/pics \
    -DAFNI_INSTALL_POEMS_DIR:STRING=/share/afni/poems \
    -DAFNI_INSTALL_HTML_DIR:STRING=/share/afni/html \
    -DAFNI_INSTALL_ATLAS_DIR:STRING=/share/afni/atlases \
    -DBUILD_SHARED_LIBS:BOOL=ON \
    -DAFNI_BUILD_CORELIBS_ONLY:BOOL=OFF ..

which configures the build and generates the Makefiles. Then you are ready to do the build with

make

now.

In Debian source package all above configuration/build rules are specified in debian/rules if you would like to discover more, and e.g.
fakeroot debian/rules install

would configure/build/and install binaries under subdirectories of debian/.
fakeroot debian/rules binary
command on Debian systems would generate binary packages (.deb)
Subject Author Posted

Cannot compile AFNI on Gentoo machine

TheChymera September 10, 2013 07:40PM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 10, 2013 09:23PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 11, 2013 03:35PM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 11, 2013 03:59PM

Re: Cannot compile AFNI on Gentoo machine

Isaac Schwabacher September 11, 2013 03:59PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 11, 2013 10:07PM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 12, 2013 08:58PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 13, 2013 01:15AM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 13, 2013 08:10AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 15, 2013 12:44AM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 15, 2013 11:05AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 15, 2013 07:14PM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 16, 2013 09:09AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 17, 2013 12:31AM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 17, 2013 09:10AM

Re: Cannot compile AFNI on Gentoo machine

The Chymera September 18, 2013 08:48AM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 18, 2013 09:36AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 18, 2013 09:04PM

Re: Cannot compile AFNI on Gentoo machine

rick reynolds September 19, 2013 08:32AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 19, 2013 08:05PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 19, 2013 08:26PM

Re: Cannot compile AFNI on Gentoo machine

nick September 19, 2013 08:59PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 21, 2013 08:50AM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 21, 2013 08:56AM

Re: Cannot compile AFNI on Gentoo machine

yarikoptic September 18, 2013 01:37PM

Re: Cannot compile AFNI on Gentoo machine

TheChymera September 18, 2013 08:52PM

Re: Cannot compile AFNI on Gentoo machine

yarikoptic September 19, 2013 10:45AM