mvnForum Homepage


Posted by Ant_Eater at Jul 19, 2004 8:44:42 AM
compile problem with Slackware 10.0
I've been trying to build sword 1.5.7 on Slackware 10 (gcc 3.3.4) so that I can create Slackware packages for Sword and Bibletime 1.4.1. I initially had problems with compiling and edited src/mgr/installmgr.cpp changing the line:

curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE);

to read:
curl_easy_setopt(curl, CURLOPT_VERBOSE, true);

Now, when I build sword I get errors about not being able to find Lucene:

----------------START_SNIP --------------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DUSE_AUTOTOOLS -DUNIX -O2 -march=i486 -mcpu=i686 -O2 -march=i486 -mcpu=i686 -ftemplate-depth-25 -DCURLAVAILABLE -DUSELUCENE -MT rawtext.lo -MD -MP -MF .deps/rawtext.Tpo -c ../src/modules/texts/rawtext/rawtext.cpp -fPIC -DPIC
../src/modules/texts/rawtext/rawtext.cpp:22:29: CLucene/CLucene.h: No such file or directory
../src/modules/texts/rawtext/rawtext.cpp:24: error: namespace `queryParser'
undeclared
----------------END_SNIP --------------------------------------------------
This is followed by a long series of errors before the make terminates. I have curl 7.12.0 installed (which has the libs and headers included). What needs to be done to have this build complete?

- Mark