Hey Craig,
It's been a while! :)
On 3/16/21 10:54 AM, Craig Leres wrote:
Due to the way FreeBSD packages are built at this point zeek is
installed but in /wrkdirs/usr/ports/security/zeek/work/stage/usr/local,
not /usr/local.
As long as the configure/build process is able to find zeek-config, the
helper script that reports paths for a given Zeek installation, it
shouldn't matter where you have Zeek installed. Is
/wrkdirs/usr/ports/security/zeek/work/stage/usr/local/bin in your PATH?
zeek-config --include_dir should report the right include trees then.
post-install-NETMAP-on:
${LN} -s ../.build ${WRKSRC}/build
cd ${WRKSRC_zeek_netmap} && ./configure --zeek-dist=${WRKSRC} \
--install-root=${STAGEDIR}${PREFIX}/lib/zeek/plugins
cd ${WRKSRC_zeek_netmap}/build && make && make install
This is an aside, but I'd advise against using --zeek-dist unless you
have to build without an installed Zeek tree. While it should work,
source trees shouldn't be required these days to get a build. If you
have Zeek installed and zeek-config in your path, I'd hope that a plain
./configure && cd build && make
will work. If you also need to point at an alternative location for the
Netmap headers, try --with-netmap=.
Let us know how it goes...
Best,
Christian
_______________________________________________
zeek-dev mailing list -- zeek-dev@lists.zeek.org
To unsubscribe send an email to zeek-dev-le...@lists.zeek.org