Linux user thread

User avatar
garpu
Posts: 1865
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Wed Nov 24, 2010 2:16 am Post

Weird. It's got to be a path thing.

Code: Select all

 % /usr/lib ls -l libaspell*                                    hildegard@volmar
-rwxr-xr-x 1 root    996 2007-05-11 18:22 libaspell.la
lrwxrwxrwx 1 root     19 2010-10-13 05:21 libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root     19 2010-10-13 05:21 libaspell.so.15 -> libaspell.so.15.1.4
-rwxr-xr-x 1 root 735008 2007-05-11 18:22 libaspell.so.15.1.4


Same as what Ubuntu normally has, and I"ve had no issues.
Slackware 64-bit 14.2, XFCE

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Wed Nov 24, 2010 2:28 am Post

Argh!

It didn't work for me. I still have no spellcheck.

... don't know why. Will have to figure it out later, though, I'm behind on my nanowrimo word count.

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Wed Nov 24, 2010 2:32 am Post

:!: Spell Check Problem Solved (again) :!:

garpu wrote:Weird. It's got to be a path thing.

Code: Select all

 % /usr/lib ls -l libaspell*                                    hildegard@volmar
-rwxr-xr-x 1 root    996 2007-05-11 18:22 libaspell.la
lrwxrwxrwx 1 root     19 2010-10-13 05:21 libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root     19 2010-10-13 05:21 libaspell.so.15 -> libaspell.so.15.1.4
-rwxr-xr-x 1 root 735008 2007-05-11 18:22 libaspell.so.15.1.4


Same as what Ubuntu normally has, and I"ve had no issues.


I found the difference! You actually have two files I'm missing: libaspell.la and libaspell.so. On Ubuntu, I can get those by installing the libaspell-dev package. I confirmed this worked by removing the links I created manually, installing libaspell-dev, and running Scrivener.

I now have:

Code: Select all

dday@seth:/usr/lib$ ls -l libaspell*
-rw-r--r-- 1 root root    936 2010-07-28 06:13 libaspell.la
lrwxrwxrwx 1 root root     19 2010-11-23 21:27 libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root root     19 2010-10-19 19:01 libaspell.so.15 -> libaspell.so.15.1.4
-rw-r--r-- 1 root root 603852 2010-07-28 06:13 libaspell.so.15.1.4


For those who seem to be missing spell check, try installing the libaspell-dev package on your system. Thanks for the listing @garpu!

User avatar
garpu
Posts: 1865
Joined: Mon Oct 25, 2010 9:38 pm
Platform: Linux

Wed Nov 24, 2010 4:08 am Post

LOL no problem! :)
Slackware 64-bit 14.2, XFCE

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Wed Nov 24, 2010 3:29 pm Post

Well... I'm just lost now.

I'm really glad this fix is working for just about everyone (hurrah!) but I'm still out of luck.

I created the .so symlinks but there was no spellcheck when I started Scrivener. And I already have libaspell-dev installed. (Running Kubuntu Maverick Meerkat, 64 bit).

... so I guess I'm stuck, for the moment. Boo hiss.

I mean the wine version still runs great, but the fonts look much better when it runs native...

Could it just be that spellcheck won't work on any pre-existing projects? Maybe I need to open a new project and see if it works there...

fa
faithy666
Posts: 4
Joined: Tue Nov 16, 2010 1:33 am
Platform: Linux

Wed Nov 24, 2010 3:33 pm Post

Thanks, dday376! I have little red underlines now! Yay!

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Wed Nov 24, 2010 4:57 pm Post

ubersoft wrote:I created the .so symlinks but there was no spellcheck when I started Scrivener. And I already have libaspell-dev installed. (Running Kubuntu Maverick Meerkat, 64 bit).


I have Ubuntu 10.10 64 bit on my desktop but haven't tried running Scrivener there yet. I'll try it this evening and see if I have similar problems.

In the meantime, can you post your listing for /usr/lib?

Code: Select all

ls -l /usr/lib/libaspell*

That'll give me something to compare with.

ca
catalinux
Posts: 49
Joined: Tue Oct 26, 2010 12:10 pm
Platform: Linux

Wed Nov 24, 2010 6:00 pm Post

