Changes

From XDSwiki
Jump to navigationJump to search
654 bytes added ,  16:15, 16 June 2021
m
→‎Mac OSX: add CCP4 dependency description
Line 1: Line 1:  +
      Line 77: Line 78:     
Attention: [[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (for Big Sur, the download has a size of about half a GB; the downloader is much too pessimistic about the time it takes).
 
Attention: [[generate_XDS.INP]] requires the [https://developer.apple.com/download/more/ Xcode command line tools] to be installed (free of charge): open a Terminal window, and enter <code>sudo xcode-select --install</code> (for Big Sur, the download has a size of about half a GB; the downloader is much too pessimistic about the time it takes).
 +
 +
Although CCP4 is not required by XDS itself, some of the programs (XDSSTAT, and MTZ file creation in XDSCONV) use CCP4 tools or libraries. Therefore, CCP4 should be installed. Open a Terminal and check the existence of the file .zprofile , and its content:<pre>
 +
kay@Kays-MacBook-Air-2018 ~ % ls -l .zprofile
 +
-rw-r--r--  1 kay  staff  107  7 Mär 09:41 .zprofile
 +
kay@Kays-MacBook-Air-2018 ~ % cat .zprofile
 +
source /Users/kay/.profile
 +
# Added by CCP4 package manager:
 +
. '/Applications/ccp4-7.1/bin/ccp4.setup-sh'
 +
</pre>If the file does not exist, create it with the contents indicated above; you have to adapt it to your user name and the CCP4 version.
    
Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile</code>)
 
Become familiar with the concept and ways to run commands as "root" - google "mac osx become root". All the installation tasks that are run in a Terminal window require root privileges, since some of the programs and their links are written to /usr/local/bin. (As an alternative that does not require root for installation, one may create a directory $HOME/bin and use that for the programs and links. That would also require modification of the $PATH, by a one-time <code>echo 'export PATH=$PATH:$HOME/bin' >> ~/.profile</code>)
2,512

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu