Ich will mir mal den kxmleditor genauer ansehen. Also
apt-get source kxmleditor. Das ging soweit. Jetzt will
ich mit ein Makefile basteln mit ./configure. Da meckert er:
Code: Alles auswählen
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not found. Please check your installation!
brauche ich mehr? Nagut, um ruszufinden, woran configure denn nun scheitert, habe ich das mal nachvollzogen. In configure wird folgendes Testscript erzeugt:
Code: Alles auswählen
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 302)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
also compiliert mit
Code: Alles auswählen
gcc -I /usr/include/qt3/ conftest2.c
Code: Alles auswählen
$ gcc -I /usr/include/qt3/ conftest2.c
In file included from /usr/include/qt3/qwindowdefs.h:44,
from /usr/include/qt3/qwidget.h:42,
from /usr/include/qt3/qdesktopwidget.h:40,
from /usr/include/qt3/qapplication.h:42,
from conftest2.c:4:
/usr/include/qt3/qstring.h:56: string: No such file or directory
In file included from /usr/include/qt3/qmap.h:46,
from /usr/include/qt3/qmime.h:43,
from /usr/include/qt3/qevent.h:45,
from /usr/include/qt3/qobject.h:45,
from /usr/include/qt3/qwidget.h:43,
from /usr/include/qt3/qdesktopwidget.h:40,
from /usr/include/qt3/qapplication.h:42,
from conftest2.c:4:
/usr/include/qt3/qvaluelist.h:48: iterator: No such file or directory
/usr/include/qt3/qvaluelist.h:49: list: No such file or directory
In file included from /usr/include/qt3/qmime.h:43,
from /usr/include/qt3/qevent.h:45,
from /usr/include/qt3/qobject.h:45,
from /usr/include/qt3/qwidget.h:43,
from /usr/include/qt3/qdesktopwidget.h:40,
from /usr/include/qt3/qapplication.h:42,
from conftest2.c:4:
Code: Alles auswählen
/usr/include/qt3/qstring.h:
# include <string>
/usr/include/qt3/qvaluelist.h:
#include <iterator>
#include <list>
/usr/include/qt3/qmap.h:
#include <iterator>
#include <map>
weedy.