装 deluge-0.5.5出现的问题

上网、浏览、聊天、下载等
回复
iloveyou
帖子: 3
注册时间: 2007-10-06 22:25
送出感谢: 0
接收感谢: 0

装 deluge-0.5.5出现的问题

#1

帖子 iloveyou » 2007-10-14 11:51

在 deluge-0.5.5目录运行终端python setup.py build听到最后几行显示错误如下:


In file included from ./libtorrent/include/libtorrent/storage.hpp:57,
from ./libtorrent/include/libtorrent/torrent.hpp:69,
from libtorrent/src/tracker_manager.cpp:50:
./libtorrent/include/libtorrent/hasher.hpp:46:25: error: openssl/sha.h: No such file or directory
./libtorrent/include/libtorrent/hasher.hpp:116: error: ‘SHA_CTX’ does not name a type
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher()’:
./libtorrent/include/libtorrent/hasher.hpp:90: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:90: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In constructor ‘libtorrent::hasher::hasher(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:93: error: ‘SHA1_Init’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:96: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::update(const char*, int)’:
./libtorrent/include/libtorrent/hasher.hpp:102: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:102: error: ‘SHA1_Update’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘libtorrent::sha1_hash libtorrent::hasher::final()’:
./libtorrent/include/libtorrent/hasher.hpp:108: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:108: error: ‘SHA1_Final’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp: In member function ‘void libtorrent::hasher::reset()’:
./libtorrent/include/libtorrent/hasher.hpp:112: error: ‘m_context’ was not declared in this scope
./libtorrent/include/libtorrent/hasher.hpp:112: error: ‘SHA1_Init’ was not declared in this scope
error: command 'gcc' failed with exit status 1


请问这是什么意思?怎么解决?谢谢
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45
送出感谢: 0
接收感谢: 9 次

#2

帖子 fanhe » 2007-10-14 12:04

安装libtorrent9-dev
回复

回到 “因特网相关软件”