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

List:       koffice
Subject:    Re: can't compile kdelibs-19990617
From:       John Mark Walker <jmwalker () aya ! yale ! edu>
Date:       1999-06-20 18:35:49
[Download RAW message or body]

All you have to do is edit $KDEDIR/include/openparts.h and
$KDEDIR/include/openparts_ui.h so that there are no relative paths in the
#include's.  For example, where it has <../kom/kom.h> just change it to
<kom.h>  This is what I have done every day for the past 3 days.  It's
such a simple fix that I figured it would be corrected rather shortly.

HTH,
-JM

On Sun, 20 Jun 1999, Glover George wrote:

> Date: Sun, 20 Jun 1999 12:32:33 -0500
> From: Glover George <dime@ametro.net>
> Reply-To: koffice@max.tat.physik.uni-tuebingen.de
> To: koffice@max.tat.physik.uni-tuebingen.de
> Subject: Re: can't compile kdelibs-19990617
> Resent-Date: Sun, 20 Jun 1999 19:37:33 +0200
> Resent-From: koffice@max.tat.physik.uni-tuebingen.de
> 
> I had the same problem with my cvs of about 48 hours ago.  It seems the install
> script is not putting those header files in the right place.  I simply copied
> them over to where kdebase was looking for them.  I wonder why everyone hasn't
> been complaining???
> 
> 
> On Sat, 19 Jun 1999, Enno Bartels wrote:
> > Hi again!
> > 
> > 
> > Enno Bartels wrote:
> > 
> > > Hi again!
> > >
> > > I have a Pentium 100 with 96 MB RAM and
> > >  suse linux 5.3 plus
> > >
> > >   - automake 1.4
> > >   - autoconf 2.13
> > >   - phyton   1.5.1
> > >   - egcs 1.1.2
> > >   - mico 2.2.7
> > >   - qt-2.00beta2-snapshot-19990616
> > >   - kdelibs-19990617
> > >
> > > To go on with a koffice-snapshot  i need
> > > a working kdelib - but I could't compile it.
> > >
> > > 1.) First Error:
> > >   'corba/kded/ktrader.cc'
> > > in Function
> > > 'const KSharedPtr<KService> KTraderServiceProvider::service( const char
> > > *mime_type )'
> > > Line 249  unkown function  'getFirst'
> > >
> > > I could repair the Problem by changing 'getFirst' to 'first'
> > > I tried  that because I found the commend
> > >  * in trader.cc I had to change getFirst() -> first(). Don't know why
> > > in 'kdeui/ktabctl.cpp'
> > >
> > > so compiling works fine :-)))
> > >
> > > BUT  :-((
> > >
> > > 2.) Second problem
> > > -----------
> > > Making all in kded
> > > make[3]: Entering directory
> > > `/usr/src/neues/kde/kdelibs-19990617/corba/kded'
> > > /bin/sh ../../libtool --mode=link g++  -O2 -L/opt/kde/lib
> > > -L/usr/local/qt/lib  -L/usr/X11R6/lib  -o kded -rpath /opt/kde/lib
> > > -rpath /usr/local/qt/lib -rpath /usr/X11R6/lib kded-server.o
> > > ./libkded.la
> > > g++ -O2 -o .libs/kded kded-server.o -L/opt/kde/lib -L/usr/local/qt/lib
> > > -L/usr/X11R6/lib ./.libs/libkded.so -L/opt/kde/lib -L/usr/local/qt/lib
> > > -L/usr/X11R6/lib
> > > /usr/src/neues/kde/kdelibs-19990617/corba/kom/.libs/libkom.so
> > > -L/usr/local/lib
> > > /usr/src/neues/kde/kdelibs-19990617/kdeui/.libs/libkdeui.so
> > > /usr/src/neues/kde/kdelibs-19990617/kdecore/.libs/libkdecore.so -lXext
> > > -lqt -lX11 -lICE -lSM -ldl -lmico2.2.7
> > > /usr/src/neues/kde/kdelibs-19990617/kio/.libs/libkio.so -Wl,--rpath
> > > -Wl,/opt/kde/lib -Wl,--rpath -Wl,/usr/local/qt/lib -Wl,--rpath
> > > -Wl,/usr/X11R6/lib
> > > /usr/src/neues/kde/kdelibs-19990617/kdecore/.libs/libkdecore.so:
> > > undefined reference to `QWidget::styleChange(Qt::GUIStyle)'
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [kded] Error 1
> > > make[3]: Leaving directory
> > > `/usr/src/neues/kde/kdelibs-19990617/corba/kded'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/usr/src/neues/kde/kdelibs-19990617/corba'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/src/neues/kde/kdelibs-19990617'
> > > make: *** [all-recursive-am] Error 2
> > > --------
> > >
> > > I couldn't fix it
> > > and
> > > i do not understand where the problem is, because the Funktions
> > > 'QWidget::styleChange' and 'Qt::GUIStyle'  should be in the qtlib,
> > > but why not found by the compiler in the fresh 'kdecore' lib ??
> > >
> > > What have I to do ??
> > > a new Qt or kdelib or was my first error fixing wrong or
> > > is there an other trick ?
> > >
> > > Thanks
> > > Enno
> > 
> > me myself and i
> > could fix the problems of the kdelibs-19990617
> > by updating with a newer snapshot.
> > 
> > I could compile and install the kdelibs-19990618.
> > There were no problems with it at al l:-)))
> > 
> > BUT :-((((
> > 
> > I could not compile the
> > koffice-19990609
> > ----------
> > make[3]: Entering directory
> > `/usr/src/neues/kde/koffice/koffice-19990609/lib/kofficecore'
> > /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
> > -I../../lib/koml -I../../lib/koml -I../../lib/store -I../../lib/store
> > -I./../ -I/opt/kde/include/idl -I/opt/kde/include -I/usr/local/qt/include
> > -I/usr/X11R6/include -I/usr/local/include    -O2 -Wall -c koApplication.cc
> > 
> > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/koml -I../../lib/koml
> > -I../../lib/store -I../../lib/store -I./../ -I/opt/kde/include/idl
> > -I/opt/kde/include -I/usr/local/qt/include -I/usr/X11R6/include
> > -I/usr/local/include -O2 -Wall -c  -fPIC -DPIC koApplication.cc -o
> > koApplication.lo
> > In file included from /opt/kde/include/opApplication.h:37,
> >                  from koApplication.h:23,
> >                  from koApplication.cc:20:
> > /opt/kde/include/openparts.h:20: ../kom/kom.h: No such file or directory
> > /opt/kde/include/openparts.h:28: ../partsui/openparts_ui.h: No such file
> > or directory
> > make[3]: *** [koApplication.lo] Error 1
> > --------
> > 
> > 
> > so I tried it with a newer koffice snapshot -> koffice-19990618 !!!
> > but it had the save effect   !!!!!
> > 
> > ---------------
> > make[3]: Entering directory
> > `/usr/src/neues/kde/koffice/koffice-19990618/lib/kofficecore'
> > /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> > -I../.. -I../../lib/koml -I../../lib/koml -I../../lib/store
> > -I../../lib/store -I./../ -I/opt/kde/include/idl -I/opt/kde/include
> > -I/usr/local/qt/include  -I/usr/X11R6/include -I/usr/local/include    -O2
> > -c koDocument.cc
> > In file included from koffice.h:28,
> >                  from koDocument.h:26,
> >                  from koDocument.cc:23:
> > /opt/kde/include/openparts_ui.h:17: ../kom/kom.h: No such file or
> > directory
> > In file included from koffice.h:36,
> >                  from koDocument.h:26,
> >                  from koDocument.cc:23:
> > /opt/kde/include/openparts.h:17: ../kom/kom.h: No such file or directory
> > /opt/kde/include/openparts.h:25: ../partsui/openparts_ui.h: No such file
> > or directory
> > -----------------
> > 
> > 
> > 'kom.h'   could I  only found in '/opt/kde/include'   and of course in the
> > kdelibs in the subdir 'corba/kom/kom.h'
> > and by diff they are identically
> > 
> > and
> > 
> > 'openparts_ui.h' could I only found in '/opt/kde/include'   and of course
> > in the kdelibs in the subdir 'corba/parts/openparts.h
> > and by diff they are identically
> > 
> > 
> > dito compiling problem with a kdebase-19990618 snapshot
> > 
> > 
> > Who can say what 's wrong !?
> > 
> > THANKS
> > Enno
> 
> 

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

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