Package Details: fsl 6.0.1-2

Git Clone URL: https://aur.archlinux.org/fsl.git (read-only)
Package Base: fsl
Description: A comprehensive library of analysis tools for FMRI, MRI and DTI brain imaging data
Upstream URL: http://www.fmrib.ox.ac.uk/fsl/
Licenses: custom
Submitter: fishburn
Maintainer: tobac
Last Packager: tobac
Votes: 9
Popularity: 0.000827
First Submitted: 2012-07-02 23:36
Last Updated: 2019-03-23 10:16

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

fishburn commented on 2012-12-08 01:51

@carpenoctem
Sorry, try this one instead (same spot):
sed -i "s^-m64^^g" "${FSLDIR}/config/${FSLMACHTYPE}/systemvars.mk"

fishburn commented on 2012-12-08 01:35

@carpenoctem
Try adding this line after line 22 (which should say "fi"):

sed -i "/ARCHFLAGS = -m64/d" "${FSLDIR}/config/${FSLMACHTYPE}/systemvars.mk"

Let me know if it compiles after adding this to the PKGBUILD.

fishburn commented on 2012-12-08 01:35

@carpenoctem
Try adding this line after line 21 (which should say "fi"):

sed -i "/ARCHFLAGS = -m64/d" "${FSLDIR}/config/${FSLMACHTYPE}/systemvars.mk"

Let me know if it compiles after adding this to the PKGBUILD.

Anonymous comment on 2012-12-05 16:23

I still can't get it to compile.

I tried to change the line
"cp -r "${FSLDIR}/config/[...]" "${FSLDIR}/config/${FSLMACHTYPE}""
to "linux_32-gcc4.7" and others without results. At the moment I'm a bit busy (until monday at least), so I didn't look into it, but in build.log I saw that somehow gcc is still trying to compile with the -m64 flag.
Maybe the reason is that I'm on a 32 bit system, but my CPU is 64 bit (this system is almost two years old, I remember I did this for a reason but I don't remember what it was). If I can't get it to build I'll probably reinstall a 64 bit system.

Anonymous comment on 2012-12-04 20:05

Thank you cornholio! I'll try to fiddle with the PKGBUILD tonight or tomorrow.

fishburn commented on 2012-12-04 20:04

@sftrydtry @twistane,

Interesting, Line 24 of the PKGBUILD attempts to do exactly that, using sed. I wonder if that command is failing for both of you for some reason.

fishburn commented on 2012-12-04 20:00

Ah, this may be a problem with the config file not being set up for i686.

The problem lies with line 21:
cp -r "${FSLDIR}/config/linux_64-gcc4.4" "${FSLDIR}/config/${FSLMACHTYPE}

I cannot investigate further right now, but it might be just a simple tweak in that file to allow x86 compilation. Please report back if you get it working or I will patch the PKGBUILD for it when I have more time.

fishburn commented on 2012-12-04 19:59

Ah, this may be a problem with the config file not being set up for i686.

The problem lies with line 20:
cp -r "${FSLDIR}/config/linux_64-gcc4.4" "${FSLDIR}/config/${FSLMACHTYPE}

I cannot investigate further right now, but it might be just a simple tweak in that file to allow x86 compilation. Please report back if you get it working or I will patch the PKGBUILD for it when I have more time.

Anonymous comment on 2012-12-04 19:31

Thank you for your answer, cornholio.

* output of gcc -m64 -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)

* Output of g++ -v:

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.7.2/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)

* Output of uname -a

Linux arch-box 3.6.8-1-ARCH #1 SMP PREEMPT Tue Nov 27 07:58:01 CET 2012 i686 GNU/Linux

Arch is i686, but I thought I could build it since in PKGBUILD I saw "arch=("i686" "x86_64")".

Thank you!

fishburn commented on 2012-12-04 19:24

@carpenoctem
Wow, that is an impressive list of errors. My guess would be that your version of gcc doesn't support 64-bit. What version of gcc are you using (output of `gcc -v` and `g++ -v`)? Also, what do you get for `uname -a`?