Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] macosx-setup.sh fails now

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 22 Jan 2015 03:04:04 -0800
On Jan 22, 2015, at 1:08 AM, Anders Broman <a.broman58@xxxxxxxxx> wrote:

> Hi,
> I reran the script and now it fails...
> :
> Making install in .
>  ./install-sh -c -d '/usr/local/bin'
>   /bin/sh ./libtool   --mode=install /usr/bin/install -c pkg-config '/usr/local/bin'
> libtool: install: /usr/bin/install -c pkg-config /usr/local/bin/pkg-config
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  install-exec-hook
> cd /usr/local/bin && ln pkg-config x86_64-apple-darwin13.4.0-pkg-config
> ln: x86_64-apple-darwin13.4.0-pkg-config: File exists

	https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8855

Not a new problem.  I don't know why /usr/local/bin/pkg-config is there, if pkg-config hasn't been installed, or why it's trying to install it if it *is* installed, but try removing /usr/local/bin/pkg-config and then re-running the script.

Then, if the script completes successfully, try running it again to make sure it doesn't try installing pkg-config again.