TORCS InstallationUnpacking Source PackagesIf you didn't download a certain optional package, simply skip the command. Still as root do:
# cd /usr/src/torcs Building TORCSSo, fasten your seatbelts... we will run the configure script:
# cd /usr/src/torcs/torcs-1.2.4 Optionally you can pass --enable-debug (to build a debug version) and/or --without-xrandr (does not use xrandr extension) as argument to configure. If there are any problems reported, you have to resolve them now. Remember the config.log file which contains detailed information. If you get stuck, don't hesitate and mail to the torcs-users mailing list. Now start building:
# make >& error.log When compiling is done, we check the error.log for... errors, yep. TORCS doesn't stop on compile errors, so you have to be careful. You can search the file for the string "error", if there is no hit, everything is fine. Because configure checkes very well there will be most often no errors, which is good, or quite bizare errors, which is not so good. In case you have SuSE 7.3 and upgraded to XFree86 4.2.0 from SuSE, you have a library in two versions, which will cause a linking error against GLU. Simply delete the file /usr/X11R6/lib/libGLU.a (the right version is in /usr/lib). This is rather strange, because it's a static library. Installing TORCSIf everything worked fine till now, you can relax, the hard part is over. Run the following commands to install TORCS and unpack the data.
# make install |
Back |
Wait, wait, we have still to do some stuff. |