我试图在我的Raspberry Pi上为Raspbian上的Xapian构建PHP绑定
按照这里的说明
http://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package
我正陷入第二关!
sudo apt-get build-dep xapian-bindings
给我以下错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
我尝试将deb-src条目添加到/etc/apt/sources.list和/etc/apt/sources.list.d中的3个文件
即
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
答案 0 :(得分:0)
将存储库添加到sources.list后,您必须执行
sudo apt-get update
有新的资源可供使用。