Having been a long-time Windows-user, I recently decided to give Linux a try by installing Xubuntu 6.06.1 on my secondary computer. The transition was relatively easy, but I have failed at successfully compiling ScummVM on my machine. What I have done so far:
1) Extract the latest version from SVN using
Code: Select all
svn co https://svn.sourceforge.net/svnroot/scummvm scummvm
Code: Select all
svn co https://svn.sourceforge.net/svnroot/scummvm/trunk scummvm
2) Install all the required and optional libraries using Xubuntu's packet manager. (Perhaps "tetex" and "tetex-extra" should be added to the list of required packages from the "Readme" since I got an error message when they were not installed.)
3) Open up a terminal, change the directory to "scummvm/scummvm/trunk" and run "sudo ./configure" to prepare the compiler.
4) Run "sudo make deb"
After step 4) the compiler (gcc 4.0.3) starts working happily for a while, but then it exits with an error message like this one:
Code: Select all
./engines/scumm/intern.h:60: Fehler: long, short, signed oder unsigned ist ungültig für (invalid for)»dr«
./engines/scumm/intern.h:60: Fehler: complex ungültig für »dr«
./engines/scumm/intern.h:60: Fehler: »__restrict__«-Qualifizierer können nicht auf »DetectorResult« angewendet werden (Qualfier cannot be applied to >>DetectorResult<<)
./engines/scumm/intern.h:60: durch frühere Fehler verwirrt, Abbruch (confused by previous errors, exiting)
make[2]: *** [engines/scumm/he/wiz_he.o] Fehler 1
make[2]: Leaving directory `/home/jan/scummvm/scummvm/trunk'
make[1]: *** [scummvm] Fehler 2
make[1]: Leaving directory `/home/jan/scummvm/scummvm/trunk'
make: *** [deb] Fehler 2
Being a linux-newbie and not generally not having a clue about compiling software, I would appreciate any help as to what I may be doing wrong.
Thanks
Jan