installing wireshark in AIX 6.1

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
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for CAIRO... no
checking for GLIB... no
configure: error:
*** Glib 2.17.3 or better is required. The latest version of
*** Glib is always available from

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.

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

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

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

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?

Who is Participating?
woolmilkporcConnect With a Mentor Commented:
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?
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).

kalyan_arjunAuthor Commented:
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?
woolmilkporcConnect With a Mentor Commented:
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 - , instead of compiling from source! 
kalyan_arjunAuthor Commented:
# 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..

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.