获得CP不能创建常规文件中的OpenSSL没有这样的文件或目录 [英] Getting cp cannot create regular file No such file or directory in openssl

查看:4336
本文介绍了获得CP不能创建常规文件中的OpenSSL没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译OpenSSL的code时,提示以下错误。下面获取过程中的错误使安装的步骤。请让我知道,如果有人解决了这个问题。谷歌搜索有联系,但都指向一个未解决的问题 http://marc.info/ ?L = OpenSSL的用户和放大器; M = 121239973214424

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 "http://marc.info/?l=openssl-users&m=121239973214424"

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$ 

我通过这个<一去href=\"http://stackoverflow.com/questions/20936531/error-cp-cannot-create-regular-file-no-such-file-or-directory\">Error CP:无法创建常规文件&QUOT;&QUOT:无此类文件或目录。但是,有作为脚本文件是他写的。他得到一个机会来改变文件。但是,如何在情况下的OpenSSL办?

I went through this Error cp: cannot create regular file "": no such file or directory. 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?

我配置的OpenSSL这样

I configured openssl like this

./Configure android shared --prefix=./../libs/armeabi --openssldir=openssl

和做了

make
make install

我root权限尝试,以及像

I tried in root permissions as well, like

sudo make install

但仍然得到同样的错误。

but still getting the same error.

推荐答案

花费了大量的时间(试错法)之后,我得到了答案。不要给配置中的相对路径。给喜欢

After spending a lots of time (Trial and error method) I got the answer. DON'T give the relative path in configure. Give ONLY absolute paths like

./Configure android shared --prefix=`pwd`/../libs/armeabi --openssldir=openssl

由于相对路径CP:无法创建常规文件`./../libs/armeabi/include/openssl/crypto.h:没有这样的文件或目录,这是失败的。

due to relative path "cp: cannot create regular file `./../libs/armeabi/include/openssl/crypto.h': No such file or directory" this is failing.

这篇关于获得CP不能创建常规文件中的OpenSSL没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