Assignment 2 - install unit testing framework failed, command not found

167 views
Skip to first unread message

Hou In (Ivan) Tam

unread,
Sep 30, 2020, 8:43:35 PM9/30/20
to cmpt-295-sfu
SFU ID: 301417569
Github username: Iv-T
Line and file: N/A
Expected behavior: Unit testing framework installed
Observed behavior: Install failed
Question:

When I tried to install the unit testing framework on my VM, it gives the following error:

bash ./install-cunit.sh                                                                                                                        
./install-cunit.sh: line 8: cmake: command not found
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

I believe this is due to my VM doesn't have cmake installed.
Should I install cmake? Is there a specific version I need to use?
Or I can simply do "sudo apt install cmake" ?

Parmida Vahdatnia

unread,
Sep 30, 2020, 9:19:00 PM9/30/20
to cmpt-295-sfu
please refer to this page for instructions on installing cmake https://www.osetc.com/en/how-to-install-the-latest-version-of-cmake-on-ubuntu-16-04-18-04-linux.html

Arrvindh Shriraman

unread,
Oct 1, 2020, 2:49:35 AM10/1/20
to cmpt-295-sfu
Thanks; VM has been updated.
You can either do
sudo apt-get install cmake (password: vagrant)
OR 
Download the new VM.
Reply all
Reply to author
Forward
0 new messages