<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Thibaut,<div class=""><br class=""></div><div class="">there must be something else in your environment: I chmod’ed my /tmp to 770, added a new user, checked that we cannot access /tmp, and successfully compiled openssl-1.1.1h on a test machine. The reason could lie somewhere else than /tmp.</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 28.10.2020 um 13:13 schrieb Thibaut Appel <<a href="mailto:t.appel17@imperial.ac.uk" class="">t.appel17@imperial.ac.uk</a>>:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div class=""><p class="">Dear Harald,</p><p class="">Thank you for your answer.</p><p class="">In fact my environment variable TMPDIR was already set to an
      appropriate folder, in my bash environment.</p><p class="">Did you mean it is meant to be set somewhere else at build or
      install time?<br class="">
    </p><p class="">Output of <tt class="">perl --version</tt> gives me: <tt class="">This is perl 5,
        version 16, subversion 3 (v5.16.3) built for
        x86_64-linux-thread-multi</tt><br class="">
    </p><p class="">I did try to change the hard-coded '/tmp' occurences in
      unix-Makefile.tmpl to the said folder, and it gave me something
      like:</p><p class=""><tt class="">ar: /my/dir/lib/libcrypto.so: file format not recognized</tt><br class="">
    </p><p class="">Is there anything else I can try?</p><p class=""><br class="">
    </p><p class="">Thibaut</p><p class=""><br class="">
    </p>
    <div class="moz-cite-prefix">On 28/10/2020 13:00, Harald Koch wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:72859398-7380-40C3-A699-4167F98108F5@c-works.net" class="">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
      <table class="MsoNormalTable" style="mso-cellspacing: 0cm;
        mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 0cm 0cm 0cm" cellspacing="0" cellpadding="0" border="1">
        <tbody class="">
          <tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes;
            mso-yfti-lastrow: yes" class="">
            <td style="BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0;
              BACKGROUND: #ffffcc; BORDER-BOTTOM: #f0f0f0;
              PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm; PADDING-LEFT: 0cm;
              BORDER-LEFT: #f0f0f0; PADDING-RIGHT: 0cm" wrap="" class=""><div style="margin: 0cm 0cm 0pt;" class=""><span style="FONT-SIZE: 12pt; FONT-FAMILY:
                  "Arial",sans-serif" class=""><font size="2" class="">This
                    email from <a class="moz-txt-link-abbreviated" href="mailto:root@c-works.net">root@c-works.net</a> originates from outside
                    Imperial. Do not click on links and attachments
                    unless you recognise the sender. If you trust the
                    sender, add them to your <a href="https://spam.ic.ac.uk/SpamConsole/Senders.aspx" moz-do-not-send="true" class="">safe senders list</a> to
                    disable email stamping for this address. </font></span></div>
            </td>
          </tr>
        </tbody>
      </table><div class=""> <br class="webkit-block-placeholder"></div>
      Hello Thibaut,
      <div class=""><br class="">
      </div>
      <div class="">I assume due to the name prefix „ar“ that an archive
        wants to be created via program „ar“. According to its man page,
        you can set the environment variable TMPDIR to your required
        value. Try this.</div>
      <div class=""><br class="">
      </div>
      <div class="">(from „man ar“):</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">ENVIRONMENT</div>
        <div class="">     TMPDIR  The pathname of the directory to use
          when creating temporary files.</div>
        <div class=""><br class="">
        </div>
        <div class="">Regards,</div>
        <div class="">Harald</div>
        <div class=""><br class="">
          <blockquote type="cite" class="">
            <div class="">Am 28.10.2020 um 09:48 schrieb Thibaut Appel
              <<a href="mailto:t.appel17@imperial.ac.uk" class="" moz-do-not-send="true">t.appel17@imperial.ac.uk</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <div class=""><p class="">Dear OpenSSL users,</p><p class="">I uncovered a potential issue affecting the
                  installation of OpenSSL from source, in the case the
                  user is not allowed to write in the /tmp folder.</p><p class="">I'm trying to install on a cluster where
                  permissions to '/tmp' is restricted.<br class="">
                </p><p class="">Is there an environment variable designed to
                  tell 'make install' to NOT use /tmp?</p><p class="">My $TMP environment variable points to a
                  different folder. The result of:<br class="">
                </p><p class=""><font class="" size="-1"><tt class="">./config
--prefix=/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h</tt><tt class=""><br class="">
                    </tt><tt class="">make && make install</tt></font></p><p class=""><font class="" size="-1"><tt class="">install
                      libcrypto.a ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.a</tt><tt class=""><br class="">
                    </tt><tt class="">install libssl.a ->
                      /rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libssl.a</tt><tt class=""><br class="">
                    </tt><tt class="">link
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so
                      ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so.1.1</tt><tt class=""><br class="">
                    </tt><tt class="">install libcrypto.so ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so</tt><tt class=""><br class="">
                    </tt><tt class="">install libcrypto.so.1.1 ->
/rds/general/user/home/.linuxbrew/Cellar/openssl@1.1/1.1.1h/lib/libcrypto.so</tt><tt class=""><br class="">
                    </tt><b class=""><tt class="">mkdir: cannot create
                        directory '/tmp/ar.12361': Permission denied</tt></b><tt class=""><br class="">
                    </tt><tt class="">make: *** [install_dev] Error 1</tt></font><br class="">
                </p><p class="">Is there something I'm missing? How can this
                  be circumvented?</p><p class="">Thanks,</p><p class="">Thibaut</p><p class=""><br class="">
                </p>
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
      </div>
    </blockquote>
  </div>

</div></blockquote></div><br class=""></div></body></html>