[Goodies-dev] Linking to Xfce libs - how is it done?

James Westby jw+xfce at jameswestby.net
Thu Sep 28 21:41:33 CEST 2006


On (28/09/06 20:14), Olof Holmgren wrote:
> Hi!
> 
> I'm trying to develop a panel app for Xfce (4.4rc1) but I'm new to both Xfce
> and autotools and
> find it hard to get going. What I would like to know is how to link to the
> Xfce4 libraries?
> 
> I've downloaded the cpugraph plugin v0.3 as suggested over here:
> http://jameswestby.net/weblog/2006/May
> 
> If I do ./configure on the cpugraph plugin I can make and install it with no
> problems,
> but if I do aclocal, autoconf and automake myself and then run ./configure
> the
> configure keeps failing with the following error message:
> 
> configure.ac:27: error: possibly undefined macro: AC_PROG_INTLTOOL
>      If this token and others are legitimate, please use m4_pattern_allow.
>      See the Autoconf documentation.
> 

Hi,

I believe you need the -I option for aclocal, this should point to the
dir that contains intltool.m4, (/usr/share/aclocal/ here). 

Note that you will probably also need the xfce m4 file. Check out
xfce-dev-tools, and the included xdt-autogen that can help you with
this. 

James





More information about the Goodies-dev mailing list