Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
Short description of how to install Doxygen on sdf.
Doxygen installation guide: https://doxygen.nl/manual/install.html
The following steps illustrate how to apply these steps when installing Doxygen on sdf.
Download the source packages from https://www.graphviz.org/download/source/
wget https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/5.0.0/graphviz-5.0.0.tar.gz
Unpack the archive.
tar -xf graphviz-5.0.0.tar.gz
Navigate into the graphviz folder and create an install directory.
cd graphviz-5.0.0 mkdir install
Configure
./configure --prefix=/sdf/group/hps/users/your_username/path/to/graphviz/install
Make and install
make make install
Clone git repository or download source distribution
git clone https://github.com/doxygen/doxygen.git # OR wget https://www.doxygen.nl/files/doxygen-1.9.4.src.tar.gz tar -xf doxygen-1.9.4.src.tar.gz mv doxygen-1.9.4 doxygen
Navigate into Doxygen directory, and create build and install directories. Navigate into build directory.
cd doxygen mkdir install mkdir build && cd build
Set GCC and g++ to newer (non-default) versions
export CC=/your/gcc/installation/bin/gcc export CXX=/your/gcc/installation/bin/g++
Run cmake
path/to/your/cmake/3.22/bin/cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=../install/ ..
Make and make install
make -j4 # it will take forever otherwise make install
Modify your LD_LIBRARY_PATH and your PATH variable
# I would recommend adding this to your .bashrc export LD_LIBRARY_PATH=/your/gcc/installation/lib:/your/gcc/installation/lib64:$LD_LIBRARY_PATH export PATH=/sdf/group/hps/users/sgaiser/src/doxygen/doxygen/install/bin:$PATH # if you added this to your .bashrc, do source ~/.bashrc
Test if Doxygen has been installed successfully
doxygen -h