@*H BUT_C_SDialogs_DIA_PCKG_MINIMAL
This dialog identifies standard software tools required in Strap, that are not yet installed on the system.
Modern operation system have a package manager to facilitate software installations via command line.
Strap generates the appropriate command lines which can be pasted into the terminal application.
Depending on the relevance the software packages are bundled in three groups.
- Tools for installing open source software
-
HTMLDOC_TEXT_RSC:RSC_HELP_PCKG_NO_COMPILER
HTMLDOC_OS_MAC{On Mac OSX, a C++ compiler is part of Xcode. Fortran is not in Xcode.
If the precompiled TMalign executable does not work, consider to install gfortran.
}HTMLDOC_OS_MAC
- Tools for PDF generation and conversion
- LaTEX: Used for PDF export. If no LaTEX installation is found, LaTEX (Texlive) will be installed automatically from source code.
- Image conversion tools: Required for removing the white margin of the PDF and for conversion to SVG, EMF, PS, EPS or GIF for embedding in word processor documents or web pages.
- Less important
There is a bunch of programs which might be relevant only in certain situtations.
For ecample if an unexperienced user saves a sequence file in a word processor format rather than plain text the tools catdoc and odt2txt automatically convert the file.
#if CPP_WITH_MAC
HTMLDOC_OS_MAC{
Xcode
This is Mac OSX 10.HTMLDOC_TEXT:SYSP_MAC_OSX_VERSION.
The installation procedure has been tested for 10.7 and 10.11. Please report problems to christoph.gille@charite.de.
Open a terminal HTMLDOC_BUTTON:BUT_OPEN_UNIX_TERMINAL! and check whether c++ and make are already installed.
Type into the terminal c++. If it says "no input files" then c++ is installed. Otherwise it complains "command not found".
Enter the command make. The response "No targets ..." indicates that make is installed.
If both make and c++ are installed, nothing needs to be done.
Paste the following command lines:
HTMLDOC_TEXT:SYSP_SCRIPT_INSTALL_XCODE
If you are unable to access the download,
manually get it from https://developer.apple.com/downloads/index.action and install the package.
Finally, check c++ and make as described above.
Package managers for MacOSX
For Mac OSX there are four alternative package managers: Macports, Fink, Homebrew, Pkgin.
A comprehensive comparison of the 4 is here: https://apple.stackexchange.com/questions/32724/what-are-pros-and-cons-for-macports-fink-and-homebrew
The commands given below are for Macports HTMLDOC_JCOMPONENT:HTMLDOC_JC_PCKG_MACPORTS!.
For the other package managers, you need to change the install command and perhaps some package names.
}HTMLDOC_OS_MAC
#endif //CPP_WITH_MAC
Search PATH
PRG_NAME identifies missing software using the: HTMLDOC_BUTTON:BUT_DEBUG_EXE_SEARCH_PATH!.
See HTMLDOC_BUTTON:BUT_DEBUG_PCKG_LIST!
Administrator
Depending on your system, privileges to install software can be obtained by with su or using sudo (see https://wiki.debian.org/sudo).
sudo bash
or
su
A prompt sign # indicates root session - be careful!
*@