fails to complie on ubuntu emulator

Asked by Jack

launched ma5.py in bin, fails at stage 6, debug file says:

/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 60: cygpath: command not found
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 337: test: command: integer expression expected
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 428: cygpath: command not found
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 567: cygpath: command not found
g++ -Wall -O3 -fPIC -I/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/ -MD -GR -GX -G5 -I'' -o root/TreeReaderBase.o -c root/TreeReaderBase.cpp
g++: error: root/TreeReaderBase.o: No such file or directory
g++: error: unrecognized command line option ‘-GR’; did you mean ‘-R’?
g++: error: unrecognized command line option ‘-GX’; did you mean ‘-X’?
g++: error: unrecognized command line option ‘-G5’
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 60: cygpath: command not found
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 337: test: command: integer expression expected
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 428: cygpath: command not found
/mnt/c/Users/Jack/OneDrive/Documents/MG5_aMC_v3_3_1/MadAnalysis5_v1.9.60/madanalysis5/tools/SampleAnalyzer/ExternalSymLink/Bin/root-config: line 567: cygpath: command not found
make: *** [Makefile_root:90: root/TreeReaderBase.o] Error 1

Is cygpath a command I should have? It doesn't recognise it when I type it in the command line, and when I google it it comes up with a cygwin program for windows.

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

** MadAnalysis 5 has been mitigated to GitHub! If you have any questions or bug reports please refer to the Issues section in our new GitHub repository. Launchpad will no longer be used.

 - GitHub Repository: https://github.com/MadAnalysis/madanalysis5
 - Issues: https://github.com/MadAnalysis/madanalysis5/issues
 - Discussions: https://github.com/MadAnalysis/madanalysis5/discussions
 - Latest MadAnalysis 5 release: https://github.com/MadAnalysis/madanalysis5/releases

Can you help with this problem?

Provide an answer of your own, or ask Jack for more information if necessary.

To post a message you must log in.