Code: Select all

-rw-r--r-- 1 root root    936 Mar 11  2010 /usr/lib/libaspell.la
lrwxrwxrwx 1 root root     19 Nov 24 10:03 /usr/lib/libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root root     19 Sep 14 01:46 /usr/lib/libaspell.so.15 -> libaspell.so.15.1.4
-rw-r--r-- 1 root root 762400 Mar 11  2010 /usr/lib/libaspell.so.15.1.4


Also created the sym links, installed libaspell-dev... No luck.
aptosid xfce/scrotwm amd64

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Wed Nov 24, 2010 9:21 pm Post

catalinux wrote:

Code: Select all

-rw-r--r-- 1 root root    936 Mar 11  2010 /usr/lib/libaspell.la
lrwxrwxrwx 1 root root     19 Nov 24 10:03 /usr/lib/libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root root     19 Sep 14 01:46 /usr/lib/libaspell.so.15 -> libaspell.so.15.1.4
-rw-r--r-- 1 root root 762400 Mar 11  2010 /usr/lib/libaspell.so.15.1.4


Also created the sym links, installed libaspell-dev... No luck.


Got it. Had to do this differently on AMD64. Took a hint from Opera on Ubuntu help.

NOTE:
First, make sure you have the 64-bit versions of libaspell and libaspell-dev installed. You are not replacing these, but adding the 32-bit libs to your system for Scrivener.

Download libaspell15_0.60.6-4ubuntu1_i386.deb and libaspell-dev_0.60.6-4ubuntu1_i386.deb to ~/Downloads. Find the i386 packages @ http://packages.ubuntu.com or use the wget commands below:

Code: Select all

cd ~/Downloads
wget http://www.gtlib.gatech.edu/pub/ubuntu//pool/main/a/aspell/libaspell15_0.60.6-4ubuntu1_i386.deb
wget http://www.gtlib.gatech.edu/pub/ubuntu//pool/main/a/aspell/libaspell-dev_0.60.6-4ubuntu1_i386.deb
dpkg -x libaspell15_0.60.6-4ubuntu1_i386.deb ./libaspell
dpkg -x libaspell-dev_0.60.6-4ubuntu1_i386.deb ./libaspell-dev
sudo cp -d ./libaspell/usr/lib/libaspell* /usr/local/LiteratureAndLatte/lib/
sudo cp -d ./libaspell-dev/usr/lib/libaspell* /usr/local/LiteratureAndLatte/lib/


As an alternative, you can put these libs in /usr/lib32:

Code: Select all

sudo cp -d ./libaspell/usr/lib/libaspell* /usr/lib32/
sudo cp -d ./libaspell-dev/usr/lib/libaspell* /usr/lib32/


You should wind up with:

Code: Select all

dday@osiris:~$ ls -l /usr/lib32/libaspell*
-rw-r--r-- 1 root root    936 2010-11-24 16:19 /usr/lib32/libaspell.la
lrwxrwxrwx 1 root root     19 2010-11-24 16:19 /usr/lib32/libaspell.so -> libaspell.so.15.1.4
lrwxrwxrwx 1 root root     19 2010-11-24 16:18 /usr/lib32/libaspell.so.15 -> libaspell.so.15.1.4
-rw-r--r-- 1 root root 603852 2010-11-24 16:18 /usr/lib32/libaspell.so.15.1.4



Spell checking works on AMD64! But, there are other problems (I think already mentioned). Window sizing, most notably. And I still get phonon errors. I'll try doing something similar with the phonon libs.
Last edited by dday376 on Fri Nov 26, 2010 6:17 pm, edited 2 times in total.

jg
jgould
Posts: 77
Joined: Tue Nov 23, 2010 3:16 pm
Platform: Mac + iOS
Location: Circleville, OH

Wed Nov 24, 2010 10:00 pm Post

Code: Select all

jgould@Gracie-desktop:/opt/scrivener_beta/lib$ ls -l /usr/lib/libaspell*
lrwxrwxrwx 1 root root     19 2010-11-23 23:22 /usr/lib/libaspell.so.15 -> libaspell.so.15.1.4
-rw-r--r-- 1 root root 616180 2010-03-24 12:09 /usr/lib/libaspell.so.15.1.4


