Author Topic: Installing TiEmu on Linux  (Read 6222 times)

0 Members and 1 Guest are viewing this topic.

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Installing TiEmu on Linux
« on: September 30, 2010, 09:17:58 pm »
So, I've recently installed a Fedora 13 partition on my desktop (replacing an old XP partition). I've been installing various calculator-related stuff, but I'm having a little problem with TiEmu.

I ran ./configure after extracting the tar archive, and got the following error message:

Quote
configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

This is most likely because I don't have KDE installed on my system- Fedora (13, at least) comes with Gnome. What I'm not sure about is what package to install without installing KDE itself- is there something containing just the headers?



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Installing TiEmu on Linux
« Reply #1 on: October 01, 2010, 01:53:16 pm »
There are devel packages for KDE, but they probably depend on the libraries (at least, on Debian derivatives, devel packages depend on the libs), i.e. dozens of megabytes of stuff that you don't care about...

The script I made to help compiling TILP from SVN ( http://lpg.ticalc.org/prj_tilp/download/install_tilp.sh ) has a sibling for TIEmu: http://lpg.ticalc.org/prj_tiemu/downloads/install_tiemu.sh . By default, it configures without KDE support. I did this precisely in order to make TIEmu gentler to the many Gnome users out there :)
In both TILP SVN (already in TILP II 1.14) and TIEmu SVN, --without-kde is now default.

I advise you to use the script and TIEmu from SVN, instead of the TIEmu 3.03 tarball: SVN contains fixes for multiple crasher bugs.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: Installing TiEmu on Linux
« Reply #2 on: October 01, 2010, 02:51:22 pm »
On a related note Lionel, any idea as to why the 3.03 tar never got onto sf.net?

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Installing TiEmu on Linux
« Reply #3 on: October 01, 2010, 03:15:35 pm »
Thank you for your script, Lionel- but I got this error when I ran it, after it got to building TiEmu:

Code: [Select]
m68k-dis.c: In function 'm68k_scan_mask':
m68k-dis.c:1463: error: a label can only be part of a statement and a declaration is not a statement
m68k-dis.c:1463: error: redefinition of 'rc_name'
m68k-dis.c:1422: note: previous definition of 'rc_name' was here

It then exited with an error.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Installing TiEmu on Linux
« Reply #4 on: October 02, 2010, 05:53:13 am »
Jonimus: well, because neither Romain nor me uploaded it :)

TC01: shit, I introduced a compilation failure in r2861, while fixing a crasher bug in the GDB disassembler... The quickest way to fix it is to comment out "const char *" at line 1463, where the compiler finds the redefinition of 'rc_name'.
I'm currently in the middle of a sizeable set of compiler warning fixes, started several days ago - most benign, others less innocuous. I'll introduce a better fix for the problem you're experiencing (adding braces within each case and default block), but you'll have to revert the removal of "const char *" once the problem is fixed in upstream.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Installing TiEmu on Linux
« Reply #5 on: October 02, 2010, 01:19:05 pm »
Fixed in TIEmu SVN at r2863, among the slew of other changes mentioned in my previous post :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Installing TiEmu on Linux
« Reply #6 on: October 02, 2010, 01:24:56 pm »
Thanks Lionel! I have Windows booted at the moment, but when I boot back into Linux I'll redownload and recompile.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Installing TiEmu on Linux
« Reply #7 on: October 03, 2010, 10:01:15 am »
It's working now- thanks again, Lionel.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Installing TiEmu on Linux
« Reply #8 on: October 03, 2010, 02:12:25 pm »
Glad to hear :D

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Installing TiEmu on Linux
« Reply #9 on: October 10, 2010, 09:01:11 am »
You're welcome :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.