LinuxQuestions.org
Visit Jeremy's Blog.
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-20-2004, 11:23 PM   #1
JSmith
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
Gnome Install Error


Hey folks,

I'm trying to install Gnome 2.8 on Fedora Core 1. I'm using Garnome to help me out. Anyway, it makes it far into the install when finally it crashes with the below error. I checked and I've got gnome-spell 1.05-4.1 installed. I've also got aspell installed (not sure which version) and pspell-devel installed (3:0.12.2-16) which Garnome listed as a requirement.

What can I do to overcome the below error? Thanks a lot!



/usr/bin/ld: cannot find -lpspell_aspell
collect2: ld returned 1 exit status
make[5]: *** [libgnome-spell-component.la] Error 1
make[5]: Leaving directory `/home/myusername/garnome-2.8.0/office/gnome-spell/work/main.d/gnome-spell-1.0.5/gnome-spell'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/myusername/garnome-2.8.0/office/gnome-spell/work/main.d/gnome-spell-1.0.5'
make[3]: *** [all-recursive-am] Error 2
make[3]: Leaving directory `/home/myusername/garnome-2.8.0/office/gnome-spell/work/main.d/gnome-spell-1.0.5'
make[2]: *** [build-work/main.d/gnome-spell-1.0.5/Makefile] Error 2
make[2]: Leaving directory `/home/myusername/garnome-2.8.0/office/gnome-spell'
make[1]: *** [../../office/gnome-spell/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/myusername/garnome-2.8.0/desktop/evolution'
make: *** [paranoid-install] Error 2
 
Old 09-22-2004, 08:32 PM   #2
JSmith
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
FYI for anyone with this same problem. Going into the directory /home/myusername/garnome-2.8.0/office/gnome-spell/work/main.d/gnome-spell-1.0.5/gnome-spell and doing a make and make install directly from there solved the problem.
 
Old 03-13-2005, 04:30 PM   #3
Brevity
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
I'm having the same problem trying to compile garnome 2.10. However, the fix the original poster suggested is not working for me. Here is my error:

Code:
/usr/bin/ld: cannot find -lpspell_aspell
collect2: ld returned 1 exit status
make[5]: *** [libgnome-spell-component.la] Error 1
make[5]: Leaving directory `/home/billk/bin/garnome-2.10.0/office/gnome-spell/work/main.d/gnome-spell-1.0.6/gnome-spell'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/billk/bin/garnome-2.10.0/office/gnome-spell/work/main.d/gnome-spell-1.0.6'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/billk/bin/garnome-2.10.0/office/gnome-spell/work/main.d/gnome-spell-1.0.6'
make[2]: *** [build-work/main.d/gnome-spell-1.0.6/Makefile] Error 2
make[2]: Leaving directory `/home/billk/bin/garnome-2.10.0/office/gnome-spell'
make[1]: *** [../../office/gnome-spell/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/billk/bin/garnome-2.10.0/desktop/evolution'
make: *** [paranoid-install] Error 2
Does anyone have any suggestions for fixing this error? I have aspell and aspell-devel installed already.
 
Old 03-13-2005, 04:53 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
find libpspel_aspell.so.* on your system. for example if it is in $HOME/garnome/lib/spell ( this is just for example) either:

export LDFLAGS="-L/home/<user>/garnome/lib/spell"

or

export LD_LIBRARY_PATH=/home/<user>/garnome/lib/spell:$LD_LIBRARY_PATH
 
Old 03-13-2005, 05:40 PM   #5
Brevity
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Thanks for the advice, but I can't seem to find libpspell_aspell.so.* on my system. I have libpspell and libaspell, but nothing with libpspell_aspell.

Code:
[billk@localhost lib]$ ls libpspell*
libpspell.so  libpspell.so.15  libpspell.so.15.0.3
[billk@localhost lib]$ ls libaspell*
libaspell.so  libaspell.so.15  libaspell.so.15.0.3
[billk@localhost lib]$ ls libpspell_aspell*
I added /usr/lib to my LD_LIBRARY_PATH and LDFLAGS but I still get the same error. I thought the error that it couldn't find -lpspell_aspell was saying it couldn't find either pspell or aspell, not pspell_aspell literally. Any more suggestions?
 
Old 03-13-2005, 05:58 PM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
linker errors ( "cannot find -lblah") are interpreted literally. so:

-lblah

is

libblah ( replace the -l with lib).

if you are using garnome using the default install prefix ( $HOME/garnome) then the library is somewhere in your home directory under garnome if it has been built. otherwise, the library has not been built and you need to build that package ( it should come with aspell).
 
Old 03-13-2005, 06:30 PM   #7
Brevity
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
I checked out my aspell and aspell-devel packages and they don't come with libpspell_aspell. See this:

Code:
[billk@localhost lib]$ rpm -ql aspell |grep lib
/usr/lib/aspell
/usr/lib/libaspell.so.15
/usr/lib/libaspell.so.15.0.3
/usr/lib/libpspell.so.15
/usr/lib/libpspell.so.15.0.3
[billk@localhost lib]$ rpm -ql aspell-devel
/usr/include/aspell.h
/usr/include/pspell
/usr/include/pspell/pspell.h
/usr/lib/libaspell.so
/usr/lib/libpspell.so
According to what I found on google, libpspell_aspell was included in aspell 0.33 but I am now using aspell 0.50 which doesn't seem to have it. What am I supposed to do about that?
 
Old 03-13-2005, 06:43 PM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
go into the gnome-spell source directory and read the README, see if it specifies which version of aspell it requires. seems as though in later versions of aspell the library might have been split into two parts.

http://aspell.sourceforge.net/old.html

Last edited by __J; 03-13-2005 at 06:45 PM.
 
Old 03-13-2005, 07:05 PM   #9
Brevity
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Hmm, the contents of the README are pretty worthless.

Code:
Introduction
------------

Gnome Spell is GNOME/Bonobo component for spell checking. In current 0.1 version
it contains GNOME::Spell::Dictionary object, which provides spell checking dictionary
(see Spell.idl for exact API definition). It's based on pspell package, which is required
to build gnome-spell.

Dictionary object could be used for live spell checking. Look in test-spell.c or
in gtkhtml/components/html-editor/spell.c for sample usage.

In future it will be expanded by implementation of GNOME::Spell::Checker object (see
also Spell.idl) and also by spell checking dialog control with appropriate interface.

Pspell build
------------

From my experience with pspell I recommend you to build pspell/aspell this way:

        1) build and install pspell
        2) build and install aspell
        4) build and install GNOME Spell

You could get Pspell and Aspell from:

        http://pspell.sourceforge.net/
        http://aspell.sourceforge.net/

End
---

I hope you will find the GNOME Spell usefull.

Radek Doulik <rodo@ximian.com>
As far as I know, there is no pspell package anymore, it should all be included in aspell. Man, this is not looking good
 
Old 03-13-2005, 08:23 PM   #10
Brevity
LQ Newbie
 
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
Aha... I guess my first stop should have been in the #garnome channel on irc.gnome.org but I didn't know of that channel until just recently. The problem was that I had installed aspell-devel AFTER gnome-spell failed the first time. All I had to do was a 'make clean' in office/gnome-spell and it fixed the configuration.

The guy in the channel also verified for me that pspell_aspell meant pspell OR aspell. Even though libpspell_aspell exists, that is not what it was looking for. Thanks for trying to help
 
Old 04-03-2005, 01:16 AM   #11
KENTOSI
LQ Newbie
 
Registered: Mar 2005
Location: sydney, australia
Posts: 9

Rep: Reputation: 0
Here's what I did.

I installed the aspell straight from the source here) and pspell from here.

Then I went into the directory I installed garnome in and typed:
Code:
cd office/gnome-spell
make clean
cd ../../desktop
make paranoid-install
Note that doing the make clean causes the configure script to run again. My installation worked after that.
 
  


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
gnome-vfs-2.8.3 install error dexim Linux From Scratch 2 07-11-2005 01:02 PM
apt-get ERROR during install gnome 2.4 ..:eMa:.. Debian 1 05-06-2004 07:00 PM
Dropline Gnome install error enk0d Slackware 1 10-29-2003 08:46 AM
Error messages got when trying to install KDE from GNOME sharathkv Linux - Newbie 1 08-03-2003 06:16 AM
NFS and GConf Error w/ Gnome on new install of Slackware 9 BadQuanta Slackware 1 03-31-2003 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 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
Open Source Consulting | Domain Registration