New applet...

Dan Karmgard karmgard at ix.netcom.com
Thu Aug 28 16:10:26 CEST 2003


Hi Paul,
	Basically that's a panel version mismatch. The API has changed from
Beta->RC1->RC2. It looks like you are running RC2 (?), but for some
reason the configure script didn't correctly identify it. Do a 
	grep XFce4 config.h -A3
from the top level directory to see what version configure found, you
can edit the file directly to fix the problem without having to run
configure again (the proper numbers for each panel version are listed in
a comment just above the #define statement). The preprocessor directive
defined there is used in panel-plugin/pppwatch.c on lines 356-360 (among
other places) to switch between the different API versions. This is
where the error is occurring.

On Wed, 2003-08-27 at 19:40, Paul Ladouceur wrote:
> Hi Dan,
> 
> I tried to compile from the start: Uncompress the 
> xfce4-pppwatch-plugin-0.1.2.tar.gz.. Go into the directory, do a 
> ./configure --prefix=/usr ... All goes well... But when i do the make:
> 
> bash-2.05b$ make
> make  all-recursive
> make[1]: Entering directory `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2'
> Making all in po
> make[2]: Entering directory `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2/po'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2/po'
> Making all in panel-plugin
> make[2]: Entering directory 
> `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2/panel-p
> lugin'
> source='pppwatch.c' object='libpppwatch_la-pppwatch.lo' libtool=yes \
> depfile='.deps/libpppwatch_la-pppwatch.Plo' 
> tmpdepfile='.deps/libpppwatch_la-ppp
> watch.TPlo' \
> depmode=gcc3 /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    
> -I../intl
> -I../intl -I/usr/include/xfce4 -I/usr/X11R6/include 
> -I/usr/include/libxml2 -I/us
> r/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 
> -I/usr/X11
> R6/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -I/usr/
> include/atk-1.0   -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 
> -I/usr/lib/
> glib-2.0/include -DLOCALEDIR="\"/usr/share/locale\"" -g -O2 -c -o 
> libpppwatch_la
> -pppwatch.lo `test -f 'pppwatch.c' || echo './'`pppwatch.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl 
> -I/usr/include/xfce4 -I/usr
> /X11R6/include -I/usr/include/libxml2 -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/
> include -I/usr/include/pango-1.0 -I/usr/X11R6/include/freetype2 
> -I/usr/include/g
> lib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/libgto
> p-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -DLOCALEDIR=\"/usr/sha
> re/locale\" -g -O2 -c pppwatch.c -MT libpppwatch_la-pppwatch.lo -MD -MP 
> -MF .dep
> s/libpppwatch_la-pppwatch.TPlo  -fPIC -DPIC -o 
> .libs/libpppwatch_la-pppwatch.lo
> In file included from pppwatch.c:10:
> global.h:13:1: warning: "HAVE_BIND_TEXTDOMAIN_CODESET" redefined
> In file included from global.h:5,
>                  from pppwatch.c:10:
> ../config.h:76:1: warning: this is the location of the previous definition
> pppwatch.c: In function `xfce_control_class_init':
> pppwatch.c:328: structure has no member named `add_options'
> make[2]: *** [libpppwatch_la-pppwatch.lo] Error 1
> make[2]: Leaving directory 
> `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2/panel-pl
> ugin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/paul/temp/xfce4-pppwatch-plugin-0.1.2'
> make: *** [all] Error 2
> bash-2.05b$
> 
> Now I'm stuck here!!!... I've restarted to decompress the file because I 
> had these errors while compiling before... So... Now I'm lost! :-[
> 
> What did I do wrong?... I totally scrap the old directory (rm -R ) and 
> starting from scratch from the original 0.1.2 source... NO Good!!! ???
> 
> Please help!
> Ti-Paul.
> 
> 
> Dan Karmgard wrote:
> 
> >Hi Paul,
> >	Nope, not what I was after. It looks like the plugin didn't install
> >after you compiled 
> >  "paul is not in the sudoers file.  This incident will be reported."
> >So the plugin which was running wasn't dumping the messages to the
> >terminal. (You can add yourself to the sudoers file by editing
> >/etc/sudoers -- as root. It provides a framework similar to su -c
> ><command>, but you use your own password. Very handy).
> >	In any case, I've attached an example of what the messages look like on
> >an xterm (but using eth0 since I'm at work) under several
> >configurations.
> >
> >On Tue, 2003-08-26 at 19:03, Paul Ladouceur wrote:
> >  
> >
> >
> >  
> >
> 
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://moongroup.com/mailman/listinfo/xfce




More information about the Xfce mailing list