我试图使用命令sudo pip install scrapy安装scrapy,但是我收到了一条错误消息,其结尾如下:
build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
--------------------------
到目前为止,遵循了许多教程,并有各种错误。下面是我遵循的完整的一步一步的过程,最后在OpenSSH编译中出现了错误。
($HOME/Desktop/Zlib/zlib-1.2.5/output) 下载了Zlib和交叉编译的
cd /home/armsdk/Desktop/
mkdir zlib
cd Zlib
wget http://www.zlib.net/fossils/zlib-1.2.5.tar.gz
tar xzvf zlib-1.2.5.tar.gz
cd zlib-1.2.5
mkdir output
./configure --prefix=/home/armsdk/Deskt
我使用bash_completion来点击选项卡,查看分支名称和目录。这一切都很有效。我把它放在我的bash_profile中,以便连接bash_completion:
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
当我现在开始我的终端时,我得到:
-bash: @MyNameHERE: command not found
如果我从bash_profile中删除第一个片段,它就会消失,但是bash_completion无法工作。有什么想法吗?
酿造
我在尝试链接我的项目时遇到了麻烦:
arm-linux-gnueabihf/bin/ld: ~/libcrypto_t.a(mem_dbg.o): relocation R_ARM_THM_MOVW_ABS_NC against 'a local symbol' an not be used when making a shared object; recompile with -fPIC
libcrypto_t.a: could not read symbols: Bad value
所以我猜我没有把openssl构建为共享对象。我试着这样做
export cross=arm
当我试图安装python脚本的依赖项时,我会得到以下错误:
build/temp.linux-x86_64-2.7/_openssl.c:697:6: error: conflicting types for ‘BIO_new_mem_buf’
BIO *BIO_new_mem_buf(void *, int);
^
In file included from /usr/include/openssl/asn1.h:65:0,
from build/temp.linux-x86_64-2.7/_openssl.c:413:
/usr/includ
我正试图在我的RStudio中安装RStudio。但我犯了很多错误:
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment va
你好,我正在按照这个指南为一个项目使用openssl创建证书(我们的教授给我们的)
但我使用的是windows和linux下的命令。例如,在某些情况下,它们会声明“要创建,而在'sslcert‘目录中,键入:
openssl req -new -x509 -extensions v3_ca -keyout \
private/cakey.pem -out cacert.pem -days 365 -config ./openssl.cnf
You will be prompted for information and a password. Do not loos
我试图生成一个用户,但出现了这个错误,如果我给了一个rails s同样的错误出现,我不能做任何事情,我在gem中给了一个bundle update,一个bundle install,但是什么都没有改变。我在4.6.2的GEMFILE中将rails的版本改为5.0.1,并给出了一个bundle update。我想使用版本5,但我不知道如何更新,我看到一个教程说我可以这样做,所以我就这样做了,只是现在出现了这个错误。
root@ubuntu:~/Projeto-video-3# rails model User name document kind status:integer notes:tex