title: Getting cp cannot create regular file No such file or directory in openssl
body: <p>I am getting the below errors when trying to compile the openssl code. Getting below error during "make install" step. Please let me know if anyone resolved this issue. Google search has links but are pointing to an unresolved issue "<a href="http://marc.info/?l=openssl-users&amp;m=121239973214424" rel="nofollow noreferrer">http://marc.info/?l=openssl-users&amp;m=121239973214424</a>"</p>
  
  <pre><code>making install in crypto...
  make[1]: Entering directory `/home/test/openssl-1.0.1f/crypto'
  cp: cannot create regular file `./../libs/armeabi/include/openssl/crypto.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/crypto.h': No such file or directory
  cp: cannot create regular file `./../libs/armeabi/include/openssl/opensslv.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/opensslv.h': No such file or directory
  cp: cannot create regular file `./../libs/armeabi/include/openssl/opensslconf.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/opensslconf.h': No such file or directory
  cp: cannot create regular file `./../libs/armeabi/include/openssl/ebcdic.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/ebcdic.h': No such file or directory
  cp: cannot create regular file `./../libs/armeabi/include/openssl/symhacks.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/symhacks.h': No such file or directory
  cp: cannot create regular file `./../libs/armeabi/include/openssl/ossl_typ.h': No such file or directory
  chmod: cannot access `./../libs/armeabi/include/openssl/ossl_typ.h': No such file or directory
  make[1]: *** [install] Error 1
  make[1]: Leaving directory `/home/test/openssl-1.0.1f/crypto'
  make: *** [install_sw] Error 1
  test@ubuntu:~/openssl-1.0.1f$ 
  </code></pre>
  
  <p>I went through this <a href="https://stackoverflow.com/questions/20936531/error-cp-cannot-create-regular-file-no-such-file-or-directory">Error cp: cannot create regular file &quot;&quot;: no such file or directory</a>. But, there as script file was written by him. He got a chance to change the file. But, how to do in-case of openssl?</p>
  
  <p>I configured openssl like this</p>
  
  <pre><code>./Configure android shared --prefix=./../libs/armeabi --openssldir=openssl
  </code></pre>
  
  <p>and did a </p>
  
  <pre><code>make
  make install
  </code></pre>
  
  <p>I tried in root permissions as well, like</p>
  
  <pre><code>sudo make install
  </code></pre>
  
  <p>but still getting the same error.</p>