|
From: Peter B. <das...@gm...> - 2007-08-03 22:13:25
|
On 03/08/07, Fabio Pirola <sup...@ho...> wrote: > hi, > I use Ubuntu 7.04 and I find an error during the installation of torcs. > when I run to the terminal this command line: > $ ./configure # --prefix="target dir", --enable-debug or > --disable-xrandr might be of interest > > I have this error: > > checking for XOpenDisplay in -lX11... no > configure: error: Can't find libX11. Please check config.log and if you > can't solve the problem send the file to tor...@li... > with the subject "torcs compilation problem" > > But I find the solution, change the command line: > $ ./configure # --prefix="target dir", --enable-debug or > --disable-xrandr might be of interest > into this command line: > # ./configure --x-libraries=/to/libs --x-includes=/to/includes > > The game install and run correctly. > I find this solution in this page: > http://www.linuxforums.org/forum/linux-applications/57759-gtk-wont-compile-cant-find-xopendisplay.html > > I think some people have find this problem and my idea is to put this > solution in the page of : TORCS 1.3.0 Download & Installation. The problem is that the configure assumes a variable is set and performs an invalid change if it isn't. It should not assume it is set. Setting it solves it but fixing the script to handle the condition properly solves it in a more usable way. This has passed here at least once before and I've run into it on Slackware too. |