ANTsX / ITKR

port of ITK to R
6 stars 14 forks source link

Issues Installing on RStudio with Mac OSX Catalina #52

Closed ethandennis81 closed 2 years ago

ethandennis81 commented 4 years ago

Here is the full script for my attempt at installing stnava/ITKR on my Mac OSX Catalina.

> devtools::install_github("stnava/ITKR") Skipping install of 'ITKR' from a github remote, the SHA1 (9bdd5f8e) has not changed since last install. Useforce = TRUE` to force installation

devtools::install_github("stnava/ITKR", force=TRUE) Downloading GitHub repo stnava/ITKR@master ✓ checking for file ‘/private/var/folders/5b/lr2fpf617kz3htdyxz2wq6hw0000gn/T/RtmpVbGhUi/remotes4e3029b702ce/stnava-ITKR-9bdd5f8/DESCRIPTION’ ... ─ preparing ‘ITKR’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘ITKR_0.5.3.2.0.tar.gz’

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1e708db2f5 Merge pull request #1706 from hjmjohnson/update-gdcm CMake Error at CMakeLists.txt:15 (cmake_minimum_required): CMake 3.10.2 or higher is required. You are running version 3.6.1

-- Configuring incomplete, errors occurred! libs clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -fPIC -Wall -g -O2 -c dummy.cpp -o dummy.o cd itkb && make -j 2 && make install && rm -rf ../itks \ && rm -rf CMakeFiles/ && rm -rf Modules/ && rm -rf CMakeTmp/ \ rm -f Makefile rm -rf Utilities/Doxygen make[1]: ** No targets specified and no makefile found. Stop. make: [libs] Error 2 ERROR: compilation failed for package ‘ITKR’

muschellij2 commented 4 years ago

See comment in the build

CMake 3.10.2 or higher is required. You are running version 3.6.1

Best, John

On Thu, May 21, 2020 at 8:13 PM ethandennis81 notifications@github.com wrote:

Here is the full script for my attempt at installing stnava/ITKR on my Mac OSX Catalina.

devtools::install_github("stnava/ITKR") Skipping install of 'ITKR' from a github remote, the SHA1 (9bdd5f8e) has not changed since last install. Use force = TRUE` to force installation

devtools::install_github("stnava/ITKR", force=TRUE) Downloading GitHub repo stnava/ITKR@master ✓ checking for file ‘/private/var/folders/5b/lr2fpf617kz3htdyxz2wq6hw0000gn/T/RtmpVbGhUi/remotes4e3029b702ce/stnava-ITKR-9bdd5f8/DESCRIPTION’ ... ─ preparing ‘ITKR’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ looking to see if a ‘data/datalist’ file should be added ─ building ‘ITKR_0.5.3.2.0.tar.gz’

  • installing source package ‘ITKR’ ... ** using non-staged installation via StagedInstall field Cloning into 'itks'... Updating files: 100% (15991/15991), done. Already on 'master' Your branch is up to date with 'origin/master'. Note: switching to '1e708db2f586997e408cfdc2cea5114ae5575892'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1e708db2f5 Merge pull request #1706 from hjmjohnson/update-gdcm CMake Error at CMakeLists.txt:15 (cmake_minimum_required): CMake 3.10.2 or higher is required. You are running version 3.6.1

-- Configuring incomplete, errors occurred! libs clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -fPIC -Wall -g -O2 -c dummy.cpp -o dummy.o cd itkb && make -j 2 && make install && rm -rf ../itks && rm -rf CMakeFiles/ && rm -rf Modules/ && rm -rf CMakeTmp/ rm -f Makefile rm -rf Utilities/Doxygen make[1]: ** No targets specified and no makefile found. Stop. make: [libs] Error 2 ERROR: compilation failed for package ‘ITKR’

  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/ITKR’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/ITKR’ Error: Failed to install 'ITKR' from GitHub: (converted from warning) installation of package ‘/var/folders/5b/lr2fpf617kz3htdyxz2wq6hw0000gn/T//RtmpVbGhUi/file4e30799d0175/ITKR_0.5.3.2.0.tar.gz’ had non-zero exit status`

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/stnava/ITKR/issues/52, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIGPLWDNZJSYVMWHF5R5UDRSW7TBANCNFSM4NHKJOJQ .