Solved

installing wireshark in AIX  6.1

Posted on 2010-08-29
5
1,922 Views
Last Modified: 2012-05-10
I am trying to install wireshark in AIX 6.1 server. For this to install, there are so many packages i need to install and did most of them that are required(i think).

when i tried to install wireshark, it is giving the followin error:

checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compiled

I tried to install gtk+-2.4.0 and, it is giving the following error:

checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... Package pango was not found in the pkg-config search path. Perhaps you should add the directory containing `pango.pc' to the PKG_CONFIG_PATH environment variable No package 'pango' found
configure: error: Library requirements (glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.


when i tried to install the pango, it is giving me the following error:

checking pkg-config is at least version 0.9.0... yes
checking for FONTCONFIG... no
no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for CAIRO... no
no
checking for GLIB... no
configure: error:
*** Glib 2.17.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.

i downloaded the Glib package and i am run the ./configure command successfully and now, i am getting  this error:

ECATED                  -DGLIB_COMPILATION              -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread   -g -O2 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c -o gconvert.lo gconvert.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -g -O2 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c gconvert.c  -DPIC -o .libs/gconvert.o
gconvert.c:52:2: error: #error GNU libiconv in use but included iconv.h not from libiconv
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.

I am new to this installation and want to find out, how to proceed with this error?


0
Comment
Question by:kalyan_arjun
  • 3
  • 2
5 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33553299
libiconv is part of AIX, but someone additionally installed GNU libiconv on your system.

So either deinstall GNU libiconv or set your LIBPATH to explicitly contain /usr/lib preceeding any other library (not sure whether the latter will help, however).

wmp
0
 

Author Comment

by:kalyan_arjun
ID: 33557934
i set the path to /usr/lib
# whereis libiconv
libiconv: /usr/lib/libiconv.a

and still getting the same error.

How would i know to find other libiconv.a is installed on this machine so that i could uninstall?
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 33558234
If installed via rpm:
rpm -qa | grep -i libiconv , then rpm -e ...
else search /usr/local/*
Maybe you could try "./configure --without-libiconv" ?
Perhaps it could actually help to get rid of G_DISABLE_SINGLE_INCLUDES. Check config.h(.in), but again, not sure about this!
The ultimate solution could be installing wireshark and all its prerequisites as binary RPMs from here - www.perzl.org , instead of compiling from source!
http://www.perzl.org/aix/index.php?n=Main.Wireshark 
wmp
0
 

Author Comment

by:kalyan_arjun
ID: 33559390
# rpm -qa | grep -i libiconv
#
It is part of the /usr/local and i had set the LIBPATH.

Tried /configure --without-libiconv and it failed

checking for iconv_open... no
configure: error: *** No iconv() implementation found in C library or libiconv

I am not sure how to proceed further..


0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 33559459
Which "make" do you use?
It often helps to use GNU make (gmake) instead of AIX's make from "bos.adt"
unset LIBPATH is always a good idea.
Do you  run "make clean" and do you remove "config.cache" before starting a new attempt?
How about installing everything via binary rpm from the site I posted?
 
 
 
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

773 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