?
Solved

Problems during ethereal installation

Posted on 2005-03-08
2
Medium Priority
?
306 Views
Last Modified: 2013-12-16
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!
0
Comment
Question by:ragnar86
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 300 total points
ID: 13485677
Looking at the rpms for Redhat 9.0:

http://dc.qut.edu.au/cgi-bin/rpm.cgi?home=/pub/redhat9.0/RedHat/RPMS

you see that the gtk+ rpm is:

gtk+-1.2.10-25.i386.rpm

i.e version 1.2.10 (Hence is saying no....but it should eb able to cope with this)

There is also the issue that in order to compile from source code, you need the associated devel rpms as well so I am guessing that you need:

gtk+-devel-1.2.10-25.i386.rpm   (Can be downloaded from the above site)

rpm -q gtk+-devel

will tell you if it is already installed. You may also need the glib rpm files. Obviously check what you already have first.

HTH:)
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 13485687
atk and pango also have associated devel rpms that you should probably install.

HTH:)
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 17 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question