IBM Support

Build gives error: "IOException: Cannot run program "make" "

Troubleshooting


Problem

When you attempt to build a transformation configuration (TC) in IBM® DevOps Model RealTime® (Model RT), the build fails with an IOException: Cannot run program "make" error.

Symptom

The following is the error output:

ERROR : java.io.IOException: Cannot run program "make"
(in directory "C:\Users\[USER NAME]\eclipse-workspace\
test\rteProj_target\default"): CreateProcess error=2, 
The system cannot find the file specified at 
java.base/java.lang.ProcessBuilder.start
(ProcessBuilder.java:1143) at 
java.base/java.lang.ProcessBuilder.start
(ProcessBuilder.java:1073) at 
java.base/java.lang.Runtime.exec(Runtime.java:594) at 
com.ibm.xtools.modelcompiler.driver.make.
CommandLauncher.execute(CommandLauncher.java:164) at 
com.ibm.xtools.modelcompiler.driver.make.
CommandLauncher.execute(CommandLauncher.java:139) at 
com.ibm.xtools.modelcompiler.driver.make.
Builder.build(Builder.java:138) at 
com.ibm.xtools.modelcompiler.driver.
ModelCompiler.run(ModelCompiler.java:855)
 at com.ibm.xtools.modelcompiler.driver.
ModelCompiler.runModelCompilerTask
(ModelCompiler.java:1454) at 
com.ibm.xtools.modelcompiler.driver.
impl.ModelCompilerServer.
lambda$1(ModelCompilerServer.java:321) 
at java.base/java.util.concurrent.
ForkJoinTask$AdaptedRunnableAction.exec
(ForkJoinTask.java:1375) at java.base/java.util.
concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) 
at java.base/java.util.
concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) 
at java.base/java.util.
concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) 
at java.base/java.util.
concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) 
at java.base/java.util.
concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) 
Caused by: java.io.IOException: CreateProcess error=2, 
The system cannot find 
the file specified at 
java.base/java.lang.
ProcessImpl.create
(Native Method) 
at java.base/java.lang.
ProcessImpl.(ProcessImpl.java:499)
at java.base/java.lang.
ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.
ProcessBuilder.start(ProcessBuilder.java:1110) 
... 14 more 11:40:57 :

ERROR : Compilation failed


Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSSID6C","label":"IBM DevOps Model RealTime"},"ARM Category":[{"code":"a8m0z000000bmgsAAA","label":"Rational Software Architect Realtime Edition-\u003ETransformation-\u003ERealTime C++-\u003EModel Compiler"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM DevOps Model RealTime

Component:
Rational Software Architect Realtime Edition->Transformation->RealTime C++->Model Compiler

Software version:
All Versions

Document number:
7178374

Modified date:
10 December 2024

UID

ibm17178374

Manage My Notification Subscriptions