Linking to Xfce libs - how is it done?
"Olof Holmgren" <[email protected]> Thu, 28 Sep 2006 16:14:23 +0200
| Newsgroups | gmane.comp.desktop.xfce.goodies.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0548292851==
Content-Type: multipart/alternative;
boundary="----=_Part_51791_9378732.1159452863127"
------=_Part_51791_9378732.1159452863127
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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.
I have tried to look in the autoconf documentation, but I'm not sure what
I'm really looking for
so I got no answers there. And it feels as if something is wrong for this
even to happen.
Since I don't know what I'm doing or what intltool does, I simple removed
the line AC_PROG_INTLTOOL
from the configure.ac. After doing this, I got a little further but the
./configure still fails, with the following error:
./configure: line 4777: syntax error near unexpected token `LIBXFCE4PANEL,'
./configure: line 4777: `XDT_CHECK_PACKAGE(LIBXFCE4PANEL, libxfce4panel-1.0,
4.3.20)'
The line in the configure.ac that seems to be causing the problem is the
following:
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
All I want to do is to get the build system up so that I know that I can
compile my own stuff,
but I can not get it working. I've spent a long time googling on it, but
without luck. Im stuck.
If someone could point me in the right direction here, it would be greatly
appreciated.
Regards
Olof Holmgren
------=_Part_51791_9378732.1159452863127
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi!<br><br>I'm trying to develop a panel app for Xfce (4.4rc1) but I'm new to both Xfce and autotools and<br>find it hard to get going. What I would like to know is how to link to the Xfce4 libraries?<br><br>I've downloaded the cpugraph plugin
v0.3 as suggested over here:<br><a href="http://jameswestby.net/weblog/2006/May">http://jameswestby.net/weblog/2006/May</a><br><br>If I do ./configure on the cpugraph plugin I can make and install it with no problems,<br>
but if I do aclocal, autoconf and automake myself and then run ./configure the<br>configure keeps failing with the following error message:<br><br><a href="http://configure.ac:27">configure.ac:27</a>: error: possibly undefined macro: AC_PROG_INTLTOOL
<br> If this token and others are legitimate, please use m4_pattern_allow.<br> See the Autoconf documentation.<br><br>I have tried to look in the autoconf documentation, but I'm not sure what I'm really looking for
<br>so I got no answers there. And it feels as if something is wrong for this even to happen.<br>Since I don't know what I'm doing or what intltool does, I simple removed the line AC_PROG_INTLTOOL<br>from the <a href="http://configure.ac">
configure.ac</a>. After doing this, I got a little further but the ./configure still fails, with the following error:<br><br>./configure: line 4777: syntax error near unexpected token `LIBXFCE4PANEL,'<br>./configure: line 4777: `XDT_CHECK_PACKAGE(LIBXFCE4PANEL,
libxfce4panel-1.0, 4.3.20)'<br><br>The line in the <a href="http://configure.ac">configure.ac</a> that seems to be causing the problem is the following:<br>XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.20])
<br><br>All I want to do is to get the build system up so that I know that I can compile my own stuff,<br>but I can not get it working. I've spent a long time googling on it, but without luck. Im stuck.<span style="font-style: italic;">
</span><br><br>If someone could point me in the right direction here, it would be greatly appreciated.<br><br>Regards<br>Olof Holmgren<br>
------=_Part_51791_9378732.1159452863127--
--===============0548292851==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
xfce-goodies-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/xfce-goodies-dev
--===============0548292851==--