LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems installing GAIM (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-gaim-153930/)

thw 03-05-2004 04:06 PM

problems installing GAIM
 
Hi!

I'm use Gaim 0.67 that came with the distri (SuSE 9 Pro), and I like it very much. So load a newer version from the internet. Unfortunately they do not offer RPMs for SuSE 9 (can I also use the one for SUSE 8.2 instead?), that's why I took the tar.gz-file. I uninstalled my old GAIM. Then I wanted to install the new one with the standard ./conigure, make, make install. ./configure worked and ended correctly, with the message, that I shall type in "make" now :-)
But make brings an "Function not declared" error at nearly every line. After a few lines it stops with error 2. All libraries seem to be installed correct (cause ./configure works). What does that problem mean? And how can I fix it? I don't think that there is really an error in the source code :-/

Thanks!
thw

Mara 03-05-2004 04:14 PM

Configure script is not always perfect and missing things can be found at 'make' stage. It requires basic programming skills to find out what's the reason. If you need to have teh source version compiled, post the beginning of the compilation errors (up to 10 Function not declared massges, maybe there was something interesting earlier?).

Version for older SUSE may work, try it.

thw 03-06-2004 06:43 AM

Hay!
Thanks for your answer, Mara!

You're right, there is another error message.
I will not post the whole log, but some error messages, so sorry about this long text :-)

The problem begins with the eggtrayicon.lo:

--- make log ---
make[3]: Entering directory `/home/thw/temp/gaim-0.75/plugins/docklet'
source='eggtrayicon.c' object='eggtrayicon.lo' libtool=yes \
depfile='.deps/eggtrayicon.Plo' tmpdepfile='.deps/eggtrayicon.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.
. -DDATADIR=\"/usr/local/share\" -DVERSION=\"0.75\" -I../../src -I/opt/gnome/i
nclude/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/
opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt
/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -g -O2 -Wall -g3 -
c -o eggtrayicon.lo `test -f 'eggtrayicon.c' || echo './'`eggtrayicon.c
In file included from eggtrayicon.c:22:
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:33:22: X11/Xlib.h: No such file or directo
ry
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:34:23: X11/Xutil.h: No such file or direct
ory
In file included from eggtrayicon.c:22:
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: warning: type defaults to `int' in dec
laration of `gdk_display'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:39: warning: data definition has no type o
r storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: warning: type defaults to `int' in dec
laration of `gdk_x11_drawable_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:42: warning: data definition has no type o
r storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: error: parse error before "gdk_x11_dra
wable_get_xid"
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: warning: type defaults to `int' in dec
laration of `gdk_x11_drawable_get_xid'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:43: warning: data definition has no type o
r storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: warning: type defaults to `int' in dec
laration of `gdk_x11_image_get_xdisplay'
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:44: warning: data definition has no type o
r storage class
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:45: error: parse error before '*' token
/opt/gnome/include/gtk-2.0/gdk/gdkx.h:45: warning: type defaults to `int' in dec
laration of `gdk_x11_image_get_ximage'

[and so on ... ]
[endling with this:]

eggtrayicon.c:371: error: `XEvent' undeclared (first use in this function)
eggtrayicon.c:371: error: parse error before ')' token
eggtrayicon.c: In function `egg_tray_icon_cancel_message':
eggtrayicon.c:387: error: `Window' undeclared (first use in this function)
eggtrayicon.c:387: error: parse error before "gtk_plug_get_id"
make[3]: *** [eggtrayicon.lo] Fehler 1
make[3]: Leaving directory `/home/thw/temp/gaim-0.75/plugins/docklet'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/thw/temp/gaim-0.75/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/thw/temp/gaim-0.75'
make: *** [all] Fehler 2
--- end log ---

btw. "Fehler" is the german word for "error"

I got some basic programming skills, but not in C/C++ and not with Linux :-)

There is actually no SuSE version of the RPM yet :-/
I think I have mixed up this information with another programm :-)

thw

Mara 03-07-2004 06:50 AM

Quote:

Originally posted by thw

/opt/gnome/include/gtk-2.0/gdk/gdkx.h:33:22: X11/Xlib.h: No such file or directo
ry

That's the error message. It says you don't have Xlib.h. It's header file for XFree. The package you need to install is XFree86-devel-*.i586.rpm It's somewhere on your installation cd. Install it and try to compile again, should work now.


All times are GMT -5. The time now is 11:47 AM.