You are not logged in.

1

Thursday, June 2nd 2005, 7:29pm

Installing KDE 3.4.1 with konstruct on redhat 9.0

I keep getting teh following error message. I have installed aspell and aspell-devel but that does not seem to help. If someone can help me with this, that would be much appreciated.


make[7]: *** [kspell_aspell.la] Error 1
make[7]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins/aspell'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1'
make[2]: *** [build-work/kdelibs-3.4.1/Makefile] Error 2
make[2]: Leaving directory `/home/mani/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/mani/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

2

Thursday, June 2nd 2005, 8:36pm

RE: Installing KDE 3.4.1 with konstruct on redhat 9.0

You are missing the *first* error before those logs... there will be a 'file not found *.h' message first... then the rest of the build log errors are due to it.

Nick

3

Thursday, June 2nd 2005, 8:39pm

Thanks for replying. It does not give me a file not found error. It just gives me a bunch of undefined references to functions . I have attached the log below

make[6]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/tests'
Making all in plugins
make[6]: Entering directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins'
Making all in aspell
make[7]: Entering directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins/aspell'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -I/home/mani/kde3.4.1/include -I/usr/X11R6/include -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -O2 -pipe -I/home/mani/kde3.4.1/include -I/usr/X11R6/include -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -O2 -pipe -I/home/mani/kde3.4.1/include -I/usr/X11R6/include -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -O2 -pipe -I/home/mani/kde3.4.1/include -I/usr/X11R6/include -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -L/home/mani/kde3.4.1/lib -L/usr/X11R6/lib -o kspell_aspell.la -rpath /home/mani/kde3.4.1/lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /home/mani/kde3.4.1/lib -R /home/mani/kde3.4.1/lib -R /home/mani/kde3.4.1/lib -R /usr/X11R6/lib kspell_aspell_la.all_cpp.lo ../../ui/libkspell2.la -laspell
.libs/kspell_aspell_la.all_cpp.o(.text+0xb1): In function `ASpellClient::ASpellClient[not-in-charge](QObject*, char const*, QStringList const&)':
: undefined reference to `new_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0xf1): In function `ASpellClient::ASpellClient[in-charge](QObject*, char const*, QStringList const&)':
: undefined reference to `new_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x12a): In function `ASpellClient::~ASpellClient [not-in-charge]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x172): In function `ASpellClient::~ASpellClient [in-charge]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x1ba): In function `ASpellClient::~ASpellClient [in-charge deleting]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x237): In function `ASpellClient::languages() const':
: undefined reference to `get_aspell_dict_info_list'
.libs/kspell_aspell_la.all_cpp.o(.text+0x23f): In function `ASpellClient::languages() const':
: undefined reference to `aspell_dict_info_list_elements'
.libs/kspell_aspell_la.all_cpp.o(.text+0x26f): In function `ASpellClient::languages() const':
: undefined reference to `aspell_dict_info_enumeration_next'
.libs/kspell_aspell_la.all_cpp.o(.text+0x307): In function `ASpellClient::languages() const':
: undefined reference to `delete_aspell_dict_info_enumeration'
.libs/kspell_aspell_la.all_cpp.o(.text+0x4cf): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `new_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x4ee): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `aspell_config_replace'
.libs/kspell_aspell_la.all_cpp.o(.text+0x507): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `aspell_config_replace'
.libs/kspell_aspell_la.all_cpp.o(.text+0x510): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `new_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x51b): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `aspell_error_number'
.libs/kspell_aspell_la.all_cpp.o(.text+0x54c): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `aspell_error_message'
.libs/kspell_aspell_la.all_cpp.o(.text+0x6b7): In function `ASpellDict::ASpellDict[not-in-charge](QString const&)':
: undefined reference to `to_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x707): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `new_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x726): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `aspell_config_replace'
.libs/kspell_aspell_la.all_cpp.o(.text+0x73f): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `aspell_config_replace'
.libs/kspell_aspell_la.all_cpp.o(.text+0x748): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `new_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x753): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `aspell_error_number'
.libs/kspell_aspell_la.all_cpp.o(.text+0x784): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `aspell_error_message'
.libs/kspell_aspell_la.all_cpp.o(.text+0x8ef): In function `ASpellDict::ASpellDict[in-charge](QString const&)':
: undefined reference to `to_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x922): In function `ASpellDict::~ASpellDict [not-in-charge]()':
: undefined reference to `delete_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x92b): In function `ASpellDict::~ASpellDict [not-in-charge]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0x992): In function `ASpellDict::~ASpellDict [in-charge]()':
: undefined reference to `delete_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0x99b): In function `ASpellDict::~ASpellDict [in-charge]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0xa02): In function `ASpellDict::~ASpellDict [in-charge deleting]()':
: undefined reference to `delete_aspell_speller'
.libs/kspell_aspell_la.all_cpp.o(.text+0xa0b): In function `ASpellDict::~ASpellDict [in-charge deleting]()':
: undefined reference to `delete_aspell_config'
.libs/kspell_aspell_la.all_cpp.o(.text+0xab7): In function `ASpellDict::check(QString const&)':
: undefined reference to `aspell_speller_check'
.libs/kspell_aspell_la.all_cpp.o(.text+0xb61): In function `ASpellDict::suggest(QString const&)':
: undefined reference to `aspell_speller_suggest'
.libs/kspell_aspell_la.all_cpp.o(.text+0xb7f): In function `ASpellDict::suggest(QString const&)':
: undefined reference to `aspell_word_list_elements'
.libs/kspell_aspell_la.all_cpp.o(.text+0xbb5): In function `ASpellDict::suggest(QString const&)':
: undefined reference to `aspell_string_enumeration_next'
.libs/kspell_aspell_la.all_cpp.o(.text+0xc51): In function `ASpellDict::suggest(QString const&)':
: undefined reference to `delete_aspell_string_enumeration'
.libs/kspell_aspell_la.all_cpp.o(.text+0xdb6): In function `ASpellDict::storeReplacement(QString const&, QString const&)':
: undefined reference to `aspell_speller_store_replacement'
.libs/kspell_aspell_la.all_cpp.o(.text+0xe99): In function `ASpellDict::addToPersonal(QString const&)':
: undefined reference to `aspell_speller_add_to_personal'
.libs/kspell_aspell_la.all_cpp.o(.text+0xeb6): In function `ASpellDict::addToPersonal(QString const&)':
: undefined reference to `aspell_speller_save_all_word_lists'
.libs/kspell_aspell_la.all_cpp.o(.text+0x1043): In function `ASpellDict::addToSession(QString const&)':
: undefined reference to `aspell_speller_add_to_session'
collect2: ld returned 1 exit status
make[7]: *** [kspell_aspell.la] Error 1
make[7]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins/aspell'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2/plugins'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1/kspell2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mani/konstruct/kde/kdelibs/work/kdelibs-3.4.1'
make[2]: *** [build-work/kdelibs-3.4.1/Makefile] Error 2
make[2]: Leaving directory `/home/mani/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/home/mani/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

4

Thursday, June 2nd 2005, 8:44pm

I see.

But that does mean a missing header. I am not up to speed yet with definitive KDE building, but did you rebuild kdelibs _after_ building aspell?

If not the old libs will still fail, I guess?

Nick

5

Thursday, June 2nd 2005, 8:45pm

huh! So, that means I have to do a make clean before trying make install again.....whoa...another 12 hours to compile :(

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

6

Thursday, June 2nd 2005, 8:48pm

Heh - I am guessing the solution here... so wait a bit until someone bespoke really knows about KDE building.

I just spent 7 days (3 builds) getting it right... :D

Nick

7

Friday, June 3rd 2005, 6:48am

Managed to solve that one by rebuildijng, but now ran into a new one....sigh!

In file included from kmailcvt.all_cxx.cxx:3:
filter_oe.cxx: In member function `QString FilterOE::getFolderName(QString)':
filter_oe.cxx:400: invalid initializer
In file included from kmailcvt.all_cxx.cxx:4:
filter_pmail.cxx: In member function `QString
FilterPMail::getFolderName(QString)':
filter_pmail.cxx:329: invalid initializer
make[5]: *** [kmailcvt.all_cxx.o] Error 1
make[5]: Leaving directory `/home/mani/konstruct/kde/kdepim/work/kdepim-3.4.1/kmailcvt'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mani/konstruct/kde/kdepim/work/kdepim-3.4.1/kmailcvt'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mani/konstruct/kde/kdepim/work/kdepim-3.4.1'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/mani/konstruct/kde/kdepim/work/kdepim-3.4.1'
make[1]: *** [build-work/kdepim-3.4.1/Makefile] Error 2
make[1]: Leaving directory `/home/mani/konstruct/kde/kdepim'
make: *** [dep-../../kde/kdepim] Error 2

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

8

Friday, June 3rd 2005, 3:28pm

I am sorry, can't help you on this one yet - BUT, as I started building 3.4 last week, in between 3.4.1 :( came out - so right now I am starting today to build 3.4.1 using Konstruct meta/everything.

If I get the same problem and can resolve it, I will post back.

Nick

Lethe

Beginner

Posts: 41

Location: Pompey, England

Occupation: IT network/sysadmin

  • Send private message

9

Saturday, June 4th 2005, 3:16pm

I just built 3.4.1 using construct (23.5 hours using meta/everything!!). I didn't get this problem?

Nick

10

Wednesday, June 15th 2005, 9:51pm

jinju try changing to the directory /home/mani/konstruct/kde/kdepim/work and running ./configure --prefix=/home/mani/kde3.4.1 &&make &&make install. Then go back to /meta everything and run make install

This post has been edited 1 times, last edit by "kishd" (Jun 15th 2005, 9:52pm)


haidaihiep

Beginner

Posts: 1

Location: Saigon (Vietnam)

  • Send private message

11

Friday, August 26th 2005, 8:14pm

hi jinju

just replace 5 files as the guide:

http://commit-digest.org/?diff&path=/bra…revision=438561

and then you can continue to "make install"

Cheers

HAIdaihiep
The IMPOSSIBLE is often the UNTRIED ...