Compiling kmysqladmin with Debian unstable
Hi,
I am trying to compile kmysqladmin with Debian unstable.
FYI with gcc-3.3, KDE 3.1.3 and QT-3.1.1
1. First it does not find the Qt files with ./configure
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (headers and libraries)
not found. Please check your installation!
However it's Ok with ./configure --with-qt-includes=/usr/include/qt3
2. Then it does not compile :
cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
In file included from ThreadView.cpp:8:
my_sql.h:36: warning: `class CMySql' only defines a private destructor and has
no friends
my_sql.h: In destructor `smart_pointer<T>::~smart_pointer() [with T =
CMySql]':
ThreadView.cpp:25: instantiated from here
my_sql.h:443: error: `virtual CMySql::~CMySql()' is private
helpers/smart_pointer.h:84: error: within this context
my_sql.h: In member function `smart_pointer<T>&
smart_pointer<T>::operator=(const smart_pointer<T>&) [with T = CMySql]':
ThreadView.cpp:26: instantiated from here
my_sql.h:443: error: `virtual CMySql::~CMySql()' is private
helpers/smart_pointer.h:98: error: within this context
ThreadView.cpp: In member function `virtual void CThreadView::RefreshList()':
ThreadView.cpp:53: error: `get_threads' undeclared (first use this function)
ThreadView.cpp:53: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
ThreadView.cpp: In member function `virtual void CThreadView::KillThread()':
ThreadView.cpp:129: error: `kill_thread' undeclared (first use this function)
make[3]: *** [ThreadView.o] Error 1
make[3]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.5/kmysqladmin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.5/kmysqladmin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/ext6/src/kmysqladmin-0.6.5'
make: *** [all] Error 2
Thanks for your help,
Yann
--
http://www.non-violence.org/ | Site collaboratif sur la non-violence
http://www.forget-me.net/ | Alternatives sur le Net
http://fr.wikipedia.org/ | Encyclopédie libre
http://www.forget-me.net/pro/ | Formations et services Linux
Reply to: