Changes required to get 2.4.6 to compile.

Sherwood Botsford <[email protected]> Fri, 20 Feb 2009 14:23:50 -0700
Newsgroups gmane.comp.db.rekall.general
Message-ID <[email protected]>
I'm not a C programmer.  The following fixes are black magic and
likely have unintended side effects,
In each case the compilation complained of a cast that loses
precision.  In each case I substituted long for int, ulong for uint

libs/el32/hash.cpp
Line 120  change int to long

libs/kbase/kb_stack.cpp
Line 459  change (int) to (long)
Line 467 change (int) to (long)

libs/kbase/kboverridedlg.cpp
Line 363  change (uint)(void *) to (ulong)(void *)

libs/kbase/kbconfigdlg.cpp
Line 315 change (uint)(void *) to (ulong)(void *)

pcre-devel is not mentioned in the README.FIRST document as a
pre-requisite. (although pcre.dll is mentioned for the winsooze
version.)
However the compilation will fail when pcre.h is not found.

script/python/kb_basic.cpp
Line 404 change int to long for pos

script/python/kb_pycontaienr.cpp
Line 63 change int to long for len

script/python/kb_support.cpp
Line 40 change int to long for pos

script/python/tkc_pydbugbase.cpp
Line 1135 change int to long for dictPos
Line 1085 change int to long for dictPos


Start it up;
/usr/local/bin/rekallqt rekallqt
rekallqt: error while loading shared libraries:
librekallqt_kde.so.246: cannot open shared object file: No such file
or directory

locate librekallqt_kde
/usr/lib64/librekallqt_kde.so
/usr/lib64/librekallqt_kde.so.245
/usr/local/lib/librekallqt_kde.so.246
/usr/ports/rekall-2.4.6/build/qt3/ports/qt3/librekallqt_kde.so
/usr/ports/rekall-2.4.6/build/qt3/ports/qt3/librekallqt_kde.so.246

Hmm.  Looks like in installed in /usr/local/lib, but looks for it in /usr/lib64

ldconfig /usr/local/lib /usr/lib64

rekallqt

Starts fine.  Go to create table.
Give the table a name "Names"
click ok.

Seg fault

Warning: QObject::connect: Cannot connect TKAction::activated(int) to
(null)::(null)
Action KB_info not found
Action KB_about not found
Action KB_manual not found
Warning: QObject::connect: Use the SLOT or SIGNAL macro to connect
KBTableViewer::
findIconPath: 16x16 : ***** not found *****
findIconPath: 16x16 helpabout: ***** not found *****
findIconPath: 16x16 rekallmanual: ***** not found *****
findIconPath: 16x16 (null): ***** not found *****
KBTableViewer::getLineHeight: LNH=21
Unexpected design name: Details
Segmentation fault

This is the same error that is reported by the the rpm install version.








--
Sherwood Botsford
Sherwood's Forests
Warburg, Alberta T0C 2T0
http://www.sherwoods-forests.com
780-848-2548