首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >构建owncloud客户机时的一些安装错误

构建owncloud客户机时的一些安装错误
EN

Unix & Linux用户
提问于 2018-10-15 20:27:09
回答 1查看 88关注 0票数 -1

我想开发我的OwnCloud客户机,所以我从GitHub克隆了一个OwnCloud存储库的客户机,并阅读了这个文档。首先,我想说一下我的系统属性。我使用的是Ubuntu18.04LTS (64位),所以我在本文档中尝试了Ubuntu步骤。

我尝试了下面的步骤。

我将源链接添加到系统的源列表中。

代码语言:javascript
复制
echo 'deb-src http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list

然后我更新了我的系统。

代码语言:javascript
复制
apt-get update;

最后,我尝试了build函数。因为,OwnCloud文档显示这个命令。

代码语言:javascript
复制
 apt-get build-dep owncloud-client

前两个步骤是成功的,但在最后一步,我得到一个错误。

代码语言:javascript
复制
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.

我试图像这样手动编译这个依赖项。

代码语言:javascript
复制
sudo apt-get build-dep ocqt5101-qt5-qmake

但这是行不通的。我也得到了同样的结果。

我怎样才能建立这个来源?

EN

回答 1

Unix & Linux用户

发布于 2018-10-15 22:12:52

构建owncloud客户端与

  1. apt-get build-dep
  2. 或从github.com克隆并编译源代码(使用cmake)

作为一名开发人员,您可以使用更喜欢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.debdpkg -i *.deb适用于所有下载的pwd deb文件)

QT5是应用程序框架。没有必要从源代码中编译它。

对于2.您可以使用上面命名的debs或直接从qt网站下载。

确保安装所需的构建工具,如

apt-get install build-essential

祝好运!

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/475666

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档