Trine Linux install error

Technical support for the Linux and Mac platforms for all Trine games.
pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Trine Linux install error

Postby pAn1k » Sun Apr 17, 2011 10:42 pm

Here is what I get, went through my packages and everything is up to date (running Debian Lenny). Any feedback on this , Thanks!

./Trine.32.run

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `orientation' for class `GtkVBox'

(Trine.32.run:14198): libglade-WARNING **: unknown property `create_folders' for class `GtkFileChooserDialog'
./Trine.32.run: symbol lookup error: ./Trine.32.run: undefined symbol: gdk_pixbuf_new_from_stream

pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Re: Trine Linux install error

Postby pAn1k » Sun Apr 17, 2011 11:04 pm

Same thing happens with Shadow Grounds :(

Xpander
Posts: 34
Joined: Fri Apr 15, 2011 5:40 am
Location: Estonia

Re: Trine Linux install error

Postby Xpander » Sun Apr 17, 2011 11:36 pm

do u have 64bit debian or 32?
if u have 64bit then install also ia32 libs ..dunno exact package name..check from ur package manager.

additionaly..delete .frozenbyte folders and start the game from the Trine-launcher32 or Trine-launcher64 if u have 64bit system.
Linux Mint 13 alpha 64bit
* AMD Phenom II x4 955 BE (3,2 ghz)
* 8GB ddr3 1600mhz
* Asus GTX 560Ti DirectCU

pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Re: Trine Linux install error

Postby pAn1k » Sun Apr 17, 2011 11:57 pm

Thanks, I've got a 32 bit system and downloaded the 32 bit version. I'm guessing the Trine launcher comes from the Trine.32.run?

allquixotic
Posts: 11
Joined: Mon Nov 26, 2007 2:08 am
Location: Nospamland, NS
Contact:

Re: Trine Linux install error

Postby allquixotic » Mon Apr 18, 2011 1:21 am

pAn1k wrote:Thanks, I've got a 32 bit system and downloaded the 32 bit version. I'm guessing the Trine launcher comes from the Trine.32.run?


Trine ships as a dual 32-bit / 64-bit distribution. Here's the breakdown of the executable files once you unpack:

./trine-launcher is a script that first auto-detects your distro's architecture (32-bit or 64-bit), and then calls either ./trine-launcher32 or ./trine-launcher64 depending on the result. Basically, it will adapt to whichever architecture (out of x86 or amd64) you're using. When you click "OK" in the launcher to start the game, the launcher calls ./trine-bin below -- see below for a description.

./trine-bin a script that first auto-detects your distro's architecture, and then calls either ./trine-bin32 or ./trine-bin64. trine-bin32 and trine-bin64 are the game executables themselves.

Basically, unless something is very wrong with your distro, it is impossible to inadvertently run the 32-bit version on a 64-bit distro, or vice versa, as long as you use trine-launcher or trine-bin, and let the autodetection do its magic.

But if you think the autodetection is wrong, then just run the appropriate file ending in "32" or "64" depending on which architecture your distro is.

To see your architecture, run this in a terminal:

Code: Select all

uname -a
and see if it mentions "x86_64" or "i386" or "i686". If it says "x86_64", it's 64-bit; anything else and it's 32-bit.

That said, this doesn't appear to be a problem related to architecture. Debian Lenny is a very old distro and probably has obsolete GTK/GDK packages that don't contain the functions required for Trine and/or the launcher.

I would suggest that you update to at least Debian Squeeze (the next stable version), or else use something more recent like Fedora 14 or Ubuntu 10.10. But Squeeze should contain recent-enough package versions to work.

alt_turo
Posts: 195
Joined: Mon Dec 13, 2010 11:06 am

Re: Trine Linux install error

Postby alt_turo » Mon Apr 18, 2011 11:25 am

The game and launcher are compiled on Lenny and should work on it. Unfortunately the installer requires something (the new_from_stream error) which is not in the old version of GTK. You can either update to a newer distribution or try this manual install procedure:

1. Create a directory where you want to install. Default is ~/trine

Code: Select all

mkdir ~/trine


2. Change to that directory and unzip the installer

Code: Select all

cd ~/trine
unzip /path/to/Trine.64.run


3. Give executable permissions:

Code: Select all

chmod +x trine-bin trine-bin32 trine-bin64 trine-launcher trine-launcher32 trine-launcher64 createShortcuts.sh removeShortcuts.sh


4. Create menu and desktop shortcuts

Code: Select all

./createShortcuts.sh menu desktop


5. Start the game with the launcher

Code: Select all

./trine-launcher

This is IMPORTANT! There's a bug where the game binary fails to create some necessary directories so you can't save your game. This will be fixed in the next version.
Turo Lamminen
Alternative Games

pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Re: Trine Linux install error

Postby pAn1k » Tue Apr 19, 2011 1:46 am

Thanks Dude! I will try that. Lenny shouldn't have any issues running this! I'll report back after I've tried this! 8)

pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Re: Trine Linux install error

Postby pAn1k » Thu Apr 21, 2011 11:20 pm

I need to upgrade my nvidia drivers to run this and I'm kinda' at impass. The drivers I get from nvidia's website were compiled w/ gcc 4.3 and my kernel was done w/ gcc4.1, can I install anyway or will that cause issue. Can I just find a repo w/ the upgraded driver? Dist-upgrade to squeeze? Thx!

pAn1k
Posts: 6
Joined: Sun Apr 17, 2011 10:40 pm

Re: Trine Linux install error

Postby pAn1k » Fri Apr 22, 2011 12:43 am

FYI, shadow ground works!

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Trine Linux install error

Postby fb_joel » Sun Apr 24, 2011 9:26 pm

Just following up on this - did you ever get Trine working (and did you update the distro)?

Glad to see this seems to be solvable though, thanks Turo and allquixotic. :)
// Joel, Frozenbyte team


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 5 guests