Delivered-To: lablgtk at yquem.inria.fr Date: Fri, 22 Feb 2008 11:02:27 +0900 (JST) Message-Id: <20080222.110227.147128536.garrigue at math.nagoya-u.ac.jp> To: angela22.zhu at gmail.com Subject: Re: [Lablgtk] Problem with cairo From: Jacques Garrigue In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr Content-Type: Text/Plain; charset=us-ascii Content-Length: 1980 From: "Angela Zhu" > I want to install lablgtk, and when I was doing "./configure" (for lablgtk), > I got > following attached error msg (1). > > So I try to download cairo and comple it, but after "cd cairo-1.4.14", > when I was doing "./configure" (for cairo), I got following attached msg > (2). > > And then a funny thing is that I actually should have cairo installed on my > machine > using "MacPorts", according to attached commands and msg (3). Since cairo is already installed (and actually required by gtk2 anyway), there is no need to install it again. > Anyone can help me to see what are is the problem here? > Many thanks in advance! > > ------------------------------------------ > (1) ./configure for lablgtk > ------------------------------------------ > checking pkg-config is at least version 0.9.0... yes > checking for BASE_DEPENDENCIES... configure: error: Package requirements ( > glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) > were not met: > > No package 'cairo' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables > BASE_DEPENDENCIES_CFLAGS > and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > ------------------------------------------ There are plenty of explanations in this error message. First, $ pkg-config --modversion cairo should return 1.4.10. If it doesn't, then you should look for a cairo.pc file in /opt/local/lib/pkgconfig If it is there, then this probably just that you must set PKG_CONFIG_PATH explicitly to the above directory. Otherwise, search for cairo.pc, and add the directory. This should solve your problem. Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk