Hatari Ubuntu 16.04 LTS crash

A forum about the Hatari ST/STE/Falcon emulator - the current version is v2.3.0

Moderators: simonsunnyboy, thothy, Moderator Team

Post Reply
abyssangel
Atarian
Atarian
Posts: 1
Joined: Mon Aug 10, 2020 8:20 pm

Hatari Ubuntu 16.04 LTS crash

Post by abyssangel »

Hi guys

This is my first day on the forum!
Please can anyone advise me on why Hatari crashes on Ubuntu 16.04 LTS
when i try to open stos basic the game creator disk and yet installed it
via the synaptic package manager?

Thanx!!
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2315
Joined: Sun Jul 31, 2011 1:11 pm

Re: Hatari Ubuntu 16.04 LTS crash

Post by Eero Tamminen »

Does it print anything when you start it from a terminal window?

Btw. Ubuntu 16.04 seems to provide ancient Hatari v1.8.0 version from 2014: https://packages.ubuntu.com/search?keyw ... ite=xenial

Hatari has had a lot of improvements since: https://hatari.tuxfamily.org/doc/release-notes.txt

You might consider using something newer.
junosix
Captain Atari
Captain Atari
Posts: 348
Joined: Sun Jul 08, 2007 3:22 pm
Location: Plymouth

Re: Hatari Ubuntu 16.04 LTS crash

Post by junosix »

I'd suggest upgrading to Ubuntu 20.04 (the 20.04.1 release was out last week), it's a worthwhile update and the version of Hatari that's in the repos is 2.2.1.
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2315
Joined: Sun Jul 31, 2011 1:11 pm

Re: Hatari Ubuntu 16.04 LTS crash

Post by Eero Tamminen »

Building latest Hatari version yourself in the old Ubuntu version shouldn't be too hard either...

1. Install Hatari build dependencies:

Code: Select all

sudo apt install cmake libpng-dev libreadline-dev zlib1g-dev portaudio19-dev libsdl1.2-dev python3
(You may also use "libsdl2-dev", but I think old Ubuntu version of that, and that old Ubuntu version didn't work too well together, they were buggy.)

2. Download Hatari code:

Code: Select all

wget https://download.tuxfamily.org/hatari/2.2.1/hatari-2.2.1.tar.bz2
3. Extract & configure Hatari sources:

Code: Select all

tar xvf hatari-2.2.1.tar.bz2
cd hatari-2.2.1/
mkdir build && cd build
cmake ..
4. Build & install Hatari:

Code: Select all

make
sudo make install
Note: If you later upgrade your Ubuntu installation to latest, it's best to remove the local Hatari installation as its dependencies have changed. Just go to the same "hatari-2.2.1/build" directory, and run there:

Code: Select all

sudo make uninstall
Similar procedure works for latest Hatari git sources, except that you get them with (this obviously needs "git" package to be installed):

Code: Select all

git clone git://git.tuxfamily.org/gitroot/hatari/hatari.git
(You can speed this up / reduce the download size by skipping all the history with "--depth 1" option.)
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Hatari Ubuntu 16.04 LTS crash

Post by simonsunnyboy »

Another point might be a missing or buggy TOS image. Make sure to use a proper TOS or latest EmuTOS. I'm not sure if Ubuntu provides anything sane.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
neanderthal
Captain Atari
Captain Atari
Posts: 202
Joined: Sun Jul 10, 2016 10:58 pm

Re: Hatari Ubuntu 16.04 LTS crash

Post by neanderthal »

Eero Tamminen wrote: Tue Aug 11, 2020 9:31 pm Btw. Ubuntu 16.04 seems to provide ancient Hatari v1.8.0 version from 2014
Hmm,I think I downloaded with my even more ancient Ubuntu mate 16 and got version UI 1.2 from 2012.
Is the UI version same as the main engine btw?
And yeah,I like to lazy around with softs when can ;)
Must admit run into some few snags so far,will pop up info if still there after upgrade the old thing..hehe
User avatar
Eero Tamminen
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2315
Joined: Sun Jul 31, 2011 1:11 pm

Re: Hatari Ubuntu 16.04 LTS crash

Post by Eero Tamminen »

No, Python UI has its own version.
Post Reply

Return to “Hatari”