LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-02-2009, 08:13 AM   #1
GazL
Senior Member
 
Registered: May 2008
Posts: 3,380

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Opera 10 Inline spelling check not working on Slackware64 13.0


I can't seem to get the inline spelling check feature to work in opera10 on 64bit slack. The option is there on the right click menu, but it just doesn't seem to do anything. Anyone else see this? And does anyone know if it works on 32bit Slack13 or even 12.2 for that matter?

Looking at the /usr/bin/opera wrapper it is looking for libaspell 1.5, which it should find ok as it's in /usr/lib64.

Running a "aspell dump dicts" shows that the dictionaries are installed correctly and aspell works from the command line. I've tried using both my normal en_GB and the default en_US just in case it was a locale issue, but that doesn't appear to make any difference either. I've also tried running the unmodified opera install directly from it's extracted tarball.

I've also tried 'enable spellcheck as default' under opera:config, but that also makes no difference.

There's a spellcheck.so under /usr/lib64/opera that's not executable by default. I've tried setting that to 755 in case it made a difference. it didn't (I don't know if shared libraries have to be marked executable or not, but it was worth a shot). By running
"strings </usr/lib64/opera/spellcheck.so" I can find references to libaspell.so.15, but interestingly, a "strings </usr/lib64/opera" doesn't result in either libaspell.so or spellcheck.so, and it's not listed in ldd's output either, so god knows how they're loading it.

I Tried googling but was just getting lots of unrelated hits.


Anyone got any clues for me on this one please? I've just about come to the end of my knowledge on this.


update: This ubuntu page seems to suggest 32bit libaspell is required, though this seems a little strange to me. Anyway, I'm not going to be installing a 32bit library just for Opera when I've got a 64bit version of the same library already installed.

Last edited by GazL; 10-02-2009 at 11:35 AM. Reason: added update.
 
Old 10-02-2009, 01:06 PM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,233

Rep: Reputation: 176Reputation: 176
It is working fine in my installation of Slackware64-13. Rarely do I ever use the SlackBuild as the packages available directly from the Opera web site usually work very well.

Opera doesn't show a 64 bit version for Slackware, yet, on their main download page, so you have to dig around a bit. I download the latest builds from here:

http://my.opera.com/desktopteam/blog/

Last edited by cwizardone; 10-02-2009 at 01:08 PM.
 
Old 10-02-2009, 01:39 PM   #3
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian
Posts: 462

Rep: Reputation: 39
Not sure if I can help you with the exact details but this seems to have to do with the dictionary you are using. It may be that Opera is set to us English UK but only the English US dictionary is available.

edit: sorry, I saw that you looked into the dict issue through aspell.

Last edited by mattydee; 10-02-2009 at 01:42 PM.
 
Old 10-02-2009, 01:44 PM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,380

Original Poster
Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
That's interesting. The slackbuild really doesn't do a great deal other than run their install script with some parameters. I actually tried just running it inplace directly from the unchanged extracted tar.bz2 but even that doesn't work.

Which version are you running cwizardone and what did you do to install it? Also have you made your system multilib*, as that might explain it if that Ubuntu forum post was correct.

I've tried both opera-10.00.gcc4-qt4.x86_64.tar.bz2 and the more recent opera-10.10-4644.gcc4-qt4.x86_64.tar.bz2 snapshot.


edit: Ah, It looks like you are multilib from the distro in your profile. That might explain it. Though why it's insisting on a 32bit libaspell when there's a native 64bit version of the same lib to match the 64bit app is beyond me.

Last edited by GazL; 10-02-2009 at 01:54 PM.
 
Old 10-02-2009, 03:21 PM   #5
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,233

Rep: Reputation: 176Reputation: 176
Admin. Please delete. duplicate message.

Last edited by cwizardone; 10-02-2009 at 03:24 PM.
 
Old 10-02-2009, 03:22 PM   #6
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,233

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by GazL View Post
That's interesting. The slackbuild really doesn't do a great deal other than run their install script with some parameters. I actually tried just running it inplace directly from the unchanged extracted tar.bz2 but even that doesn't work.

Which version are you running cwizardone and what did you do to install it? Also have you made your system multilib....
My apologies. I should have read your first message closer.

Aspell is not needed as the dictionary is "bullt-in" to Opera 10, so multilib really has nothing to do with it, but, btw, I was running 64 bit Opera in Slackware64 for many days before installing the multilib files.

To change or add a dictionary, open a composer window and right click on a blank space. A menu will pop up and pick "change or add dictionaries" (or something similar). Another window will open with a list of available dictionaries.

Cheers.

Last edited by cwizardone; 10-02-2009 at 03:48 PM. Reason: Typo.
 
Old 10-03-2009, 06:48 AM   #7
GazL
Senior Member
 
Registered: May 2008
Posts: 3,380

Original Poster
Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Quote:
Originally Posted by cwizardone View Post

To change or add a dictionary, open a composer window and right click on a blank space. A menu will pop up and pick "change or add dictionaries" (or something similar). Another window will open with a list of available dictionaries.
Nope, I occasionally see a greyed-out 'dictionaries' option, but it's not always present in the right click menu of the composer background. I've tried installing Eric's multilib gcc/glib and converted and installed the 32bit aspell packages just to see if that ubuntu forum post was right about it needing 32bit, but it doesn't change a great deal.

I'm gonna have to give-up on this now. I've put over 6 hours into trying to get this working now, and I can't justify spending the time on it anymore. There must be something wrong with my install somehow.

When I downloaded the slack64 dvd I got some errors on some packages while installing. When I checked the dvd I found that it was corrupted during download. I did a manual check on all the md5sums of the packages and individually downloaded and reinstalled all the ones that failed the md5check to save having to grab the whole 4GB file again (There weren't that many, and they were mostly trivial packages like tetex). I would have thought that this action would have sorted it all out and I've certainly not had any problems with anything else but I guess it's possible that some corruption slipped through, though I would have expected md5 to pick-up any problems.

I might try and redownload the slack dvd again and do a reinstall if I can work up the enthusiasm once I've got over the "Why don't I just use Windows" mood I'm currently in.

Thankyou to cwizard and matty for trying to help.

Last edited by GazL; 10-03-2009 at 06:50 AM.
 
Old 10-03-2009, 12:39 PM   #8
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,233

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by GazL View Post
....once I've got over the "Why don't I just use Windows" mood I'm currently in.
Know the feeling. I was feeling that way over a video issue that I was finally able to trace back to VirtualBox. It does seem I (we?) spend a great deal of time trying to get things to run as the did (or do) in winblows. If mickeysoft wasn't such a unethical bunch of thieves I would use winblows, but as they are one of the worst "corporate citizens" I won't use any of their product, if I don't have to, on principle.

As to Aspell, as I said before, you don't need it, unless you want to use it for something other than Opera.

Good Luck.
BTW, everytime I get in one of those "Why don't I just use Windows" moods, I run winblows for a while and it "cures" me in about 20 minutes or so.

Last edited by cwizardone; 10-03-2009 at 12:44 PM. Reason: Typo.
 
Old 10-03-2009, 03:23 PM   #9
GazL
Senior Member
 
Registered: May 2008
Posts: 3,380

Original Poster
Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Quote:
Originally Posted by cwizardone View Post
As to Aspell, as I said before, you don't need it, unless you want to use it for something other than Opera.
If you look in /usr/bin/opera script towards the end you'll still see references to libaspell.so, so although it doesn't work in the same way as the 9.6 opera spell check worked, it appears it still uses the underlying libaspell.

However, libaspell or no, I can't get it working, so it's academic.
 
Old 10-03-2009, 11:38 PM   #10
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,233

Rep: Reputation: 176Reputation: 176
Hunspell.

Quote:
Originally Posted by GazL View Post
If you look in /usr/bin/opera script towards the end you'll still see references to libaspell.so, so although it doesn't work in the same way as the 9.6 opera spell check worked, it appears it still uses the underlying libaspell.

However, libaspell or no, I can't get it working, so it's academic.
Just FYI.
Cheers.

http://en.wikipedia.org/wiki/Opera_10
"Previous versions of Opera contained an on-demand spell-checker based on Aspell. Opera 10 introduced an inline spell checker based on Hunspell. This is available in multi-line text areas and in the mail client. As you type, misspelled words are underlined, and can be corrected via a right click menu. The US-English dictionary is included, and there is an interface to download additional dictionaries from within the browser. This inline spell-checker has support for 48 languages."


http://hunspell.sourceforge.net/
"Hunspell is the default spell checker of OpenOffice.org and Mozilla Firefox 3 & Thunderbird..."


http://en.wikipedia.org/wiki/Hunspell
"...Hunspell is based on MySpell and is backward-compatible with MySpell dictionaries. While MySpell uses 8-bit ASCII character encoding, Hunspell can use Unicode UTF-8-encoded dictionaries.

Hunspell is the spell checker of:
OpenOffice.org, a cross-platform office suite (starting with version 2.0.2 March 8, 2006)
Mozilla products Thunderbird / Firefox (starting with version 3) and SeaMonkey (starting with version 2)
WinShell, an integrated development environment (IDE) for TeX / LaTeX on Windows
Yudit, a Unicode text editor for the X Window System
Opera 10, a multiplatform web browser and internet suite.
Google Chrome, an open source web browser developed by Google [1].
The Bat! email client by RITLABS S.R.L. since version 4.0
Apple's MacOS X 10.6 Snow Leopard

Moreover, Hunspell is supported by Enchant and Emacs...."
 
Old 10-04-2009, 06:10 AM   #11
GazL
Senior Member
 
Registered: May 2008
Posts: 3,380

Original Poster
Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Thanks Cwiz. I guess the remaining references to libaspell in the script are just a case of the Opera devs being sloppy. If the spellcheck is indeed a built-in component as it seems, then it's even more puzzling why it isn't working. Oh well. *sigh*
 
  


Reply


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
I am looing for a command line spelling check tool ufmale Linux - Software 1 08-03-2008 02:18 PM
PNs spelling converter not working, what is wrong? raskol Programming 0 03-30-2008 08:44 PM
snort inline 2.6.0.2 enable_tcpopt_experimental_drops not working Emmanuel_uk Linux - Security 8 04-06-2007 05:53 AM
C inline functions working linetnew Programming 0 04-17-2005 08:49 AM
opera not working; reinstall of opera no help CamelofCamelot Linux - Software 1 02-05-2004 01:59 AM


All times are GMT -5. The time now is 09:46 PM.

Main Menu
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