[MacPorts] #15837: snort-2.6.1.5 build error
MacPorts
noreply at macports.org
Thu Jul 3 06:01:58 PDT 2008
#15837: snort-2.6.1.5 build error
---------------------------------+------------------------------------------
Reporter: wustenfuchs at mac.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: snort build error |
---------------------------------+------------------------------------------
2003 Apple Macintosh G4 Powerbook 12" - Mac OS-X 10.3.9 - XCode 1.5 -
MacPorts 1.6.0
Terminal output as follows:
{{{
ROMMEL:~ Rommel$ sudo port -Rdst install snort
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/snort
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/snort
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
DEBUG: Searching for dependency: pcre
DEBUG: Found Dependency: receipt exists for pcre
---> Fetching snort
---> Attempting to fetch snort-2.6.1.5.tar.gz from
http://www.snort.org/dl/current/
% Total % Received % Xferd Average Speed Time
Curr.
Dload Upload Total Current Left
Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:--
0
---> Attempting to fetch snort-2.6.1.5.tar.gz from
http://www.snort.org/dl/old/
% Total % Received % Xferd Average Speed Time
Curr.
Dload Upload Total Current Left
Speed
100 3637k 100 3637k 0 0 4941 0 0:12:33 0:12:33 0:00:00
4910
---> Verifying checksum(s) for snort
---> Extracting snort
---> Applying patches to snort
---> Configuring snort
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
trace: access denied to /opt/local/lib/libpcap.dylib (libpcap)
trace: access denied to /opt/local/lib/libpcap.dylib (libpcap)
---> Building snort with target all
DEBUG: Found port in
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pcre
trace: access denied to /opt/local/include/pcap.h (libpcap)
trace: access denied to /opt/local/include/pcap-bpf.h (libpcap)
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_snort/work/snort-2.6.1.5"
&& make all " returned error 2
Command output: ../../src/decode.h:897: warning: data definition has no
type or storage class
../../src/decode.h:898: error: parse error before "ip6_un1_hlim"
../../src/decode.h:898: warning: type defaults to `int' in declaration of
`ip6_un1_hlim'
../../src/decode.h:898: warning: data definition has no type or storage
class
../../src/decode.h:899: warning: type defaults to `int' in declaration of
`ip6_un1'
../../src/decode.h:899: warning: data definition has no type or storage
class
../../src/decode.h:900: error: parse error before "ip6_un2_vfc"
../../src/decode.h:900: warning: type defaults to `int' in declaration of
`ip6_un2_vfc'
../../src/decode.h:900: warning: data definition has no type or storage
class
../../src/decode.h:901: warning: type defaults to `int' in declaration of
`ip6_ctlun'
../../src/decode.h:901: warning: data definition has no type or storage
class
../../src/decode.h:905: error: parse error before '}' token
../../src/decode.h:905: warning: type defaults to `int' in declaration of
`IP6Hdr'
../../src/decode.h:905: warning: data definition has no type or storage
class
../../src/decode.h:917: error: parse error before "uint8_t"
../../src/decode.h:917: warning: no semicolon at end of struct or union
../../src/decode.h:918: warning: type defaults to `int' in declaration of
`ip6f_reserved'
../../src/decode.h:918: warning: data definition has no type or storage
class
../../src/decode.h:919: error: parse error before "ip6f_offlg"
../../src/decode.h:919: warning: type defaults to `int' in declaration of
`ip6f_offlg'
../../src/decode.h:919: warning: data definition has no type or storage
class
../../src/decode.h:920: error: parse error before "ip6f_ident"
../../src/decode.h:920: warning: type defaults to `int' in declaration of
`ip6f_ident'
../../src/decode.h:920: warning: data definition has no type or storage
class
../../src/decode.h:921: warning: type defaults to `int' in declaration of
`IP6Frag'
../../src/decode.h:921: warning: data definition has no type or storage
class
make[3]: *** [spo_alert_fast.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
Anybody know what is happening here?
--
Ticket URL: <http://trac.macports.org/ticket/15837>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list