Wireshark-dev: Re: [Wireshark-dev] Building Wireshark on MAC

From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Thu, 25 Sep 2014 21:11:46 +0200
Thanks,
After running the script I try to run autogen but get

./autogen.sh

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `-' in: --version

Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]

Usage: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]


You must have libtool 1.4 or later installed to compile Wireshark.

Download the appropriate package for your distribution/OS,

or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/


What am I doing wrong?

Regards

Anders


2014-09-23 22:47 GMT+02:00 Evan Huus <eapache@xxxxxxxxx>:
There is a script in git called "macosx-setup.sh" which will take a
while to run but should install all the needed tools, dependencies,
etc.

On Tue, Sep 23, 2014 at 4:45 PM, Anders Broman <a.broman58@xxxxxxxxx> wrote:
> Hi,
> I just got may hands on a MAC book Pro, how do you set it up to build
> Wireshark?
> I didn't find any instruction. I downloaded Xcode but it does not come with
> autoconf.
> Regards
> Anders
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe