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



  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



  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



  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



  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



  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



  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



  2/15/2017

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

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

Dinofan137



  2/15/2017

I have not red anything about "libcanberra"
 
xan

xan



  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.
 
xekima

xekima



  10/1/2021  2

Hello, everybody!
Finally I installed DS on Xubuntu Linux 20.04
First of all I downloaded libgtk for i386 and its dependency libglib
http://archive.debian.org/debian/pool/main/g/gtk+1.2/?C=S;O=A
http://old-releases.ubuntu.com/ubuntu/pool/universe/g/glib1.2/

As alternative, libgtk is also available here:
http://old-releases.ubuntu.com/ubuntu/pool/universe/g/glib1.2/

On installing, I received this error:

dpkg: libgtk1.2:i386: dependency problems, but configuring anyway as you requested:
libgtk1.2:i386 depends on libgtk1.2-common (>= 1.2.10-18.1build2).

But in fact I had libgtk1.2-common installed yet.
The problem consisted in: libgtk1.2 was i386 and I am on x86_64. Without the modification, libgtk1.2 couldn't see libgtk1.2-common.

Here is a solution from askubuntu:


dpkg-deb -x libgtk1.2-common_1.2.10-18.1build2_all.deb tmp
dpkg-deb --control libgtk1.2-common_1.2.10-18.1build2_all.deb tmp/DEBIAN
vi tmp/DEBIAN/control
--add the following line >> Multi-Arch: foreign
dpkg -b tmp libgtk1.2-common_1.2.10-18.1build2_all_new.deb
sudo dpkg -i libgtk1.2-common_1.2.10-18.1build2_all_new.deb
sudo apt-get -f install
sudo dpkg -i libgtk1.2_1.2.10-18.1build2_i386.deb
sudo apt-get -f install



After that I run installer:
sudo ./dstation-install
and received error:
trap: 119: SIGINT: bad trap

So I runned installer once more time and after at the end of the script "dstation-install" I commented the string
[ -z "$NO_CHECK" ] && update
by adding "#" symbol:

# [ -z "$NO_CHECK" ] && update


And made the same procedure with the /usr/local/bin/dockingstation

Now it works! I have only one problem with sound that I didnt fixed yet, maybe later. But other things work well.

I created archive with libgtk and libglib:

DOWNLOAD from mega.nz

You should use libgtk1.2-common_1.2.10-18_all_new.deb in place of original libgtk1.2-common_1.2.10-18_all.deb.

I hope it helps. Have a nice day!

 
10074477a

10074477a



  12/22/2022

Hi,

could somebody re-upload The File:
libgtk1.2-common_1.2.10-18_all_new.deb

I would be very pleased!


 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  12/22/2022

Are any of these any good? https://old-releases.ubuntu.com/ubuntu/pool/universe/g/gtk+1.2/

My TCR Norns
 


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