2

我想开始在Linux Mint 13 下开发 Pidgin 插件。

我已经阅读了官方教程,一开始说我应该使用以下命令安装 pidgin 的开发依赖项: apt-get build-dep pidgin

但它最终会出现以下错误消息:

E: 找不到 pidgin 的源码包

我必须添加一个特殊的存储库吗?或者我怎样才能让 Linux Mint 找到这个包?

这是sources.list的转储:

deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games
4

2 回答 2

9

编辑/etc/apt/sources.list并添加deb-src

deb http://packages.linuxmint.com/ maya main upstream import
deb-src http://packages.linuxmint.com/ maya main upstream import

deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

并尝试:

apt-get update
apt-get build-dep pidgin
于 2012-08-13T20:50:19.867 回答
1

快速搜索显示和http://packages.linuxmint.com/search.php都存在 Pidgin 存储库,分别是 Linux Mint 6 和 8。Mint 默认安装的存储库可能不包含指向这些特定存储库的链接。feliciahelena

如果您对 Pidgin 的开发感兴趣,我建议您直接从这里下载文件。这可能会帮助您不是从 Mint 的角度,而是从发行独立性的角度来理解开发过程。

于 2012-08-13T20:29:25.417 回答