[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Successes and failures
From:       Jerome Loisel <monkeys () intergate ! bc ! ca>
Date:       1999-07-26 18:10:00
[Download RAW message or body]



Hello again!

	I have tried doing what you guys recommended. Thanks a lot for the
help. Sadly, not all worked perfectly. Just so you know, I removed the source
directories for KDEBase and KOffice (KDEbase's was seriously screwed, hence the
problems), untarred them again (fresh start), set my $QTDIR and $KDEDIR
properly, and tried to do it right. My snapshots were 1999/07/24.
 	I began with KOffice. I got it to start compiling (yay!). It stopped
at Katabase, though... Here is what I then got.

# Making all in katabase
# make[2]: Entering directory `/root/koffice/katabase'
# Making all in kdb
# make[3]: Entering directory `/root/koffice/katabase/kdb'
# make[3]: *** No rule to make target `all'.  Stop.
# make[3]: Leaving directory `/root/koffice/katabase/kdb'
# make[2]: *** [all-recursive] Error 1
# make[2]: Leaving directory `/root/koffice/katabase'
# make[1]: *** [all-recursive] Error 1
# make[1]: Leaving directory `/root/koffice'
# make: *** [all-recursive-am] Error 2                                        
  
	I then tried configuring with the --without-katabase option, but that
did nothing. So I tried something more radical. I reconfigured, then edited
the Makefile to remove Katabase from the subdirs line. I did make again, and
got positive results. I got more stuff to compile, but things halted once I got
to KPresenter. I ended up with this:

# /usr/local/qt20x/bin/moc ./kpresenter_view.h -o kpresenter_view.moc
# g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I../lib
# -I../lib/kofficeui -I../lib/kofficeui -I../lib/kofficecore
# -I../lib/kofficecore -I../lib/koml -I../lib/koml -I../lib/store -I../lib/store
# -I/usr/local/kdecvs/include -I/usr/local/qt20x/include  -I/usr/X11R6/include
#     -O2 -c kpresenter_view.cc In file included from shadowcmd.h:23,         
#         from kpresenter_view.cc:46: kpobject.h:29: koStream.h: No such file or
# directory In file included from kpresenter_doc.h:37,                  from
# kpresenter_view.h:35,                  from kpresenter_view.cc:52:
# kpbackground.h:28: koStream.h: No such file or directory make[3]: ***
# [kpresenter_view.o] Error 1 make[3]: Leaving directory
# `/root/koffice/kpresenter' make[2]: *** [all-recursive] Error 1
# make[2]: Leaving directory `/root/koffice/kpresenter'
# make[1]: *** [all-recursive] Error 1
# make[1]: Leaving directory `/root/koffice'
# make: *** [all-recursive-am] Error 2                 

	I then edited the Makefile again and removed KPresenter from the
subdirs (sniff). I tried make again anf got basically the same error message on
kword. Am I being stupid again? What should I do? Download a newer version and
cross my fingers?
	Anyways, hope this does not hinder your work. Thanks for the tips


	BTW, this is where compiling KDEBase stopped working:

# make[4]: Entering directory `/root/kdebase/kdebase/kcontrol/odbc/drvcfg1'
# /bin/sh ../../../libtool --silent --mode=compile gcc -DUNIXODBC
# -DHAVE_CONFIG_H -I../ -I/usr/local/kdecvs/include -I/usr/local/qt20x/include 
# -I/usr/X11R6/include    -O2 -c drvcfg1.c drvcfg1.c:12: odbcinstext.h: No such
# file or directory make[4]: *** [drvcfg1.lo] Error 1 make[4]: Leaving directory
# `/root/kdebase/kdebase/kcontrol/odbc/drvcfg1' make[3]: *** [all-recursive]
# Error 1 make[3]: Leaving directory `/root/kdebase/kdebase/kcontrol/odbc'
# make[2]: *** [all-recursive] Error 1
# make[2]: Leaving directory `/root/kdebase/kdebase/kcontrol'
# make[1]: *** [all-recursive] Error 1
# make[1]: Leaving directory `/root/kdebase/kdebase'
# make: *** [all-recursive-am] Error 2                  

	I know compiling KDEBase is a big venture, and not meant for newbies. I
do not insist on it, and am mainly including this FYI. I mainly want to get
KOffice working...
	Thanks again!

Jérôme Loisel


PS: If you guys are interested, once I get the hang of this (assuming I do), I
could write up a "compiling KOffice for dummies" which would not replace the
current install instructions (those are probably fine for power users), but be
linked to them in case a more average person (or a real dummy) wants to
compile. My instructions would cover everything you actually have to do to a
RH60 system in order to get it to compile Qt2.0.1, Mico 2.2.7, KDElibs
and Koffice. I would also indicate that KOffice is alpha, and they should not
expect it to even compile on a regular basis. So I'm offering, but If you think
that this would be either useless or downright dangerous, no probs.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic