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

List:       kde-kuml-devel
Subject:    Re: Configure problem with latest KDE BETA
From:       Gerard Flynn <gerard.flynn () free ! fr>
Date:       2000-09-22 18:13:07
[Download RAW message or body]

pgeorges wrote:

> flynn@lure.u-psud.fr a écrit :
> >
> > On Fri, Sep 22, 2000 at 03:51:41PM -0400, pgeorges wrote:
> > > Gerard Flynn a écrit :
> > >
> > > > mkdir /opt/qt2   (or anywhere else)
> > > > mkdir /opt/qt2/lib
> > > > ln -s /usr/lib/libqt.so.2 /opt/qt2/lib/libqt.so
> > > > ln -s /usr/include/qt2 /opt/qt2/include
> > > > cd .../kuml
> > > > export QTDIR=/opt/qt2
> > > > ./configure
> > > >
> > > >     Gerard
> > >
> > > Done, but still fails with this error :
> > >
> > > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include -I/opt/qt2//include
> > > -I/usr/X11R6/include    -O2 -Wall -DKDE2 -frtti -c actor.moc.cpp
> > > actor.moc.cpp:45: new declaration `static void
> > > Actor::staticMetaObject()'
> > > actor.h:31: ambiguates old declaration `static class QMetaObject *
> > > Actor::staticMetaObject()'
> > > actor.moc.cpp: In function `void
> > > __static_initialization_and_destruction_0(int, int)':
> > > actor.moc.cpp:29: no matching function for call to
> > > `QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
> > > /opt/qt2/include/qmetaobject.h:259: candidates are:
> > > QMetaObjectInit::QMetaObjectInit(void (*)())
> > > /opt/qt2/include/qmetaobject.h:261:
> > > QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit
> > > &)
> > >
> >
> >         Sorry, forgot about this part:
> >
> > mkdir /opt/qt2/bin
> > ln -s /usr/bin/moc2 /opt/qt2/bin/moc
> >
> >         You probably will need to do a make clean afterwards.
>
> Same error occurs. I even tried changing PATH env to put /opt/qt2/bin
> first, but without success.

    Actually to get rid of the moc files it looks like you need to type make
distclean not just make clean, maybe this is the problem.

    Gerard

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

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