ports/87889: security/firewalk fails to compile.
Jonatan B
onatan at gmail.com
Fri Nov 4 14:30:20 UTC 2005
The following reply was made to PR ports/87889; it has been noted by GNATS.
From: Jonatan B <onatan at gmail.com>
To: bug-followup at freebsd.org
Cc: =?ISO-8859-1?Q?Jos=E9_M=2E_Fandi=F1o?= <freebsd at fadesa.es>,
Edwin Groothuis <edwin at freebsd.org>
Subject: Re: ports/87889: security/firewalk fails to compile.
Date: Fri, 4 Nov 2005 16:26:36 +0200
On 11/4/05, Jos=E9 M. Fandi=F1o <freebsd at fadesa.es> wrote:
> Jonatan B wrote:
> >
> > It appears you are trying to install firewalk with libnet
> > 1.0.2 (net/libnet) and not 1.1.2.1 (net/libnet-devel). It's weird,
> > because firewalk is dependant on an include file that exists
> > only in the latter, and not the former (include/libnet/libnet-types.h).
> > so I guess this file was left over in your filesystem from a previous
> > installation, or something like that.
> > You can see what version of libnet you have currently installed using:
> > pkg_info | grep libnet
> > and you can remove it with:
> > pkg_delete libnet\*
> >
> > Try deleting libnet, verify that libnet-types.h was not left behind,
> > and then try reinstalling the port.
>
> you are right, libnet was left in the system by some previous port.
>
> However the port doesn't seems to detect the correct library
> version. I don't know the correct fix for this, perhaps
> defining LIB_DEPENDS to libnet-devel.
This was the goal of the last update to this port. The BUILD_DEPENDS
relevant line is:
${LOCALBASE}/include/libnet/libnet-types.h:${PORTSDIR}/net/libnet-devel
and libnet-types.h doesn't exist in libnet 1.0.2.
I tried LIB_DEPENDS and couldn't make it know the difference between
the libnets. Thanks for te heads-up, though. I verified it on my other port=
s.
Edwin, this PR can be closed now, thank you for listening. :)
More information about the freebsd-ports-bugs
mailing list