为使用QQ for Linux,安装源码包pixman-0.11.8
./configure 能通过,在make时出现如下错误提示:
…… 前面省略,完整的内容在附件中。
composite-test.o: In function `reader':
/home/zp/Software/pixman-0.11.8/test/composite-test.c:81: undefined reference to `g_assertion_message'
collect2: ld returned 1 exit status
make[2]: *** [composite-test] 错误 1
make[2]: Leaving directory `/home/zp/Software/pixman-0.11.8/test'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/zp/Software/pixman-0.11.8'
make: *** [all] 错误 2
请大家出出主意,指点迷津,谢谢!
chiang 于 2008-11-05 23:41:33发表:
再说一句,我现在已经搞定了
, but not #include ). Therefore, you're trying to build pixman against the GTK+ that I'm guessing you installed with your package manager. That GTK+ is built against a different version of glib. Of course, I'm only conjecturing as to what you've done on your machine.
过程:
我安装了glib2.18,atk1.22
现在安装cairo,要求依赖 pixman,出现编译不通过
根据刚才我找到的网页里面有说:
That's what I thought. I think the glib headers get pulled into pixman via the GTK+ headers (i.e., the pixman source has #include
ok,这个意思就是要让pixman找到 gtk.h,那就把安装的glib干掉,去掉ld.so.conf里面的/usr/local/lib,执行ldconf
然后unset PKG_CONFIG_PATH
重新回到pixman配置,然后make
好了,找到了,没有错误了
好运
。。。。。
chiang 于 2008-11-05 23:27:57发表:
你运气真好,正好我也在解决这个问题
下面是我用google找到的
链接在
http://www.linuxquestions.org/questions/linux-software-2/pixman-fail-to-compille-672787/
大体意思是:这个错误是因为你没有安装glib开发包导致的
g_assertion_message is provided by glib and should defined in /usr/local/include/glib-2.0/gtestutils.h on your machine. Do you have the development package for glib installed? If not install that and try again.
注意,是开发包,这个帖子里面还有其他的信息你自己看吧
我用的debian4基本系统,我也是为了装QQ
为了回你的帖子,专门注册的,感谢我吧,HOHO
zplinux 于 2008-08-22 14:55:00发表:
其实用哪个都无所谓,抛弃QQ也没什么大不了,只是想解决Linux中遇到的难题。
对我遇到的源码编译安装的错误提示,朋友能给点意见么?
lemonade 于 2008-08-22 13:58:41发表:
楼主何不试试eva,功能比较全。