Commit c9e856b37189a611e157f1174645a368a7fcf47e
1 parent
48b23a01
Add https certificate verification switch-off information to download page.
Showing
1 changed file
with
22 additions
and
9 deletions
doc/source/download.rst
| ... | ... | @@ -89,13 +89,27 @@ To clone the gammalib and ctools source codes, type |
| 89 | 89 | $ git clone https://cta-git.irap.omp.eu/gammalib |
| 90 | 90 | $ git clone https://cta-git.irap.omp.eu/ctools |
| 91 | 91 | |
| 92 | -This will create directories named gammalib and ctools under the current working | |
| 93 | -directory that will contain the gammalib and ctools source code. Before you are able | |
| 94 | -to compile the code you need to generate the configuration file using the | |
| 95 | -``autogen.sh`` script. Also make sure that you're actually on the devel branch of the git | |
| 96 | -repository. GammaLib and ctools can be compiled using the following | |
| 97 | -command sequence (the code will be installed into the ``/usr/local/gamma`` | |
| 98 | -directory): | |
| 92 | +This will create directories named gammalib and ctools under the current | |
| 93 | +working directory that will contain the gammalib and ctools source code. | |
| 94 | +In case that the cloning does not work you may try adding | |
| 95 | + | |
| 96 | +.. code-block:: bash | |
| 97 | + | |
| 98 | + $ export GIT_SSL_NO_VERIFY=true | |
| 99 | + | |
| 100 | +or | |
| 101 | + | |
| 102 | +.. code-block:: bash | |
| 103 | + | |
| 104 | + $ git config --global http.sslverify "false" | |
| 105 | + | |
| 106 | +before retrieving the code. | |
| 107 | +Before you will be able to compile the code you need to generate the | |
| 108 | +configuration file using the ``autogen.sh`` script. | |
| 109 | +Also make sure that you're actually on the devel branch of the git | |
| 110 | +repository. GammaLib and ctools can be compiled and configured using | |
| 111 | +the following command sequence (the code will be installed into the | |
| 112 | +``/usr/local/gamma`` directory): | |
| 99 | 113 | |
| 100 | 114 | .. code-block:: bash |
| 101 | 115 | |
| ... | ... | @@ -108,8 +122,7 @@ directory): |
| 108 | 122 | $ sudo make install |
| 109 | 123 | $ export GAMMALIB=/usr/local/gamma |
| 110 | 124 | $ source $GAMMALIB/bin/gammalib-init.sh |
| 111 | - $ cd .. | |
| 112 | - $ cd ctools | |
| 125 | + $ cd ../ctools | |
| 113 | 126 | $ git checkout devel |
| 114 | 127 | $ ./autogen.sh |
| 115 | 128 | $ ./configure | ... | ... |