|
From: Paul T. <pl...@in...> - 2007-10-11 12:52:35
|
On Thu, 11 Oct 2007 07:38:24 +0200 Stephan Kempkes <ske...@xs...> wrote: > On Thu, 2007-10-11 at 15:03 +1000, Paul Trevethan wrote: > > On Thu, 11 Oct 2007 02:50:51 +0200 > > Bernhard Wymann <be...@bl...> wrote: > > > > > Hi Paul > > > > > > > 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" > > > > > > If the configure script does not find the X11 library or include > > > files you can pass the location as parameter to the configure > > > script, example: ./configure --x-libraries=/usr/lib/ > > > ./configure --x-libraries=/usr/lib/ --x-includes=/usr/include/X11/ > > > > > > Bye, Bernhard. > > > > > > > Hi Bernhard, > > > > I added your suggested parameters and it got me past the original > > error only to fall over on the following: > > > > checking for XRenderSetSubpixelOrder in -lXrender... no > > configure: error: Can't find libXrandr. Please check config.log and > > if you can't solve the problem send the file to > > tor...@li... with the subject "torcs > > compilation problem" > > > > I had a look and (same as before) I have the required library I > > think: > > > > $ locate libXrandr > > /usr/lib/libXrandr.so.2 > > /usr/lib/libXrandr.so.2.0.0 > > > > >From the README I tried the configure again with the > > >--disable-xrandr > > and it still falls over; but disabling is different to finding in > > the 1st place. It has to find it to disable it I guess. > > > > I get a bit lost with all this required library stuff, I can follow > > it when given instructions but I don't do enough to know how to > > track down problems too well. I only try it when I really want an > > app. > > > > I have a .deb file from a Ubuntu distro. I might see if I can > > "alien" convert it to an rpm that will work. As well, pclinuxos is > > based on Mandriva so I might be able to find an rpm there that will > > work. Finding a 1.3 version that is accessible would be nice. > > > > I have no idea why the distro makers left out such a popular game - > > I have asked them about that. > > > > Thanks for the guidance. Any further thoughts most welcome. > > > > Paul. > Hi Paul, > > Xrender is probably is missing. I added this to the bug tracker: > http://sourceforge.net/tracker/index.php?func=detail&aid=1674545&group_id=3777&atid=103777 > > Stephan Sorry Stephan, I moved your quote to the bottom ( I never top post). Anyway, thanks for that. I did just check and I have the libXrender files and they are installed in /usr/lib with all the others it seems to be falling over on. In any case, I realised that my ISP also mirrors Mandriva so I had a look in the new 2008 repo for that and found their rpms for Torcs 1.3. I downloaded and installed them and they seem to be working ok. At least I can get my daily fix of speeding :) By rights I guess I should try to get the src rpms and rebuild them to suit this system; but that can wait if these work out ok. I still have no idea why such a great popular game is not in the repos? Cheers, Paul. |