[bt-devel] Current status of static build

Joachim Ansorg bt-devel@crosswire.org
Mon, 18 Jun 2001 10:28:08 +0200


This should be fixed now.
Is it possible for you to create the wrapper script around the statically 
linked BibleTime automatically or include it in the RPM?
The script should look like:

export BT_PATH=/usr/bibletime/ # install location of the BibleTime directory
export KDEDIRS=$BT_PATH
$BT_PATH/bin/bibletime

I'm not sure howto pass all commandline-options of the script to the 
BibleTime executable. Do you know how?

Joachim

> The build with just sword as static compiled fine but with kde as static I
> get this error. Any ideas?
>
> main.cpp: In function `int main (int, char **)':
> main.cpp:132: warning: comparison between signed and unsigned integer
> expressions
> main.cpp:133: no matching function for call to
> `KStandardDirs::addResourceType (QString &, QString)'
> /usr/include/kstddirs.h:158: candidates are: bool
> KStandardDirs::addResourceType (const char *, const QString &)
> make[3]: *** [main.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> bibletime.cpp: In method `void BibleTime::saveProperties (KConfig *)':
> bibletime.cpp:274: warning: unused parameter `KConfig *myConfig'
> bibletime.cpp: In method `void BibleTime::readProperties (KConfig *)':
> bibletime.cpp:279: warning: unused parameter `KConfig *myConfig'
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory
> `/usr/src/RPM/BUILD/bibletime-1.0.beta/bibletime' make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/RPM/BUILD/bibletime-1.0.beta/bibletime' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/RPM/BUILD/bibletime-1.0.beta'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /var/tmp/rpm-tmp.3862 (%prep)