LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gnome Install Error (https://www.linuxquestions.org/questions/linux-software-2/gnome-install-error-233178/)

JSmith 09-20-2004 10:23 PM

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

JSmith 09-22-2004 07:32 PM

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.

Brevity 03-13-2005 03:30 PM

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.

__J 03-13-2005 03:53 PM

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

Brevity 03-13-2005 04:40 PM

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?

__J 03-13-2005 04:58 PM

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).

Brevity 03-13-2005 05:30 PM

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?

__J 03-13-2005 05:43 PM

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

Brevity 03-13-2005 06:05 PM

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 :(

Brevity 03-13-2005 07:23 PM

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

KENTOSI 04-03-2005 12:16 AM

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.


All times are GMT -5. The time now is 08:52 AM.