[sword-devel] Trying to compile a fresh copy of SWORD -- errors

Troy A. Griffitts scribe at crosswire.org
Fri Dec 4 16:55:39 EST 2020


Dear Michael,

I have reproduced this issue using the autotools build system when 
libcurl is not available (or --without-curl is specified to configure).  
The issue is that we were still trying to build httptest even when curl 
support was not included.  I have updated the autotools build system.  
If you do an svn update, be sure to do a ./autogen.sh before doing your 
./usrinst.sh (or if you use directly ./configure), to pick up the 
changes to the build system.  This was certainly a bug and needed to be 
fixed, though you might consider making libcurl available for your 
build. Thanks for reporting the problem,

Troy


On 12/4/20 1:01 PM, Michael Johnson wrote:
> Perhaps you can help me figure out how to compile the Sword library from the tip? I'm getting an error:
>
> libtool: link: g++ -g3 -O0 -Wall -Woverloaded-virtual -fPIC -DEXCLUDEBZIP2 -DEXCLUDEXZ -DUSECXX11TIME -std=c++11 -Wno-address -Wno-nonnull-compare -ftemplate-depth=100 -o httptest httptest.o  ../lib/.libs/libsword.a -lz
> /usr/bin/ld: httptest.o: in function `main':
> /home/kahunapule/sync/source/sword/sword-1.9.0/tests/httptest.cpp:14: undefined reference to `sword::CURLHTTPTransport::CURLHTTPTransport(char const*, sword::StatusReporter*)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:709: httptest] Error 1
> make[2]: Leaving directory '/media/psf/Dropbox/Michael Johnson active/source/sword/sword-1.9.0/tests'
> make[1]: *** [Makefile:905: all-recursive] Error 1
> make[1]: Leaving directory '/media/psf/Dropbox/Michael Johnson active/source/sword/sword-1.9.0/tests'
> make: *** [Makefile:634: all-recursive] Error 1
>
> I was hoping that the latest version would help me get past some strange errors I have been getting with unique versifications-- or at least give me a better starting point to debug from.
>
> Thanks!
>


More information about the sword-devel mailing list