[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bro
Subject:    [Zeek] zeek 4.0.3 'configure' error (building a plugin)
From:       "Brett D. Rasmussen via zeek" <zeek () lists ! zeek ! org>
Date:       2021-08-18 6:51:27
Message-ID: BY5PR09MB4930A54AB5CEDD337A6DAF2FE9FF9 () BY5PR09MB4930 ! namprd09 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello.
I recently upgraded from zeek-4.0.0-rc3 to zeek-4.0.3.

While recompiling a protocol plugin, I ran into an error
using the ./configure command.  I don't think that
this error occurred before, under the zeek-4.0.0.rc3 version.

(Please see the attached write-up file.)

Any insights would be greatly appreciated.

Thanks,


Brett Rasmussen
Cyber Security Researcher
Supporting the CISA Advanced Analytical Lab

Phone: (208) 526-5486
Fax: (208) 526-6173
Email: Brett.Rasmussen@inl.gov<mailto:Jan.Wright@inl.gov>


[Attachment #5 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Hello.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> I recently upgraded from \
zeek-4.0.0-rc3 to zeek-4.0.3.</div> <div style="font-family: Calibri, Arial, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> While recompiling a \
protocol plugin, I ran into an error</div> <div style="font-family: Calibri, Arial, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);"> using the ./configure command.&nbsp; I don't think \
that&nbsp;</div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> this \
error occurred before, under the zeek-4.0.0.rc3 version.</div> <div \
style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: \
rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> &nbsp;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> (Please see the attached \
write-up file.)</div> <div style="font-family: Calibri, Arial, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Any insights would be \
greatly appreciated.</div> <div style="font-family: Calibri, Arial, Helvetica, \
sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, \
255);"> <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Thanks,</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; \
color: rgb(0, 0, 0);"> <br>
</div>
<div id="Signature">
<div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: \
Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);"> <p style="margin-top:0px; \
margin-bottom:0px; margin-top:0; margin-bottom:0"><span \
id="ms-rterangepaste-start"></span><span style="color: rgb(33, 33, 33); font-family: \
wf_segoe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, \
sans-serif, serif, EmojiFont; font-size: 15px;">Brett  Rasmussen&nbsp;</span><br \
style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, &quot;Segoe UI&quot;, \
&quot;Segoe WP&quot;, Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;"> \
<span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, &quot;Segoe \
UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif, serif, EmojiFont; \
font-size: 15px;">Cyber Security Researcher</span><br style="color: rgb(33, 33, 33); \
font-family: wf_segoe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, \
Arial, sans-serif, serif, EmojiFont; font-size: 15px;"> <span style="color: rgb(33, \
33, 33); font-family: wf_segoe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, \
Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;">Supporting the CISA \
Advanced Analytical Lab</span><br style="color: rgb(33, 33, 33); font-family: \
wf_segoe-ui_normal, &quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, \
sans-serif, serif, EmojiFont; font-size: 15px;"> </p>
<p style="margin-top: 0px; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, \
&quot;Segoe UI&quot;, &quot;Segoe WP&quot;, Tahoma, Arial, sans-serif, serif, \
                EmojiFont; font-size: 15px; margin-bottom: 0in;">
Phone: (208) 526-5486<br>
Fax: (208) 526-6173<br>
Email:&nbsp;<a href="mailto:Jan.Wright@inl.gov" target="_blank" rel="noopener \
noreferrer" title="mailto:Jan.Wright@inl.gov Ctrl+Click or tap to follow the \
link">Brett.Rasmussen@inl.gov</a></p> <span id="ms-rterangepaste-end"></span><br>
<p style="margin-top:0px; margin-bottom:0px"></p>
</div>
</div>
</div>
</div>
</body>
</html>


["zeek_4.0.3_configure_error.txt" (text/plain)]


===================================
Zeek 4.0.3 plugin 'configure' error
===================================


I recently upgraded my system from zeek-4.0.0-rc3 to zeek-4.0.3 .

After upgrading to zeek-4.0.3, I tried to rebuild a Zeek plugin that I've developed.

From the following directory \
(/Users/ddragos/Downloads/dev/ics_zeek_parsers/zeek_profinet_io_parser), I  ran the \
                following command:
  ./configure --enable-debug


The above ./configure command output the following error message:
  Either 'zeek-config' must be in PATH or '--zeek-dist=<path>' used


My PATH variable was set to the following, before I executed the ./configure command:
  /Users/ddragos/Downloads/dev/zeek-4.0.3/build/src:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/usr/local/zeek/bin:/Library/Apple/usr/bin


I then added the 'zeek-config' path, to the O.S. system PATH: i.e.

  /Users/ddragos/Downloads/dev/zeek-4.0.3/build:/Users/ddragos/Downloads/dev/zeek-4.0. \
3/build/src:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/usr/local/zeek/bin:/Library/Apple/usr/bin



I then re-ran the command:
  ./configure --enable-debug

which produced the following error message:
----------------------------------------------------------------------------

Build Directory        : build
Zeek Source Directory   : 
CMake Error at CMakeLists.txt:5 (include):
  include could not find load file:

    ZeekPlugin


CMake Error at CMakeLists.txt:7 (zeek_plugin_begin):
  Unknown CMake command "zeek_plugin_begin".


-- Configuring incomplete, errors occurred!
See also "/Users/ddragos/Downloads/dev/ics_zeek_parsers/zeek_profinet_io_parser/build/CMakeFiles/CMakeOutput.log".
 See also "/Users/ddragos/Downloads/dev/ics_zeek_parsers/zeek_profinet_io_parser/build/CMakeFiles/CMakeError.log".
                
----------------------------------------------------------------------------


I then ran the following command, which worked correctly:

  ./configure --enable-debug --zeek-dist=/Users/ddragos/Downloads/dev/zeek-4.0.3


Any ideas on why the command:
    ./configure --enable-debug

failed? I used to frequently use this command (under version zeek-4.0.0-rc3) without \
any errors.

Thanks,

--Brett R.



--
zeek mailing list -- zeek@lists.zeek.org
To unsubscribe send an email to zeek-leave@lists.zeek.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic