makefilesystemc

Makefile:77: *** missing separator. Stop


Hi I am trying to install systemC on WSL2, when I run sudo make I seem to be getting this error

Making all in src
make[1]: Entering directory '/home/ryans/systemc-2.3.4/src'
Makefile:77: *** missing separator.  Stop.
make[1]: Leaving directory '/home/ryans/systemc-2.3.4/src'
make: *** [Makefile:557: all-recursive] Error 1

I have looked at answers, solution 1 and solution2 but they don't seem to apply to my case because the file in question do not have a space or a tab at line 77.

enter image description here


Solution

  • Seems like the right way to install systemC on WSL is the run the following commands in the uncompressed .tar folder,

    sudo aclocal
    sudo automake --add-missing
    sudo autoupdate
    

    before making the objdir with the other instructions can be followed here.