[MacPorts] #36486: kismet @2011-01-R1 build failure
MacPorts
noreply at macports.org
Tue Oct 9 22:52:20 PDT 2012
#36486: kismet @2011-01-R1 build failure
-------------------------+--------------------------
Reporter: varlog82@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: mountainlion
Port: kismet |
-------------------------+--------------------------
Comment (by quantum7@…):
I get this error as well, building on OS 10.8.2. I believe it is a
configuration problem. The macro 'HAVE_SOCKLEN_T' is not being defined,
even though the functions in /usr/include/sys/socket.h require a
socklen_t.
The file config.h does has a commented-out line:
/* #undef HAVE_SOCKLEN_T */
This would be correct, but HAVE_SOCKLEN_T never seems to have been
defined.
A workaround is to wait for the build to fail, then edit
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_kismet/kismet/work/kismet-2011-01-R1/config.h
and add
#define HAVE_SOCKLEN_T 1
Now try to install kismet again and it should complete.
--
Ticket URL: <https://trac.macports.org/ticket/36486#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list