Running Ubuntu 10.04 LTS on an Intel Mac Mini.

Now if I could get the files to play nice between MacScriv and LinScriv, I'd be happy...

di
digulla
Posts: 13
Joined: Tue Nov 23, 2010 9:05 pm
Platform: Linux

Wed Nov 24, 2010 10:32 pm Post

garpu wrote:I think the tutorial not running is a known issue? Try moving it to a directory where your user account has read/write/execute privs, and see if that works.

I can't follow you.

1. If I make the

Code: Select all

bin/
directory writable, an empty project is created there.

2. I can't find any files that might belong to the tutorial anywhere in the RPM package.

So where am I supposed to find the Tutorial project?

Regards,

jg
jgould
Posts: 77
Joined: Tue Nov 23, 2010 3:16 pm
Platform: Mac + iOS
Location: Circleville, OH

Wed Nov 24, 2010 11:36 pm Post

Is anyone else having issues moving between the different versions of Scrivener with projects? I can bring a file from MacScriv version 1.54 and 2.0 to LinScriv, but I can't go the other way. MacScriv 1.54 claims that "No valid Scrivener 1.x project could be found at the specified path". I thought that version 1 was supposed to work interplatform across the board...

Any ideas?

Josh

User avatar
kewms
Posts: 3612
Joined: Fri Feb 02, 2007 5:22 pm
Platform: Mac

Thu Nov 25, 2010 2:57 am Post

jgould wrote:Is anyone else having issues moving between the different versions of Scrivener with projects? I can bring a file from MacScriv version 1.54 and 2.0 to LinScriv, but I can't go the other way. MacScriv 1.54 claims that "No valid Scrivener 1.x project could be found at the specified path". I thought that version 1 was supposed to work interplatform across the board...

Any ideas?

Josh


The Mac 2.0 format is the same as the Win/Linux 1.0 format, and will work crossplatform.

The Mac 1.54 format is different, and the conversion is one-way. A 1.54 project can be converted to 2.0, but (Mac)Scriv 1.54 won't be able to read the result.

Katherine
Scrivener Support Team

dd
dday376
Posts: 17
Joined: Sun Nov 21, 2010 11:58 pm
Platform: Linux
Location: Gahanna, OH, USA
Contact:

Thu Nov 25, 2010 3:37 am Post

digulla wrote:
garpu wrote:I think the tutorial not running is a known issue? Try moving it to a directory where your user account has read/write/execute privs, and see if that works.

I can't follow you.

1. If I make the

Code: Select all

bin/
directory writable, an empty project is created there.

2. I can't find any files that might belong to the tutorial anywhere in the RPM package.

So where am I supposed to find the Tutorial project?

Regards,


Here's how I got the Tutorial working on Linux. It requires an install of the Windows Beta, either in Wine or on Windows box:

1. In the Windows install, go to: C:\Program Files\Scrivener
2. In that directory, you'll find a folder called: Tutorial.scriv
3. Copy that entire folder to the bin directory of your Linux Scrivener install. This might be /usr/local/LiteratureAndLatte/bin or /opt/scrivener_beta/bin depending on if you installed from scratch or used one of the packages from @randywallace.
4. Make sure the Tutorial.scriv directory and all of it's files/subdirectories are owned by root:

Code: Select all

chown -R root:root Tutorial.scriv

5. Start Scrivener, go to Help -> Open Tutorial, and choose a place to save the Tutorial project.

Enjoy!

Update: I meant to mention that Tutorial.scriv is not distributed in the Linux zip. I assume there's a good reason, so do the above at your own risk :-)
Last edited by dday376 on Thu Nov 25, 2010 3:45 am, edited 1 time in total.

ub
ubersoft
Posts: 133
Joined: Sun Nov 14, 2010 3:54 am
Platform: Linux

Thu Nov 25, 2010 3:37 am Post

dday's trick worked for my netbook (Maverick 32 bit) but not my laptop (Maverick 64 bit). So one of my two machines is running Meerkat! This is good. :)

The other is guess is that the 32bit program won't play nice with the 64bit libraries. I'll try extracting the 32bit libraries as suggested in a different thread.