Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

installing wireshark in AIX  6.1

Posted on 2010-08-29
5
Medium Priority
?
2,024 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

618 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