Chinaunix首页 | 论坛 | 博客
  • 博客访问: 762231
  • 博文数量: 790
  • 博客积分: 40560
  • 博客等级: 大将
  • 技术积分: 5065
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-28 16:29
文章分类

全部博文(790)

文章存档

2011年(1)

2008年(789)

我的朋友

分类: LINUX

2008-08-28 17:12:19

 
曾经在下面连接里说了编译gstreamer程序需要pkg-config

http://hi.baidu.com/gddark/blog/...f3a0c57931aaab.html

那时候是用源码装的GStreamer
所以pkg的时候没有问题

今天按照官网说的直接用apt安装GStreamer


DebianandUbuntu
GStreamerandthevariouspluginsmodulesareavailableinbothDebianandUbuntu.Youcaninstallthemostimportantoneswith
sudoapt-getinstallgstreamer0.10-toolsgstreamer0.10-xgstreamer0.10-plugins-basegstreamer0.10-plugins-goodgstreamer0.10-plugins-uglygstreamer0.10-plugins-badgstreamer0.10-ffmpeggstreamer0.10-alsagstreamer0.10-schroedingergstreamer0.10-pulseaudio
但是最后两个包找不到,就没装。
(lenny里有后面两个包!但没发现什么影响。)
装完
$gst-inspect-0.10
Totalcount:103plugins,462features
(lenny下面的插件数目有:
Totalcount:167plugins,744features)

但是编译gstreamer程序的时候pkg找不到!
Packagegstreamer-0.10wasnotfoundinthepkg-configsearchpath.
Perhapsyoushouldaddthedirectorycontaining`gstreamer-0.10.pc''
tothePKG_CONFIG_PATHenvironmentvariable
Nopackage''gstreamer-0.10''found

Google之

提到要安装libgstreamer-0.10-dev
apt之
问题解决。

PS:之前用源码包装的时候不知道少装了什么插件,找不到equalizer-nbands工厂!
所以才重装的。原来apt就有。
自己不仔细看官网的文档,呵呵。
不过貌似etch的GStreamer版本有点老,先看看有没有什么问题吧。
(现在用apt装的还是找不到!而换一个虚拟机用lenny,装上就可以找到工厂!莫非项目又要换环境。)

阅读(482) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~