<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">'[' denotes an optional argument. If you want that feature, strip the brackets and use it. For your scenario, I suggest you just use the following:<br />
<br />
cmake .. -DCMAKE_BUILD_TYPE=RELEASE<br />
make -j4<br />
make install</div>
<div name="messageSignatureSection"><br />
--
<div>Thanks, Calin</div>
</div>
<div name="messageReplySection"><br />
On Aug 30, 2017, 04:36 -0700, mostafa <mostafaammar@aast.edu>, wrote:<br />
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal">Dear All,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kindly I am trying to run the ipv4_forward example</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">/ipv4_forward$ ./run.sh</p>
<p class="MsoNormal">Entering build directory.</p>
<p class="MsoNormal">Extracting package.</p>
<p class="MsoNormal">Reading package manifest.</p>
<p class="MsoNormal">> p4c-bm2-ss --p4v 16 "ipv4_forward.p4" -o "ipv4_forward.p4.json"</p>
<p class="MsoNormal">sh: 1: p4c-bm2-ss: not found</p>
<p class="MsoNormal">Compile failed.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When following the steps in</p>
<p class="MsoNormal"><a href="https://github.com/p4lang/p4c/blob/master/README.md">https://github.com/p4lang/p4c/blob/master/README.md</a></p>
<p class="MsoNormal">to install compiler I am having an error</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">/ipv4_forward/build$ cmake .. [-DCMAKE_BUILD_TYPE=RELEASE|DEBUG] [-DCMAKE_INSTALL_PREFIX=<path>] [-DENABLE_DOCS=ON (default off)] [-DENABLE_P4RUNTIME_TO_PD=OFF (default on)]</p>
<p class="MsoNormal">-bash: syntax error near unexpected token `('</p>
<p class="MsoNormal"></p>
<p class="MsoNormal">Any help is appreciated.</p>
<p class="MsoNormal"> </p>
</div>
</blockquote>
</div>
</body>
</html>