LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2004, 05:06 PM   #1
thw
LQ Newbie
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: SuSE 9.1 Pro
Posts: 21

Rep: Reputation: 15
Question 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
 
Old 03-05-2004, 05:14 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
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.
 
Old 03-06-2004, 07:43 AM   #3
thw
LQ Newbie
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: SuSE 9.1 Pro
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 03-07-2004, 07:50 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing linphone-im for gaim-vv odiseo77 Linux - Software 0 02-14-2005 08:31 AM
Problems installing Gaim FireInTheDark Linux - Software 3 12-01-2004 06:19 PM
Gaim problems installing zzZoiDzz Linux - Software 15 01-25-2004 11:54 PM
problems installing Gaim (among other things kaega2 Linux - Software 10 09-25-2003 10:57 PM
problems installing Gaim 0.66 digitalboi Linux - Software 6 08-15-2003 12:57 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration