please submit the following update and patch was: [Fwd:[MacPorts] #13845: UPDATE: darkstat 3.0.707]

Stefmit stefmit at gmail.com
Mon Jan 7 18:32:31 PST 2008


Per http://trac.macosforge.org/projects/macports/changeset/32564 it seems that 
I have the right Portfile:

$less /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/darkstat/Portfile


PortSystem 1.0

name                darkstat
version             3.0.707
categories          net
platforms           darwin
maintainers         olaf at foellinger.de
description         network traffic analyzer
long_description    \
    darkstat is a network traffic analyzer. It's basically a packet \
    sniffer which runs as a background process on a cable/DSL router and \
    gathers all sorts of useless but interesting statistics.

homepage            http://dmr.ath.cx/net/darkstat/
master_sites        ${homepage}
use_bzip2           yes

checksums           md5 91c70f96498dd679b21330214361e4dc \
                    sha1 a5df521ffbd801b32cb52aaa846fea3448f5750f

configure.cflags-append -include stdint.h

while:

$ sudo port upgrade outdated
--->  Building libpcap with target all
Error: Target org.macports.build returned: shell command " 
cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libpcap/work/libpcap-0.9.8" 
&& make all " returned error 2
Command output: rm -f libpcap.dylib
/usr/bin/gcc-4.0 -dynamiclib -o libpcap.`cat VERSION`.dylib \
                -install_name /opt/local/lib/libpcap.0.dylib \
                -compatibility_version 1.0.0 -current_version `cat VERSION` \
                pcap-bpf.o fad-getad.o pcap.o inet.o gencode.o optimize.o 
nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o  
scanner.o grammar.o version.o  
Undefined symbols:
  "_lex_init", referenced from:
      _pcap_compile in gencode.o
  "_lex_cleanup", referenced from:
      _pcap_compile in gencode.o
      _pcap_compile in gencode.o
  "_pcap_lex", referenced from:
      _pcap_parse in grammar.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libpcap.dylib] Error 1

Error: Unable to upgrade port: 1

What am I missing?

Stefan

On Monday 07 January 2008 18:07:33 Boey Maun Suang wrote:
> http://trac.macosforge.org/projects/macports/changeset/32564


More information about the macports-users mailing list