Compiling SystemC version 2.2 on Ubuntu with new versions of GCC (4.4.x) cause certain issues. The information below will help you resolve these issues. The error you will see is an `aclocal` error.
1
2
3
4
            cd .. && aclocal-1.6
            /bin/sh: aclocal-1.6: command not found
            make: *** [../aclocal.m4] Error 127
            

This means the aclocal used to generate the configuration scripts is an older version, and we need to update it. Make sure you have the autotools installed.

1
2
            $ sudo apt-get install automake autotools-dev autoconf
            

Then simply rerun the commands to generate the scripts.

1
2
3
            $ cd <path-to-systemc-source>
               $ aclocal && autoconf && automake
               

Now you are ready to go ahead and compile following the instructions specified in the documentation.