After ./configure, a "make" gives
make[2]: Entering directory
`/home/guest/geheimnis/geheimnis'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt3/include -I/usr/X11R6/include -O2
-fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -Wnon-virtual-dtor -fno-builtin -c
main.cpp
In file included from main.cpp:5:
includes.h:10:26: ktmainwindow.h: No such file or
directory
make[2]: *** [main.o] Error 1
Logged In: YES
user_id=183306
I have this very problem with ktmainwindow.h as well.
Logged In: YES
user_id=357072
you must modify the "includes.h" file, so that
ktmainwindow.h is changed to
kmainwindow.h. This way worked for me on RH 7.2, kde3 & qt3.
Since the compilations is not yet over :), I cannot tell if
it works.
Logged In: YES
user_id=398090
Just tried this on my box and I'm getting the following:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
-I/usr/lib/qt3-gcc2.96/include -I/usr/X11R6/include -O2
-fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -Wnon-virtual-dtor -fno-builtin -c kPGPKeys.cpp
kPGPKeys.cpp: In method `kPGPKeys::kPGPKeys ()':
kPGPKeys.cpp:89: no matching function for call to
`KToolBar::insertCombo (QStrList *, int, const bool &, const
char[16],
kPGPKeys *const, const char[24], const bool &, const
char[15], int,
int)'
/usr/include/kde/ktoolbar.h:341: candidates are: int
KToolBar::insertCombo (const QStringList &, int, bool, const
char *,
const QObject *, const char *, bool = true, const QString & =
QString::null, int = 70, int = -1, QComboBox::Policy =
QComboBox::AtBottom)
/usr/include/kde/ktoolbar.h:357: int
KToolBar::insertCombo (const QString &, int, bool, const char *,
QObject *, const char *, bool = true, const QString & =
QString::null,
int = 70, int = -1, QComboBox::Policy = QComboBox::AtBottom)
make[2]: *** [kPGPKeys.o] Error 1
make[2]: Leaving directory `/tmp/geheimnis/geheimnis'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/geheimnis'
make: *** [all-recursive-am] Error 2
Which is different than when I try to compile from cvs,
where I get
g++ -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -Wnon-virtual-dtor -fno-builtin
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST
-DKDE_NO_COMPAT -DKDE_NO_COMPAT_H -frtti -o geheimnis main.o
mySession.o be_gpg.o be_pgp2.o be_pgp5.o be_pgp6.o
kPGPLicense.o kPGPDNDZone.o kPGPPrefs.o kPGPDecrypt.o
kPGPEncrypt.o myServerInterface.o kPGPKeyAdd.o
kPGPKeyExport.o kPGPKeyProps.o kPGPKeyList.o kPGPKeys.o
kPGPProfileEdit_GPG.o kPGPProfileEdit_New.o
kPGPProfileEdit_PGP2.o kPGPProfileEdit_PGP5.o
kPGPProfileEdit_PGP6.o kPGPSelectKey.o misc.o myClipboard.o
myKeyring.o myProfile.o kPGPDock.o profileeditbase.o
cryptdialogbase.o klabelaction.o profilemanager.o dummy.o
geheimnis_meta_unload.o -L/usr/X11R6/lib
-L/usr/lib/qt3-gcc2.96/lib -L/usr/lib -lkfile -Wl,--rpath
-Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib/qt3-gcc2.96/lib
-Wl,--rpath -Wl,/usr/X11R6/lib
/usr/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[3]: *** [geheimnis] Error 1
make[3]: Leaving directory `/home/rob/geheimnis_2/geheimnis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rob/geheimnis_2/geheimnis'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rob/geheimnis_2'
make: *** [all-recursive-am] Error 2
Anyone?
Logged In: YES
user_id=570221
It's the same with a RPM package !!
Logged In: YES
user_id=414064
... this is not the only problem. As I encountered the
ComboBox does no longer support "QStrList"s but only
"QStringList"... so I tried to adapt it to QStringList... as
soon as I'm finish (if ever) I'll drop a message... (don't
expect too much from my side, since I'm much better in
Java-related things, not g++, sorry, so it might be if it
wont compile, I'll drop it again...)
greets
Joachim