Dear MG5 experts
I have installed gfortran/gcc 8.1.0 and python 2.7 on my Mac.
I am following the tutorial on feynrules/madgraph 2018 school: https://indico.ihep.ac.cn/event/7822/page/6
I did all the steps up to point 2.4 where I open the shell (MG5_aMC>)
Not I try to install pythia8 by calling 'install pythia8' and I get back the following message:
"You are installing 'pythia8', please cite ref(s): arXiv:1410.3012.
Downloading the HEPToolInstaller at:
http://madgraph.phys.ucl.ac.be/Downloads/HEPToolsInstaller/HEPToolsInstaller_V118.tar.gz
LHAPDF was not found. Do you want to install LHPADF6? (recommended) y/n >[y] [60s to answer]
"
so I enter "y" and then I get:
"...failed darwin.compile.c++ bin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi/cpu_timer.o...
...skipped <pbin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi>libboost_timer.a(clean) for lack of <pbin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi>auto_timers_construction.o...
...skipped <pbin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi>libboost_timer.a for lack of <pbin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi>auto_timers_construction.o...
...skipped <p/Users/MarcoAntonio/Documents/MG5_aMC_v2_6_5/HEPTools/boost/lib>libboost_timer.a for lack of <pbin.v2/libs/timer/build/darwin-8.1.0/release/link-static/threading-multi>libboost_timer.a...
darwin.compile.c++ bin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi/test_main.o
In file included from ./boost/config.hpp:48,
from ./boost/detail/workaround.hpp:41,
from ./boost/test/utils/basic_cstring/basic_cstring_fwd.hpp:19,
from ./boost/test/utils/basic_cstring/basic_cstring.hpp:20,
from ./boost/test/detail/global_typedef.hpp:15,
from ./boost/test/framework.hpp:17,
from ./boost/test/impl/test_main.ipp:17,
from libs/test/src/test_main.cpp:13:
./boost/config/stdlib/libstdcpp3.hpp:78:12: fatal error: unistd.h: No such file or directory
# include <unistd.h>
^~~~~~~~~~
compilation terminated.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pedantic -gdwarf-2 -fexceptions -Wno-long-long -arch x86_64 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TIMER_STATIC_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi/test_main.o" "libs/test/src/test_main.cpp"
...failed darwin.compile.c++ bin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi/test_main.o...
...skipped <pbin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi>libboost_test_exec_monitor.a(clean) for lack of <pbin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi>compiler_log_formatter.o...
...skipped <pbin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi>libboost_test_exec_monitor.a for lack of <pbin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi>compiler_log_formatter.o...
...skipped <p/Users/MarcoAntonio/Documents/MG5_aMC_v2_6_5/HEPTools/boost/lib>libboost_test_exec_monitor.a for lack of <pbin.v2/libs/test/build/darwin-8.1.0/release/link-static/threading-multi>libboost_test_exec_monitor.a...
...failed updating 404 targets...
...skipped 314 targets...
Finished installing boost
> Now aborting installation of tool 'lhapdf6'.
Command "install pythia8" interrupted with error:
InvalidCmd : Installation of lhapdf6 failed."
I have also seen related questions where it is advised to install boost, then lhapdf6 and then pythia8 but that approach didn't work either.
Could you tell me how can I solve this issue?
Thanks