Opened 19 years ago

Closed 19 years ago

#4278 closed defect (invalid)

'port install dsniff' dies because byte order has not been specified: LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN isn't set.

Reported by: zekeonfire.news@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

When I try to install dsniff, it dies:

$ sudo port install dsniff ---> Building dsniff with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_net_dsniff/work/ dsniff-2.3" && make all" returned error 2 Command output: gcc -DBIND_8_COMPAT -D_BSD_SOURCE -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/ include -I./missing -c ./arpspoof.c In file included from arpspoof.c:20: /opt/local/include/libnet.h:87:2: #error "byte order has not been specified, you'll need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the documentation regarding the libnet-config script." make: * [arpspoof.o] Error 1

Here are the relevant libraries I have installed:

autoconf 2.59_0 (active) automake 1.9.5_0 (active) libnet 1.0.2a_3 (active) libnet11 1.1.2.1_0 libnids 1.20_0 (active) libpcap 0.8.3_3 (active)

I am not a C coder, but I looked in the libnet-config script and it looked like LIBNET_BIG_ENDIAN was set.

Thanks for all you do.

JT

Change History (1)

comment:1 Changed 19 years ago by zekeonfire.news@…

Resolution: invalid
Status: newclosed

Ok. So i did a 'sudo port clean dsniff' and cleaned everything out. I tried to install again and got a different bug. Disregard this one, I will post it as a new bug, so it is identified better.

Note: See TracTickets for help on using tickets.