开发者

Compiling Glib Code on Ubuntu

开发者 https://www.devze.com 2022-12-29 19:42 出处:网络
I\'m trying 开发者_如何学Cto compile ARCCC (https://sourceforge.net/projects/arccc/) on Ubuntu 9.10, but I\'m getting the make error \"glib.h: No such file or directory\", and the autoconfig script re

I'm trying 开发者_如何学Cto compile ARCCC (https://sourceforge.net/projects/arccc/) on Ubuntu 9.10, but I'm getting the make error "glib.h: No such file or directory", and the autoconfig script reports that Glib isn't installed. However, I have the libglib2.0-dev package installed, which appears to provide all the glib headers. Is there something missing/wrong with the Ubuntu package, or the Autoconf script incorrect?


Arccc is quite old. The latest release is from 2003. It was built on Glib-1.2 and used 'glib-config' which was changed to pkg-config in Glib-2.0. Glib-2.0 also was an API breaking release. You will either have to rewrite arccc, compile it with Glib-1.2 (e.g. Gentoo Linux provides a slot for Glib-1) or find an alternative.

Here's a gtk-list entry about the Glib-1 -> Glib-2 problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消