|
|
Choosing A Webhost: |
Re: 2.4.5 Build problem with kb_xbase.cpp: msg#00044db.rekall.general
On Wednesday 22 August 2007, Paul McNary wrote: > On Wednesday 22 August 2007 18:29, Thomas Spuhler wrote: > > On Wednesday 22 August 2007, Paul McNary wrote: > > > Hello Thomas > > > > > > I'm seeing a problem with 2.4.5 that might be related to yours. > > > If you open a command window and manually run rekallqt > > > do you get an error message. You will not see the error > > > message if you run it from a menu item. > > > > > > Try it manually and report the error that it fails with, > > > maybe it is provising some message before the seg fault. > > > > > > Paul > > > pmcnary-H3To4Fzlp4DR7s880joybQ@xxxxxxxxxxxxxxxx > > > > > > On Tuesday 21 August 2007 00:10, Thomas Spuhler wrote: > > > > Paul McNary wrote: > > > > > Thomas > > > > > > > > > > Are you using the qt build or the KDE build? > > > > > > > > > > Paul > > > > > pmcnary-H3To4Fzlp4DR7s880joybQ@xxxxxxxxxxxxxxxx > > > > > > > > Hmm... how do I know? > > > > These are some of the build lines in the spec file > > > > %build > > > > export KDEDIR=%{_prefix} > > > > PARSED_OPT_FLAGS=`echo \'$RPM_OPT_FLAGS\' | sed "s/ /',/g" | sed > > > > "s/',/', '/g"` > > > > sed -i "s|'-Wall'|[$PARSED_OPT_FLAGS]|" scons/rkBuilder.py > > > > echo "prefix=%{_prefix}" >> scons/settings.qt3 > > > > echo "with-mysql-libraries=%{_libdir}/mysql" >> scons/settings.qt3 > > > > echo "with-pgsql-libraries=%{_libdir}" >> scons/settings.qt3 > > > > echo "with-python-libraries=%{_libdir}" >> scons/settings.qt3 > > > > echo "with-qt-includes=%{_libdir}/qt-3.3/include" >> > > > > scons/settings.qt3 echo "with-qt-libraries=%{_libdir}/qt-3.3/lib" >> > > > > scons/settings.qt3 cp scons/settings.qt3 settings > > > > cp scons/Makefile . > > > > > > > > > > > > here are some of the ln lines, seems to be a qt build? > > > > > > > > ln -s %{_datadir}/apps/rekallqt/icons/hicolor/32x32/apps/rekall.png > > > > pixmaps/rekall.png > > > > cp apps/rekallqt/icons/hicolor/32x32/apps/rekall.png > > > > pixmaps/rekallrt.png cd $RPM_BUILD_ROOT%{_bindir} > > > > ln -s %{_bindir}/rekallqt rekall > > > > ln -s %{_bindir}/rekallqtManual rekallManual > > > > ln -s %{_bindir}/rekallqtrt rekallrt > > > > > > > > Thomas > > > > I just tried to build an rpm using the pristine source tar using the > > suse spec it provided > > It got pretty far but then suddenly an lot of compiling errors came up. > > > > script/kjs/kb_cookiejar.h:14:31: error: kjs/object_object.h: No such file > > or directory > > script/kjs/kb_cookiejar.h:15:26: error: kjs/internal.h: No such file or > > directory > > script/kjs/kb_cookiejar.h:25: error: ‘ObjectPrototypeImp’ has not been > > declared > > script/kjs/kb_cookiejar.h:45: error: expected class-name before ‘{’ token > > script/kjs/kb_cookiejar.h:45: warning: ‘class RekallCookieJarFunctionImp’ > > has virtual functions but non-virtual destructor > > script/kjs/kb_cookiejar.cpp:71: error: ‘ObjectPrototypeImp’ has not been > > declared > > script/kjs/kb_cookiejar.cpp: In > > constructor > > ‘RekallCookieJarObjectImp::RekallCookieJarObjectImp(KJS::ExecState*, > > int*)’: > > script/kjs/kb_cookiejar.cpp:74: error: no matching function for call > > to ‘KJS::Object::Object(int*&)’ > > /usr/include/kjs/object.h:648: note: candidates are: > > KJS::Object::Object(KJS::ObjectImp*) > > /usr/include/kjs/object.h:84: note: KJS::Object::Object() > > /usr/include/kjs/object.h:82: note: > > KJS::Object::Object(const KJS::Object&) > > script/kjs/kb_cookiejar.cpp: In > > constructor > > ‘RekallCookieJarFunctionImp::RekallCookieJarFunctionImp(KJS::ExecState*, > > int, int)’: > > script/kjs/kb_cookiejar.cpp:123: error: class > > ‘RekallCookieJarFunctionImp’ does not have any field named > > ‘InternalFunctionImp’ > > script/kjs/kb_cookiejar.cpp:125: error: ‘FunctionPrototypeImp’ was not > > declared in this scope > > script/kjs/kb_cookiejar.cpp:125: error: expected primary-expression > > before ‘)’ token > > script/kjs/kb_cookiejar.cpp:133: error: no matching function for call > > to ‘KJS::Value::Value(RekallCookieJarFunctionImp* const)’ > > /usr/include/kjs/value.h:172: note: candidates are: > > KJS::Value::Value(const KJS::Value&) > > /usr/include/kjs/value.h:171: note: > > KJS::Value::Value(KJS::ValueImp*) > > /usr/include/kjs/value.h:170: note: KJS::Value::Value() > > script/kjs/kb_cookiejar.cpp:134: error: ‘put’ was not declared in this > > scope /usr/include/kjs/lookup.h: In function ‘KJS::Value > > KJS::lookupOrCreateFunction(KJS::ExecState*, const KJS::Identifier&, > > const KJS::ObjectImp*, int, int, int) [with FuncImp = > > RekallCookieJarFunctionImp]’: /usr/include/kjs/lookup.h:185: > > instantiated from ‘KJS::Value > > KJS::lookupGet(KJS::ExecState*, const KJS::Identifier&, const > > KJS::HashTable*, const ThisImp*) [with FuncImp = > > RekallCookieJarFunctionImp, ThisImp = RekallCookieJarObjectImp, ParentImp > > = KJS::ObjectImp]’ > > script/kjs/kb_cookiejar.cpp:97: instantiated from here > > /usr/include/kjs/lookup.h:146: error: cannot > > convert ‘RekallCookieJarFunctionImp*’ to ‘KJS::ObjectImp*’ in > > initialization scons: *** [build/kde/script/kjs/kb_cookiejar.os] Error 1 > > Thomas > > The way that I started isolating problems, was to start > disabling modules that caused trouble, then start adding them > back in settings.qt3. > > Like here kjs is causing a problem. > set > enable-kjs=no > in settings.qt3 > > Then config again > and try compile again. > > I been trying to get a base of some sort built and > then start figuring out why the modules won't build. > I don't kmow GCC but it appears to not be > putting your include file locations for kjs in > the build. SCons issue. Someone more familiar > with SCons and Rekall will have to help here. > > Sorry I can't help with more detail but I'm only a > couple of steps ahead of you in building and > compiling and that is with the USLC compilers > not GCC. > > Paul > pmcnary-H3To4Fzlp4DR7s880joybQ@xxxxxxxxxxxxxxxx There was a big step from the gcc3 series compiler to the gcc4+ versions. GCC3 was pretty forgiving. I keep on trying. Maybe there is a bug in the Mandriva spec file. It compiles with that spec file, but then the segfault. I'll look through the patches if something is obvious. -- Best Regards Thomas J Spuhler VP Marketing TUSONIX, Inc.
Rekall mailing list Rekall-TvUNdCdnGOiN0BpGcQGnph2eb7JE58TQ@xxxxxxxxxxxxxxxx http://www.mailman.a-i-s.co.uk/cgi-bin/mailman/listinfo/rekall
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 2.4.5 Build problem with kb_xbase.cpp, Paul McNary |
|---|---|
| Next by Date: | Re: 2.4.5 Build problem with kb_xbase.cpp, Thomas Spuhler |
| Previous by Thread: | Re: 2.4.5 Build problem with kb_xbase.cpp, Paul McNary |
| Next by Thread: | Re: 2.4.5 Build problem with kb_xbase.cpp, Thomas Spuhler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |