you need to install GCC Development Tools. After that this error will go off. I spent couple of days figuring this out. Its a bug that occurs if development tools are not installed.
On Tue, Jan 9, 2018 at 10:09 PM, Otto Fowler <ottobackwa...@gmail.com> wrote: > Laurens got to it actually. > > > On January 9, 2018 at 11:51:58, Ryan Merriman (merrim...@gmail.com) wrote: > > Thanks Otto you beat me to it. Was this not added to our documentation? > > On Tue, Jan 9, 2018 at 10:50 AM, Otto Fowler <ottobackwa...@gmail.com> > wrote: > >> As answered on irc, updating gcc got Tarik by this. Laurens FTW! >> >> >> On January 9, 2018 at 11:24:47, Tarik Courdy (tarik.cou...@gmail.com) >> wrote: >> >> Here is the output of the platform_info.sh >> >> Thank you. >> >> -Tarik >> >> On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <tarik.cou...@gmail.com> >> wrote: >> >>> Good morning - >>> >>> I am trying to follow this guide >>> <https://cwiki.apache.org/confluence/display/METRON/Metron+0.4.1+with+HDP+2.5+bare-metal+install+on+Centos+7+with+MariaDB+for+Metron+REST> >>> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7. >>> >>> I am able to get to the section titled "Build Metron Code" and then I >>> fail on this command: >>> >>> > >>> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack >>> >>> >>> I have attached the stack trace at the point where the error is >>> encountered. >>> >>> I have also attached the npm-debug.log >>> >>> I looked at the package.json file in >>> /home/admin/metron/metron-interface/metron-config/ >>> and noticed that tough-cookie is not listed as a dependency. >>> >>> I tried npm install tough-cookie in that directory and when I re-run the >>> mvn command it doesn't fail on the tough-cookie dependency, but it does >>> fail on another missing dependency. >>> >>> If there is any insight you could provide to help me get metron set up, >>> it would be greatly appreciated. >>> >>> Thank you for your time. >>> >>> -Tarik >>> >> >> > -- With Regards Farrukh Naveed Anjum