[prev in list] [next in list] [prev in thread] [next in thread]
List: kde3alpha
Subject: [Kde3alpha] Re: Compiling problems: QT3
From: "Gupta, Avinash" <Avinash.Gupta () Staples ! com>
Date: 2001-11-26 17:50:12
[Download RAW message or body]
Hi Ender,
>From the output below, it looks as though your QTDIR environment variable is
pointing to /usr/include/qt ... I would set it to the directory where you
'make' qt-copy from.
Also, it looks like you have put the sources for KDE3 in /usr/local/kde ...
is that really true or is that an old copy of kde?
Assuming your KDE sources are in /usr/local/kde and
your qt-copy dir is in /usr/local/kde/qt-copy,
and you want to install in /opt/kde3,
I would do the following at a command prompt:
cd /usr/local/kde/kdelibs
export QTDIR=/usr/local/kde/qt-copy
export KDEDIR=/opt/kde3
export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib:$LD_LIBRARY_PATH
export PATH=$KDEDIR/bin:$QTDIR/bin:$PATH
make distclean
make -f Makefile.cvs
./configure
make
make install
Do the above make steps for each package you want to compile.
Sometimes, it also helps to get the latest qt-copy from CVS and recompile
... don't know why, but it works ;)
Hope this helps.
-- avinash
> Heya all - I've been trying to compile KDE3 from CVS for the last few
> days.. However I keep running into one annoying problem.
>
> I've tried both Debians unstable QT3 packages, compiling from the qt-copy
> cvs module... and everything else I can think of. I only have one copy of
> the QT toolkit installed.
>
> But I keep getting this error.. Any ideas?
>
> creating libkdecore_la.all_cpp.cpp ...
> /bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I.
> -I.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kssl
-I/usr/include/qt
> -I/usr/X11R6/include -I/usr/local/kde/include -DQT_THREAD_SUPPORT
-D_REENTRANT
> -O2 -fno-exceptions -fno-check-new -ftemplate-depth-99
-DQT_NO_TRANSLATION
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -c
libkdecore_la.all_cpp.cpp
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../libltdl -I../kdecore
> -I../kdeui -I../kssl -I/usr/include/qt -I/usr/X11R6/include
-I/usr/local/kde/include
> -DQT_T HREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new
> -ftemplate-depth-99 -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST
> -DQT_NO_COMPAT -Wp,-MD,.deps/libkdecore_la.all_cpp.pp -c
libkdecore_la.all_cpp.cpp -fPIC
> -DPIC -o .libs/libkdecore_la.all_cpp.o
>
> In file included from libkdecore_la.all_cpp.cpp:46:
> kapplication.cpp:676: base class `QTranslator' has incomplete type
> kapplication.cpp: In method `KDETranslator::KDETranslator(QObject *)':
> kapplication.cpp:678: type `QTranslator' is not an immediate basetype for
> `KDETranslator'
> kapplication.cpp: In method `void KApplication::init(bool)':
> kapplication.cpp:756: implicit declaration of function `int
> installTranslator(...)'
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic