LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-13-2005, 02:24 PM   #1
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 70

Rep: Reputation: 15
How can Kognition be installed to GNOME?


I can use KDevelop under GNOME, so I think all the KDE softwares(packages) can be installed to my FC3-GNOME.

However, when I tried to install Kognition, after I successfully "./configure" Kognition, I always met the following error after I typed "make" and enter:

[root@csres107 kognition-0.1]# make
make all-recursive
make[1]: Entering directory `/home/pjia/installation/softwares/OCR/kognition/kognition-0.1'
Making all in kognition
make[2]: Entering directory `/home/pjia/installation/softwares/OCR/kognition/kognition-0.1/kognition'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT word_collector.o -MD -MP -MF ".deps/word_collector.Tpo" \
-c -o word_collector.o `test -f 'word_collector.cpp' || echo './'`word_collector.cpp; \
then mv ".deps/word_collector.Tpo" ".deps/word_collector.Po"; \
else rm -f ".deps/word_collector.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from segimage.h:26,
from character.h:26,
from abstract_character.h:26,
from character_database.h:25,
from word_collector.h:24,
from word_collector.cpp:20:
common.h: In member function `typename slist<T>::iterator slist<T>::insert_sorted(const T&)':
common.h:56: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
common.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
common.h: In member function `typename slist<T>::iterator slist<T>::insert_sorted(const T&, typename slist<T>::iterator)':
common.h:132: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
common.h:137: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
common.h:140: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
common.h:144: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
In file included from abstract_character.h:26,
from character_database.h:25,
from word_collector.h:24,
from word_collector.cpp:20:
character.h: At global scope:
character.h:37: error: extra `;'
In file included from character_database.h:25,
from word_collector.h:24,
from word_collector.cpp:20:
abstract_character.h: In member function `float path_iterator<is_forward_iterator>::get_weight() const':
abstract_character.h:81: error: invalid use of undefined type `const struct abstract_character'
abstract_character.h:55: error: forward declaration of `const struct abstract_character'
abstract_character.h: In member function `bool path_iterator<is_forward_iterator>::is_matched() const':
abstract_character.h:82: error: invalid use of undefined type `const struct abstract_character'
abstract_character.h:55: error: forward declaration of `const struct abstract_character'
make[2]: *** [word_collector.o] Error 1
make[2]: Leaving directory `/home/pjia/installation/softwares/OCR/kognition/kognition-0.1/kognition'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pjia/installation/softwares/OCR/kognition/kognition-0.1'
make: *** [all] Error 2


Anybody who can tell me how I can successfully install Kognition in GNOME? Cheers
 
Old 03-13-2005, 02:53 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
KDE (and programs) all use QT. Do you have QT installed? If not, that should be your first part of the install.
 
Old 03-14-2005, 08:42 AM   #3
jiapei100
Member
 
Registered: Jan 2005
Location: Surrey, BC, Canada
Distribution: Ubuntu 12.04
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by XavierP
KDE (and programs) all use QT. Do you have QT installed? If not, that should be your first part of the install.
I think I've already installed everything about QT
I checked my QT, the following are all of my QT rpms in FC3-GNOME. I think that's enough for any KDE softwares, right?

qt 1:3.3.3-8
qt-config 1:3.3.3-8
qt-designer 1:3.3.3-8
qt-devel 1:3.3.3-8
qt-MySQL 1:3.3.3-8
qt-ODBC 1:3.3.3-8
qt-PostgreSQL 1:3.3.3-8
qtparted 0.4.4-1.1.fc3.rf
PyQt 3.13-1
PyQt-devel 3.13-1
PyQt-examples 3.13-1

Any other suggestions?
 
  


Reply



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 installed Afterstep, now how can I Use it instead of Gnome? Jengo Ubuntu 3 03-25-2006 04:16 PM
Just installed Dropline Gnome and .. etillman Slackware 2 06-05-2004 07:09 PM
Install GNOME after Mandrake 9.2 Installed Campy19 Mandriva 2 01-12-2004 09:09 PM
GNOME installed, still have a few problems. LSD Slackware 3 01-18-2003 10:18 PM
Need help... installed new XFree and now GNOME doesn't come up... RAndreoni Linux - Newbie 1 02-07-2002 05:57 PM

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

All times are GMT -5. The time now is 11:43 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