我想开发我的OwnCloud客户机,所以我从GitHub克隆了一个OwnCloud存储库的客户机,并阅读了这个文档。首先,我想说一下我的系统属性。我使用的是Ubuntu18.04LTS (64位),所以我在本文档中尝试了Ubuntu步骤。
我尝试了下面的步骤。
我将源链接添加到系统的源列表中。
echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list然后我更新了我的系统。
apt-get update;最后,我尝试了build函数。因为,OwnCloud文档显示这个命令。
apt-get build-dep owncloud-client前两个步骤是成功的,但在最后一步,我得到一个错误。
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
builddeps:owncloud-client : Depends: ocqt5101-qt5-qmake but it is not installable
Depends: ocqt5101-qttools5-dev-tools but it is not installable
Depends: ocqt5101-qtbase5-dev but it is not installable
Depends: ocqt5101-qt5keychain-dev (>= 0.7.0) but it is not installable
Depends: ocqt5101-libqt5webkit5-dev (>= 2.2.0) but it is not installable
Depends: ocqt5101-qtsvg5 but it is not installable
E: Unable to correct problems, you have held broken packages.我试图像这样手动编译这个依赖项。
sudo apt-get build-dep ocqt5101-qt5-qmake但这是行不通的。我也得到了同样的结果。
我怎样才能建立这个来源?
发布于 2018-10-15 22:12:52
构建owncloud客户端与
apt-get build-dep作为一名开发人员,您可以使用更喜欢2.。
1.:
您可以从dep下载所需的二进制文件http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04/amd64 64。
然后用dpkg安装它们。(即)dpkg -i ocqt5101-qt5-qmake_5.10.1-1+1.1_amd64.deb或dpkg -i *.deb适用于所有下载的pwd deb文件)
QT5是应用程序框架。没有必要从源代码中编译它。
对于2.您可以使用上面命名的debs或直接从qt网站下载。
确保安装所需的构建工具,如
apt-get install build-essential
祝好运!
https://unix.stackexchange.com/questions/475666
复制相似问题