LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-09-2006, 07:30 PM   #1
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Rep: Reputation: 15
Gtapecalc and Gdict broken


There are two programs we use at work all the time that I have been unable to make work since the upgrade from Mandrake 8.2 to Mandriva 2006.0. Both compile cleanly and produce a runnable binary. I built them on several different systems (10.0, 10.2, 2006.0) and they always act the same. Also tried others' binary RPMS found on the net with no change.

Unfortunately, it looks like both projects are dead. I have attempted to contact the developers with nothing but bouncing Email. Web searches have come up with no useful information...

Gtapecal is the best calculator ever made for Linux. It is like any
other GUI calculator, except that it has a virtual paper "tape", just like a real business calculator. It is a small, fast, gtk
application. Although older versions worked fine in much older
Linuxes, the last versions don't work correctly under any Linuxes. The calculator will appear, and if you use nothing but the mouse,
everything is fine. However, if you try to use the keyboard to enter numbers, a little window pops up with the numbers in it and does nothing useful (that window should not pop up). I tried compiling the older 1.0.0 version, and it errors on compile (gtc_utils.c: In function 'get_widget_variables': gtc_utils.c:86: error: invalid lvalue in assignment)

Gdict is a gtk GUI frontend to the MIT dictionary project. It launches fine, but when you key in a word and press <enter>, it just sits there, frozen, using no CPU and must be killed.

I have searched high and wide for replacements for the two programs,
but I can't find anything like them. Replacements must compile, run
cleanly, perform similarly, and not require running under KDE or Gnome desktops (we use icewm and thin X clients).

Since I am out of ideas, I would greatly appreciate it if anyone has
any suggestions as to how to either fix the programs (I am not a C programmer), a work-around, or substitutes. Here are links to the sources I will keep up for a while:

http://markadavis.org/gtapecalc-1.1.1.tar.gz
http://markadavis.org/gtapecalc-1.0.0.tar.gz
http://markadavis.org/gdict-0.7.tar.gz

Thanks for any suggestions or assistance!
 
Old 09-09-2006, 10:29 PM   #2
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
Regarding the old version of gtapecalc (1.0.0), I can get it to compile now by removing "(gpointer)" on line 86 of gtc-utils.c. Seems to run OK, although it is nowhere near as pretty as the (broken) 1.1.1 version.
 
Old 09-10-2006, 09:03 AM   #3
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
I have since learned that gdict uses a hard-coded IP address and port for services:

Sockaddr.sin_port = htons(2627);
Sockaddr.sin_addr.s_addr = inet_addr("128.52.39.7");

128.52.39.7 does not resolve/DNS anymore. This is likely the main problem with gdict
 
Old 09-10-2006, 09:58 AM   #4
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
I guess I didn't search wide enough for a dictionary replacement:

gnome-dictionary

It looks almost exactly like gdict, small (86k!), fast, simple, doesn't
require running Gnome, and..... it works!

Plus, I already had it installed and didn't even know it. Duh!


So, I will stop fighting gdict. Only gtapecalc to fix now...
 
  


Reply

Tags
calculator, compile, dictionary, error, freeze, mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Is Broken carlosinfl Linux - General 7 07-24-2006 10:15 AM
Installation of gdict : cannot build module newbiech Linux - Software 0 02-13-2005 11:21 AM
su is broken Smokey Slackware 1 01-29-2005 03:31 PM
gdict server??? ashesh Linux - General 4 06-14-2003 08:35 AM
X is broken jclark00001 Linux - Software 6 04-27-2003 08:56 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration