Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 28653: /trunk/ /trunk/: acinclude.m4
From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Mon, 8 Jun 2009 16:48:44 +0200
On Mon, Jun 8, 2009 at 4:12 AM, <guy@xxxxxxxxxxxxx> wrote:
> Log:
>  Check for a pcap-config script (as provided by libpcap 1.x) and, if we
>  find it, use it to determine where to find libpcap and what additional
>  libraries it requires.

Do you get this working on OSX?  It does not work for me with
"./configure --prefix=/opt/local", and I get this errors in
config.log:

configure:17601: checking whether pcap_version is defined by libpcap
configure:17630: gcc -o conftest -no-cpp-precomp
-D_U_="__attribute__((unused))" -g -O2 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Wcast-align -Wformat-security -I/opt/local/include
-I/usr/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
-I/opt/local/include/cairo -I/opt/local/include/pango-1.0
-I/opt/local/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -I
/opt/local/include  -I/opt/local/include -I/usr/local/include -I
/opt/local/include -Wl,-search_paths_first  -L/opt/local/lib
-L/usr/local/lib conftest.c -L /opt/local/lib -lpcap     >&5
ld: in /opt/local/lib, can't map file, errno=22
collect2: ld returned 1 exit status


-- 
Stig Bjørlykke