Link to home
Create AccountLog in
Avatar of ragnar86
ragnar86

asked on

Problems during ethereal installation

Hi,

i am trying to install ethereal on my RedHat9 machine.
I already installed atk. glib, gtk+ and pango, which is necessary for ethereal.
I think i saw an error message when installing gtk+, it was something like ".bashrc - No access"
Alright, during ethereal installtion, i get tons of error messages, here is the part of the config.log, where some errors appear:


configure:9435: checking for GTK+ - version >= 2.0.0
configure:9580: result: no
configure:9613: gcc -o conftest -D_U_="__attribute__((unused))" -Wall -W  -g -O2 -I/usr/local/include   -I/usr/local/include  -L/usr/local/lib conftest.c   >&5
In file included from /usr/local/include/glib/galloca.h:30,
                 from /usr/local/include/glib.h:30,
                 from /usr/local/include/gdk/gdktypes.h:32,
                 from /usr/local/include/gdk/gdkcolor.h:4,
                 from /usr/local/include/gdk/gdk.h:30,
                 from /usr/local/include/gtk/gtk.h:31,
                 from conftest.c:25:
/usr/local/include/glib/gtypes.h:30:24: glibconfig.h: No such file or directory
In file included from /usr/local/include/glib/galloca.h:30,
                 from /usr/local/include/glib.h:30,
                 from /usr/local/include/gdk/gdktypes.h:32,
                 from /usr/local/include/gdk/gdkcolor.h:4,
                 from /usr/local/include/gdk/gdk.h:30,
                 from /usr/local/include/gtk/gtk.h:31,
                 from conftest.c:25:
/usr/local/include/glib/gtypes.h:41: syntax error before "typedef"
/usr/local/include/glib/gtypes.h:385:2: #error unknown ENDIAN type
In file included from /usr/local/include/glib.h:31,
                 from /usr/local/include/gdk/gdktypes.h:32,
                 from /usr/local/include/gdk/gdkcolor.h:4,
                 from /usr/local/include/gdk/gdk.h:30,
                 from /usr/local/include/gtk/gtk.h:31,
                 from conftest.c:25:
/usr/local/include/glib/garray.h:32: parse error before "G_BEGIN_DECLS"
/usr/local/include/glib/garray.h:34: syntax error before "typedef"
/usr/local/include/glib/garray.h:46: parse error before "guint8"
/usr/local/include/glib/garray.h:48: parse error before '}' token
/usr/local/include/glib/garray.h:140: parse error before '*' token
/usr/local/include/glib/garray.h:143: parse error before '*' token
/usr/local/include/glib/garray.h:146: parse error before '*' token
In file included from /usr/local/include/glib/gerror.h:24,
                 from /usr/local/include/glib/gthread.h:30,
                 from /usr/local/include/glib/gasyncqueue.h:30,
                 from /usr/local/include/glib.h:32,
                 from /usr/local/include/gdk/gdktypes.h:32,
                 from /usr/local/include/gdk/gdkcolor.h:4,
                 from /usr/local/include/gdk/gdk.h:30,
                 from /usr/local/include/gtk/gtk.h:31,
                 from conftest.c:25:
/usr/local/include/glib/gquark.h:32: parse error before "G_BEGIN_DECLS"
/usr/local/include/glib/gquark.h:34: syntax error before "typedef"
/usr/local/include/glib/gquark.h:38: parse error before "g_quark_try_string"
/usr/local/include/glib/gquark.h:39: parse error before "g_quark_from_static_string"
/usr/local/include/glib/gquark.h:40: parse error before "g_quark_from_string"
/usr/local/include/glib/gquark.h:41: syntax error before "gchar"
/usr/local/include/glib/gquark.h:41: parse error before "quark"


And alot more of the parse and syntax errors.
Might there be a problem with PKG_CONFIG_PATH or something?

Please, if possible give a step by step instruction, that would be the easiest way for me.

Thanks alot!
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
atk and pango also have associated devel rpms that you should probably install.

HTH:)