creatures caves
welcome, guest 

downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
 
Help Forum
old
Installing DS on Ubuntu   
Dinofan137

Dinofan137
France  


  2/15/2017

Hi there,

I'm trying to install Docking Station on Ubutunu, and it seems I can't achieve anything !
I'm an almost totally noob linux user, I'm accustomed to Windows, but for a personnal project, I absolutely need to run Docking Station on an Ubuntu-based system.

So I tried to download the game's Linux installer, following instructions I found on french websites.

My problem appears when I'm just trying to install the game.

I downloaded the linux installer (dockingstation_195_64.tar.bz2
)
I try to install it with sudo ./dstation-install
But there's a fatal error : at some point, I get the following error :
trap: 119: SIGINT: bad trap
And then the installation abords.

By searching on the Internet, I've found that you can bypass this error by installing the "libgtk1.2" package ...
The thing is, that package is not available anymore in Ubuntu ... And I can't find it anywhere on the net !

Do you have a solution for that error ?

 
Papriko
Peppery One

Papriko
Germany  


  2/15/2017  1

I think that is the script derping out. It basically has to run 2 independent installations. The first time it only installs like 20-30 files, which is the core libraries 'n stuff, like the genetics code and... libgtk 1.2.
After that, the script restarts itself and starts the true installation of the game files, which should be around 1.000.
If I recall right, SIGINT: bad trap is the script not being able to do this planned restart. Running it by hand a second time right after getting the error should resolve it.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Dinofan137

Dinofan137
France  


  2/15/2017

Papriko wrote:

After that, the script restarts itself and starts the true installation of the game files, which should be around 1.000.
If I recall right, SIGINT: bad trap is the script not being able to do this planned restart. Running it by hand a second time right after getting the error should resolve it.



Yep. Thanks for that answer.
So I restarted it manually, and it was able to install the ~1000 additionnal files. The install seems successfull.
But I still get an error when I try to launch the game.

Getting files from dsbuild 195/global/ to /usr/local/games/dockingstation
Converting images to local format
./imageconvert: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

It's still linked with that libgtk-1.2 thing, which does not seem to be installed. I don't know how to pass throught that problem.


 
Papriko
Peppery One

Papriko
Germany  


  2/15/2017

Well, there is this program called getlibs which seems to be able to grab old outdated libraries like that.
Getlibs is no longer in development if I remember correctly, but is built in a pretty "generic" fashion to work with most debian-type linux.

Just be aware that old libraries like that may pose a security problem, in case you worry about things like that.


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Dinofan137

Dinofan137
France  


  2/15/2017

OK thanks for the tip.
So I'll try to find a way to run getlibs and use it for installing that old package.
But it seems that getlibs itself is "quite old", there's not much info available on the net...

EDIT : OMG, thanks so much Papriko ! I was FINALLY able to run DS ... On a Raspberry Pi model 3 ! It works perfectly ! Thanks a lot !
I will write down everything i did to make it running, if someone else will face the same problems at me, in another topic

My aim was to run Docking Station on the Raspberry Pi micro PC to make a "dedicated DS session" running a permanent wolfing run. More info on that soon.

 
Papriko
Peppery One

Papriko
Germany  


  2/15/2017

I think you must run with with the -l (that is lowercase L, not uppercase i) option. It's either getlibs -l libgtk-1.2.so.0 or just getlibs -l libgtk-1.2. One of the two should do just nothing and the other just install the library for you.
Might require a sudo for good measure.

Sorry for being so vague, it's years ago I last did this myself and even I did not get it all to work. My game complains about something called libcanberra and refuses to give me sound. Getlibs is no help either, nor is pasuspend...


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Dinofan137

Dinofan137
France  


  2/15/2017

No problems, the game is running now.
I didn't used getlibs. I just found libgtk-1.2 files on the debian archive, and I installed them manually, every dependency at once.
That was hard for me since I'm not a Linux user ^^

 
Papriko
Peppery One

Papriko
Germany  


  2/15/2017

Was libcanberra coincidentally in the mix as well...?

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
Dinofan137

Dinofan137
France  


  2/15/2017

I have not red anything about "libcanberra"
 
xan

xan
United States  


  2/17/2017

Dinofan137, would you consider writing a guide about your install process, especially considering your use of an rpi? (I'm also very curious about the performance you're getting from it.) Having one written from the perspective of someone who hasn't been using linux for years would be very helpful.
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki