Opened 12 years ago

Last modified 12 years ago

#38665 closed defect

Dsniff fails to build on 10.7 — at Version 1

Reported by: michael.komm@… Owned by: cal@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: dsniff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dsniff fails to compile on Lion. I think the problem is somewhere in DB library

port install dsniff
--->  Computing dependencies for dsniff
--->  Building dsniff
Error: org.macports.build for port dsniff returned: command execution failed
Please see the log file for port dsniff for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_dsniff/dsniff/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port dsniff failed

When I run make manually, I get errors linked to the DB library:

/record.c:130:30: error: use of undeclared identifier 'R_NOOVERWRITE'
        if (db->put(db, key, &data, R_NOOVERWRITE) == 0)
                                    ^
./record.c:143:13: error: no member named 'seq' in 'struct __db'
        while (db->seq(db, &key, &data, R_NEXT) == 0) { 
               ~~  ^
./record.c:143:34: error: use of undeclared identifier 'R_NEXT'
        while (db->seq(db, &key, &data, R_NEXT) == 0) { 

and also some linked to NFS:

In file included from ./filesnarf.c:28:
./nfs_prot.h:6:2: error: unterminated conditional directive
#ifndef _NFS_PROT_H_RPCGEN
 ^
./filesnarf.c:38:12: error: use of undeclared identifier 'NFS3_FHSIZE'
        u_char fh[NFS3_FHSIZE];

Change History (2)

Changed 12 years ago by michael.komm@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to cal@…

The log is incomplete; please clean and try again.

I don't think anybody has been able to build dsniff for years; see #23971, though your errors look different.

Try dsniff-devel instead.

Note: See TracTickets for help on using tickets.