Failed to Install the Rgraphviz Dependency
Symptom
The error message "ERROR: compilation failed for package 'Rgraphviz'" is reported.

Key Process and Cause Analysis
During the MWAS Tools installation process, the AArch64 architecture is not identified because the guess files in the Rgraphviz_2.40.0 dependency are outdated.
Conclusion and Solution
Obtain the source code address of Rraphviz based on the error message. Download the Rraphviz source code to the server, decompress Rgraphviz_2.40.0.tar.gz, download the guess files again to overwrite the original files, and install the Rgraphviz from the source code again.
- Decompress the Rgraphviz_2.40.0.tar.gz source package.
tar xvf Rgraphviz_2.40.0.tar.gz
- Go to the directory generated after the decompression.
cd Rgraphviz
- Delete the guess files.
rm -rf ./src/graphviz/config/config.guess rm -rf ./src/graphviz/libltdl/config/config.guess
- Download the guess files and rename them.
wget "http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD" -O config.guess
- Copy the files.
cp ./config.guess ./src/graphviz/config/ cp ./config.guess ./src/graphviz/libltdl/config/
- Delete Rgraphviz_2.40.0.tar.gz.
cd .. rm -rf Rgraphviz_2.40.0.tar.gz
- Package the files.
tar czvf Rgraphviz_2.40.0.tar.gz Rgraphviz
- Perform the installation.
R CMD INSTALL Rgraphviz_2.40.0.tar.gz
If the command output contains "DONE (Rgraphviz)", the installation is successful.

Parent topic: Troubleshooting