The parts with light-blue background have to be executed as your normal user, where the parts with light-red background have to be executed as root (invoked with “su”, NOT“su -“ to prevent switching to the root homedir and environment)

Please note:

For compiling under Cygwin, you NEED to omit all lines with “su” or “exit”

This may have to be “sudo bash” in some OSes or distros which do not allow root login by default (Mac OSX or Ubuntu for example).

According to the current ScummVM maintainers, libmpeg2 isn’t needed anymore; so you have two options:
* Compile libmpeg2 with “–disable-sdl”
or
* Compile ScummVM without mpeg2 support, so that libmpeg2 isn’t needed at all.