Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: TC01 on September 30, 2010, 09:17:58 pm

Title: Installing TiEmu on Linux
Post by: TC01 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?
Title: Re: Installing TiEmu on Linux
Post by: Lionel Debroux 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.
Title: Re: Installing TiEmu on Linux
Post by: JonimusPrime 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?
Title: Re: Installing TiEmu on Linux
Post by: TC01 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.
Title: Re: Installing TiEmu on Linux
Post by: Lionel Debroux 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.
Title: Re: Installing TiEmu on Linux
Post by: Lionel Debroux 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 :)
Title: Re: Installing TiEmu on Linux
Post by: TC01 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.
Title: Re: Installing TiEmu on Linux
Post by: TC01 on October 03, 2010, 10:01:15 am
It's working now- thanks again, Lionel.
Title: Re: Installing TiEmu on Linux
Post by: DJ Omnimaga on October 03, 2010, 02:12:25 pm
Glad to hear :D
Title: Re: Installing TiEmu on Linux
Post by: Lionel Debroux on October 10, 2010, 09:01:11 am
You're welcome :)