Link to home
Start Free TrialLog in
Avatar of kalyan_arjun
kalyan_arjun

asked on

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
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?


Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

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
Avatar of kalyan_arjun
kalyan_arjun

ASKER

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?
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
# 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..


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial