Opened 14 years ago

Closed 14 years ago

#25168 closed defect (invalid)

dsniff-devel installation on mac os snow leopard

Reported by: euj104@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: dsniff-devel

Description (last modified by jmroot (Joshua Root))

I am trying to install dsniff-devel on snow Leopard and I am getting the following:

MacPorts 1.8.2
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/evens] > install dsniff-devel
--->  Computing dependencies for dsniff-devel
--->  Building dsniff-devel
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_dsniff-devel/work/dsniff-2.4" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2 -O2 -DBIND_8_COMPAT -arch x86_64 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I./missing -c ./record.c
/usr/bin/gcc-4.2 -O2 -DBIND_8_COMPAT -arch x86_64 -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I/opt/local/include  -I./missing -c ./decode.c
./record.c: In function 'xdr_rec':
./record.c:45: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
./record.c:46: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
./record.c:47: warning: passing argument 2 of 'xdr_u_long' from incompatible pointer type
./record.c: In function 'record_save':
./record.c:133: error: 'R_NOOVERWRITE' undeclared (first use in this function)
./record.c:133: error: (Each undeclared identifier is reported only once
./record.c:133: error: for each function it appears in.)
./record.c:133: warning: passing argument 2 of 'db->put' from incompatible pointer type
./record.c:133: error: too few arguments to function 'db->put'
./record.c: In function 'record_dump':
./record.c:146: error: 'DB' has no member named 'seq'
./record.c:146: error: 'R_NEXT' undeclared (first use in this function)
./record.c: In function 'record_init':
./record.c:170: warning: assignment makes pointer from integer without a cast
./record.c: In function 'record_close':
./record.c:209: error: too few arguments to function 'db->close'
make: *** [record.o] Error 1
make: *** Waiting for unfinished jobs....

Error: Status 1 encountered during processing.

I looked everywhere for a possible fix to no avail. Any recommendations as to how to proceed and finalize the installation would be greatly appreciated. Please CC me. Thanks....

Change History (4)

comment:2 in reply to:  1 Changed 14 years ago by jmroot (Joshua Root)

Cc: euj104@… removed
Description: modified (diff)

Please remember to preview and use WikiFormatting, and note that you do not need to be in cc when you are the reporter.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

There are many other occurrences of the error "'R_NEXT' undeclared" reported here, which I believe have all come down to having something conflicting installed in /usr/local, which is why our recommendation is to make sure you have nothing in /usr/local. Move or remove anything you have there, then clean the port (sudo port clean dsniff-devel) and try again.

comment:4 Changed 14 years ago by euj104@…

Thanks for the help. I got it to work through some other means. I appreciate the comments...

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.