PDA

View Full Version : cant install racer



qrm
October 25th, 2006, 05:32 PM
Hi!

Ive downloaded couple of versions of racer (beta and non-beta) and I cant seem to get them installed. When I try to open the installer it opens but in the terminal are couple of error messages:'

Gtk-WARNING **: Failed to load module "libgail.so": libgail.so: cannot open shared object file: No such file or directory

Gtk-WARNING **: Failed to load module "libatk-bridge.so": libatk-bridge.so: cannot open shared object file: No such file or directory

Gdk-WARNING **: locale not supported by C library


The installer fires up but i cant click on the base install square, it just wont go "down" I can still click every other button. Screenshot:

http://img104.imageshack.us/img104/5623/screenshot6uz3.png (http://imageshack.us)

Ive installed everything that looks even remotely like libgail and libatk. all the help is appreciated

Perfect Storm
October 25th, 2006, 05:35 PM
Do you have libgail and libatk installed?

Edit: doh, didn't see ya last comment under the screenshot.

The file it's asking for have properly a diffrent number in ubuntu. Just check the installed files and make the symblink.

qrm
October 25th, 2006, 05:37 PM
if Id only knew how to make a symlink

libgail versions : 0.8.11 and 1.9.3
libatk: 1.0-0

curvedinfinity
October 25th, 2006, 05:47 PM
If thats a question, right click the file in nautilus (the file manager) and select "make link."

If you are trying to make a symlink for a file owned by root, open a terminal and run ...
sudo nautilus .. and proceed as normal.

A symlink, by the way, is sort of like a shortcut in windows, except that Linux thinks the link is for all intents and purposes the actual file it links to as opposed to something like a hyperlink.

sure you can do it in a terminal, but its far more intuitive to do it in nautilus

Perfect Storm
October 25th, 2006, 05:49 PM
sudo ln -s /usr/lib/libatk-1.0.so.0 /usr/lib/libatk-bridge.so
sudo ln -s /usr/lib/libgailutil.so.18 /usr/lib/libgail.so

This was done in edgy (so it might have another names in dapper), I have notice that there's way diffrent from what it ask for and what's available, so see this as an experiment.

If it fail you can delete the symblink

cd /usr/lib
sudo rm -rf libatk-bridge.so
sudo rm -rf libgail.so

qrm
October 25th, 2006, 06:17 PM
well, im on edgy too an I was able to make the symlinks. But the racer installer still complains about those packges'

E: the errors arent the same
Gtk-WARNING **: Failed to load module "libgail.so": `gtk_module_init': /usr/lib/libgail.so: undefined symbol: gtk_module_init

Gtk-WARNING **: Failed to load module "libatk-bridge.so": `gtk_module_init': /usr/lib/libatk-bridge.so: undefined symbol: gtk_module_init

Perfect Storm
October 25th, 2006, 06:25 PM
Do you have libgail-gnome-module installed?

qrm
October 25th, 2006, 06:33 PM
ats@zanzhu:~$ sudo apt-get install libgail-gnome-module
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgail-gnome-module is already the newest version.


Ive had this problem since dapper, if it helps figuring out what the problem is

Perfect Storm
October 25th, 2006, 06:55 PM
Hmmm...I'll take a look at it in the weekend and see if I can install it.

qrm
October 29th, 2006, 07:06 PM
well, im having the exact same problem with warzone. Screenshot:
http://content.imagesocket.com/thumbs/warzone15f9.png (http://imagesocket.com/view/warzone15f9.png)

well, symlinking didnt work and its still complaining about those libgail etc packages. Any help is greatly appreciated

qrm
October 30th, 2006, 08:53 PM
bump

Perfect Storm
October 30th, 2006, 09:55 PM
I just downloaded the beta version loki installer (english). It just install and run perfectly.
I've attached the torrent package:

Then unpack it and run the commands:

sudo sh racer_0.5.2beta8.9-english.run
When installed exit the installer and type racer. (don't hit the play button in the installer).

qrm
October 31st, 2006, 09:09 PM
Ive been there and done that. I tried all the versions of racer I could get my hands on :) I kept trying installing racer and warzone and some moment they didnt open a ui but opened in terminal instead so I could isntall them - dint manage to make it reoccur. At the moment I tried playing warzone and it worked perfectly (just love this game, brings back the old times of RA). Havent tried racer yet but Ill let you know. If it helps solving the problem I should mention that this system has been upgraded through years from breezy to dapper and then edgy.

E: while warzone runs perfectly, trying to start racer from the added debian menu (the shortcuts dont show up on usual gnome applications - games menu) doesnt do anything. Trying to run it from the terminal I get :


/usr/local/bin/racer: 29: Syntax error: Bad substitution

E2: dont want to start another thread. How could I change the resolution in warzone? Or resize the window?

Perfect Storm
October 31st, 2006, 09:50 PM
I think it's an upgrade (from dapper to edgy) that went wrong I guess. I made a clean install of edgy and havn't encountered any problems that people with a dist-upgrade have.

qrm
October 31st, 2006, 09:52 PM
well I guess it must have gone wrong with upgrade from breezy to dapper (pre RC) because It didnt work in dapper either

Edit: the both games run (some probs with textures loading in racer) from the debian menu shortcuts.

qrm
November 6th, 2006, 11:40 PM
well, just reinstalled edgy from scratch. First time running .run file I couldnt still select anything (those buttons) but it got installed, because the base install button was already active. I tried installing again and again the button for base install was not active and i couldnt select it :x

the error I get in the terminal is:

Gtk-WARNING **: Unable to locate loadable module in module_path: "libindustrial.so",


couldnt find anything alike in the synaptic either (all repos enabled)

Perfect Storm
November 7th, 2006, 07:58 AM
First check if you have it in /usr/lib/gtk-2.0/2.10.0/engines

qrm
November 7th, 2006, 04:23 PM
well, it seems so.


ats@zanzhu:/usr/lib/gtk-2.0/2.10.0/engines$ dir
libclearlooks.so libhcengine.so libredmond95.so libthinice.so
libcrux-engine.so libindustrial.so libsmooth.so libubuntulooks.la
libglide.so libmist.so libsvg.so libubuntulooks.so


I guess there needs some symlinking to be done, but where?

Perfect Storm
November 7th, 2006, 05:42 PM
Which version of Ubuntu do you use? And is it 32bit/64bit or ppc? I'm asking because all the problem you ran into I've never experienced. It should work without any tweaking and hacking.

qrm
November 7th, 2006, 09:21 PM
well im running the latest aka edgy 6.10 with generic kernel

E: its 32 bit and my processor is a p4 2,6 ghz with HyperThreading.

qrm
November 9th, 2006, 11:48 PM
darn, I tried installing racer under the "real" terminal so that graphic librarys wouldnt affect me and I got it isntalled, the only thing is that I get this error when I try to run it from terminal:


/usr/bin/racer: 29: Syntax error: Bad substitution


even google didnt throw anything usable up :/

The J
November 11th, 2006, 09:49 AM
To get rid of that "Bad substitution" error, I looked at the racer file (which is a script). On line 29 is just a statement that appears to just print something to the terminal (echo). I ended up deleting that statement and the "&&" before it on the previous line and that got it working.

qrm
November 14th, 2006, 09:13 PM
thanks for the tip, ill try it t the very first possible moment :D

qrm
November 16th, 2006, 11:01 PM
had to comment the whole section out with # -s (i dont like deleting code :D). Many thanks for the tip m8 :D