ModusToolbox Linux Post-Install Script returns Make Not Found.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
HomePro
Level 1
Level 1
First like received First question asked Welcome!

Is there a list of required make files or instructions on how to set CY_TOOLS_PATH?

Following Linux installation of ModusToolbox 2.2 and the 2.2.1 patch on a Ubuntu 20.10 system. Everything appears to work. The Post-Install Script run from a terminal returns "make not found".

When I open ModusToolbox IDE, all looks good until I click "New Application", which puts the following text into the Console of ModusToolbox IDE, "Unable to find tools information: Cannot run program "<my_path>/ModusToolbox/tools_2.2/modus-shell/bin/make" Is the CY_TOOLS_PATH set correctly?"

Then when attempting to create a new application, a specific make file can't be found:

Project creation command to be executed:

/home/<user_name>/ModusToolbox/tools_2.2/project-creator/bin/project-creator-cli --board-id CY8CKIT-062-WIFI-BT --board-uri https://github.com/cypresssemiconductorco/TARGET_CY8CKIT-062-WIFI-BT --board-commit latest-v2.X --app-id mtb-example-psoc6-capsense-buttons-slider-freertos --app-uri https://github.com/cypresssemiconductorco/mtb-example-psoc6-capsense-buttons-slider-freertos --app-commit latest-v2.X --user-app-name CapSense_Buttons_and_Slider_FreeRTOS --target-dir /home/<user_name>/Documents/PSoC64_A/MTBa --output-for-machine --use-modus-shell

 

"make -f get_tool_info.mk get_tool_info" failed: execvp: No such file or directory

Getting manifest...

 

 

1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @HomePro ,

Did you extract the ModusToolbox_2.2.1.xxxx-linux-install.tar.gz file into the existing directory
where the ModusToolbox 2.2 tools package was installed? Do you see these files in this folder as shown in the figure?

DheerajK_81_0-1612859328054.png
Looks like it is not able to detect the tools directory which contains all the makefiles. Please refer to the Section 3.4.4 Specifying Alternate Tools Version in this User Guide to understand how you can manually set the variables to point to the tools directory.

Hope this helps 🙂

Regards,
Dheeraj

View solution in original post

0 Likes
1 Reply
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @HomePro ,

Did you extract the ModusToolbox_2.2.1.xxxx-linux-install.tar.gz file into the existing directory
where the ModusToolbox 2.2 tools package was installed? Do you see these files in this folder as shown in the figure?

DheerajK_81_0-1612859328054.png
Looks like it is not able to detect the tools directory which contains all the makefiles. Please refer to the Section 3.4.4 Specifying Alternate Tools Version in this User Guide to understand how you can manually set the variables to point to the tools directory.

Hope this helps 🙂

Regards,
Dheeraj

0 Likes