Wireshark-users: Re: [Wireshark-users] Build just command line tools for AIX
From: Perry Smith <pedzsan@xxxxxxxxx>
Date: Mon, 19 Dec 2016 08:48:57 -0600
> On Dec 14, 2016, at 3:52 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> 
> On Dec 14, 2016, at 11:29 AM, Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> wrote:
> 
>> Fundamentally you want to start with "./configure --disable-wireshark" to disable the GUI.  Of course you'll still need quite a number of libraries (such as glib2) and programs (such as Python) but the list should be a lot shorter without the GUI.
> 
> The configure script should fail, with the appropriate error, if a program or library that's required isn't available.
> 
> There are also optional libraries that are necessary for certain capabilities.
> 
>> There are also READMEs (including README.aix) in the source code that are worth checking out.
> 
> README.aix hasn't been updated in a long time, and is probably quite out of date.

I got glib built with gcc without any hassle except for one -b bigtoc addition.

Started building wireshark without the GUI.  One hiccup is the configure script found LIBPCAP so it defined HAVE_LIBPCAP.  But one file was asking for PCAP_ERROR which is not defined in AIX (this is AIX 6.1).

I pulled down the latest libpcap, built it, and kicked off another try with wireshark.

About the only thing I need to modify is to add one -Wl,-bbigtoc to one of the strings in the Makefile.  I don’t know how to do this properly so that it applies only to AIX.

Do you want me to open a bug report?

Perry