LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-02-2003, 12:02 AM   #1
johnva
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: Disabled
kde 3.1 compiling error, missing file or directory


I'm trying to install KDE3.1 from source, I have installe QT, arts, kdelibs....every thing went fine. However kdebase is not going as well.

I run ./configure --prefix=/opt/kde-3.1 --disable-dependency-tracking --with-shadow......this goes without a hitch, but make gives me the following error

make[3]: Entering directory `/usr/src/kde/kdebase/kdebase-3.1/kate/interfaces'
/opt/qt/bin/moc ./application.h -o application.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde-3.1/include -I/opt/qt/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 -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -D_GNU_SOURCE -c -o application.lo `test -f 'application.cpp' || echo './'`application.cpp
In file included from ../app/katemainwindow.h:26,
from ../app/kateapp.h:28,
from application.cpp:33:
../app/kateviewmanager.h:26:23: kate/view.h: No such file or directory
../app/kateviewmanager.h:27:27: kate/document.h: No such file or directory
In file included from ../app/kateapp.h:28,
from application.cpp:33:
../app/katemainwindow.h:28:23: kate/view.h: No such file or directory
../app/katemainwindow.h:29:27: kate/document.h: No such file or directory
In file included from ../app/kateapp.h:29,
from application.cpp:33:
../app/katedocmanager.h:24:27: kate/document.h: No such file or directory
make[3]: *** [application.lo] Error 1
make[3]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1/kate/interfaces'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1/kate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1'
make: *** [all] Error 2


it looks like it is looking for the files view.h and document.h
not sure where to go from here

BTW I have been using the books from Linuxfromscratch to build my system


any advice would be helpful
 
Old 07-02-2003, 12:32 AM   #2
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
I don't think it's a good idea to use --disable-dependency-tracking.
Maybe your problem is a depency problem but you haven't got error before because it was not searching for unmeet deps.
 
Old 07-02-2003, 04:21 PM   #3
johnva
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for the suggestion, it seems to have worked.

Now it's giving me this error

make[4]: Entering directory `/usr/src/kde/kdebase/kdebase-3.1/doc/khelpcenter/faq'
/opt/kde/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:1: validity error: Element acronym is not declared in trademark list of possible children
&RedHat; systems, 3 on &SuSE by editing your
^
make[4]: *** [index.cache.bz2] Error 1
make[4]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1/doc/khelpcenter/faq'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1/doc/khelpcenter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde/kdebase/kdebase-3.1'
make: *** [all] Error 2


I ran ./configure --with-shadow

Any ideas?

John
 
Old 07-02-2003, 06:01 PM   #4
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
first, do make clean in kdebase, kdelibs and arts. You should never compile something without tracking deps, because you have done it before, there's maybe something bad in package you think that are working. So do "make clean" to everything (but watch out, this will probably kill your running version of Kde too) except maybe QT, but make sure you have used option KDE tell you to use with QT... or a better idea is to get the package of your distribution for QT, since it's often a source of trouble.
Then, start back from the beginning but only use "./configure" . Kde should find your deps (and warn you if something important is missing) alone. you probably don't need to use "--with-shadow" since the configure script should be able to detect if you're using shadow or not.

By the way, what's your distribution?

Last edited by Half_Elf; 07-02-2003 at 06:03 PM.
 
Old 07-02-2003, 07:12 PM   #5
johnva
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks I'll give that a try....

I don't really have a distribution, I used RH 9 to make my linux. I followed a book on the web 'Linux from Scratch'. I'm trying to learn linux....the hard way....hehehehehe

John
 
Old 07-02-2003, 10:11 PM   #6
johnva
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: Disabled
I tried the make clean in arts, kdelibs, and kdebase. recompiled and still getting the same error as my last post......
 
Old 07-02-2003, 11:51 PM   #7
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
hum.... What's your gcc version?
and do you have libbz2 installed? it seems to give you an error when trying to read a bunziped file (tar.bz2).
 
Old 07-03-2003, 04:07 PM   #8
johnva
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Original Poster
Rep: Reputation: Disabled
gcc 3.2 is installed and yes libbz2 is installed

John
 
  


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
compile kde with Konstruct but missing file!! ngan_yine Linux - Newbie 5 03-07-2005 01:34 AM
compiling fails: kdelibs_export.h: No such file or directory drowstar Linux - Software 1 01-12-2005 11:35 AM
i got this error msg NTLDR file missing approvoi Mandriva 4 12-03-2004 07:53 PM
compiling errors- cc1plus: No such file or directory marxy Programming 2 04-13-2004 06:09 PM
compiling errors- cc1plus: No such file or directory marxy Linux - Newbie 0 04-13-2004 12:40 PM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration