我正在尝试在Amazon Linux发行版实例上构建librsvg.我已经通过yum安装了大多数依赖项.实例中启用了默认yum repo的一些地方不可用,因此必须从头开始构建它们.我已经走得很远了,但仍停留在最后一点.当为librsvg运行sudo ./configure时,我得到No package 'gdk-pixbuf-2.0' found.我确实收到了我通过yum安装的某些软件包的消息,并安装了这些库的-dev版本解决了我的问题.目前gdk-pixbuf-2.0是我从源代码安装的唯一lib.
I am trying to build librsvg on an Amazon Linux distro instance. I've install most of the dependencies via yum. There where a few that where not available in the default yum repo's enabled on the instance so had to build them from scratch. I've got pretty far but am stuck on one final bit. When running sudo ./configure for librsvg I get No package 'gdk-pixbuf-2.0' found. I did get this message originally for some of the packages I installed via yum and installing the -dev version of those libs solved my problem. Currently gdk-pixbuf-2.0 is the only lib I install from source.
以下是缺少的lib的pkg-config结果:
Here are the results of pkg-config for the missing lib:
$ pkg-config --list-all | grep pixbuf > gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling $ pkg-config --modversion pixbuf > 2.26.1
推荐答案
运行pkg-config --libs gdk-pixbuf-2.0和pkg-config --cflags gdk-pixbuf-2.0缺少某些其他程序包,并且gdk-pixbuf-2.0需要该程序包,并且pkg-config将错误报告给configure,但是列出所有软件包时不对您开放.
Run pkg-config --libs gdk-pixbuf-2.0 and pkg-config --cflags gdk-pixbuf-2.0 some other package is missing and is required by gdk-pixbuf-2.0 and pkg-config is reporting the error to configure but not to you when listing all packages.
更多推荐
找不到软件包'gdk
发布评论