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
The problem is that installation on macOS via default ./configure fails if homebrew's libtiff and or fftw libraries are installed. Using homebrew's recipe works:
brew tap MRtrix3/mrtrix3
brew install mrtrix3
I also note that the configure script is running slightly differently - did you add the -v option yourself, or are the versions being compiled somehow different?
Here is the full homebrew environment, here the default one. Not sure how those get interpreted but this might be helpfull.
If I use Homebrew's path for the standard installation, ./configure fails as it can not find clang. Removing /usr/local/Homebrew/Library/Homebrew/shims/super brings us back to the linking error.
I think Homebrew's compiler flags are set in /usr/local/Homebrew/Library/Homebrew/shims/super/cc which I've uploaded: here.
ls -FGlAhp /usr/local/Homebrew/Library/Homebrew/shims/super
total 212K
-rwxr-xr-x 1 mp 160 Sep 20 2016 ant
-rwxr-xr-x 1 mp 407 Sep 20 2016 apr-1-config
-rwxr-xr-x 1 mp 78 Sep 20 2016 bsdmake
lrwxr-xr-x 1 mp 2 Sep 20 2016 c++ -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 c89 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 c99 -> cc
-rwxr-xr-x 1 mp 9.6K Mar 30 21:10 cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 clang -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 clang++ -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 cpp -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++ -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.2 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.3 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.4 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.5 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.6 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.7 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.8 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-4.9 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-5 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 g++-6 -> cc
lrwxr-xr-x 1 mp 2 Aug 5 13:07 g++-7 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.2 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.3 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.4 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.5 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.6 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.7 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.8 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-4.9 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-5 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 gcc-6 -> cc
lrwxr-xr-x 1 mp 2 Aug 5 13:07 gcc-7 -> cc
lrwxr-xr-x 1 mp 10 Sep 20 2016 git -> ../scm/git
lrwxr-xr-x 1 mp 4 Sep 20 2016 gmake -> make
lrwxr-xr-x 1 mp 2 Sep 20 2016 i686-apple-darwin11-llvm-g++-4.2 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 i686-apple-darwin11-llvm-gcc-4.2 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 ld -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 llvm-g++ -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 llvm-g++-4.2 -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 llvm-gcc -> cc
lrwxr-xr-x 1 mp 2 Sep 20 2016 llvm-gcc-4.2 -> cc
lrwxr-xr-x 1 mp 2 Feb 22 21:52 llvm_clang -> cc
lrwxr-xr-x 1 mp 2 Feb 22 21:52 llvm_clang++ -> cc
-rwxr-xr-x 1 mp 111 Aug 5 13:07 make
-rwxr-xr-x 1 mp 99 Sep 20 2016 mig
-rwxr-xr-x 1 mp 264 Sep 20 2016 pod2man
-rwxr-xr-x 1 mp 184 Sep 20 2016 sed
lrwxr-xr-x 1 mp 10 Sep 20 2016 svn -> ../scm/svn
-rwxr-xr-x 1 mp 1.2K Sep 20 2016 xcrun
The text was updated successfully, but these errors were encountered:
continuing the discussion from the forum:
The problem is that installation on macOS via default
./configure
fails if homebrew's libtiff and or fftw libraries are installed. Using homebrew's recipe works:@jdtournier Yes, for the default build I ran:
I also tried deployment targets 10.12 and 10.10 without success. Log is here.
default PATH:
PATH in homebrew's build environment:
Here is the full homebrew environment, here the default one. Not sure how those get interpreted but this might be helpfull.
If I use Homebrew's path for the standard installation, ./configure fails as it can not find clang. Removing
/usr/local/Homebrew/Library/Homebrew/shims/super
brings us back to the linking error.I think Homebrew's compiler flags are set in
/usr/local/Homebrew/Library/Homebrew/shims/super/cc
which I've uploaded: here.The text was updated successfully, but these errors were encountered: