[sword-devel] Xiphos 4.5.0 [ + HTTPS Repos ]

Karl Kleinpaste karl at kleinpaste.org
Fri Sep 4 12:24:07 EDT 2026


On 9/1/26 10:13 PM, Troy A. Griffitts wrote:
>
> Have you tried building against SWORD master head?
>

Making all in tasks
make[2]: Entering directory '/home/karl/src/bible/sword/examples/tasks'
g++ -O0 -g -Wall -Werror `pkg-config --cflags sword` findHeadings.cpp -o 
findHeadings `pkg-config --libs sword`
findHeadings.cpp: In function ‘int main(int, char**)’:
findHeadings.cpp:50:64: error: ‘SEARCHTYPE_ENTRYATTR’ is not a member of 
‘sword::SWModule’
    50 |         ListKey results = module->search("/Heading", 
SWModule::SEARCHTYPE_ENTRYATTR, 0, &scope);
       |     ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:11: findHeadings] Error 1
make[2]: Leaving directory '/home/karl/src/bible/sword/examples/tasks'
make[1]: *** [Makefile:401: all-recursive] Error 1
make[1]: Leaving directory '/home/karl/src/bible/sword/examples'
make: *** [Makefile:633: all-recursive] Error 1

I disabled examples and the build succeeded.

I'm more than a little surprised that the generated swversion.h has a 
/lower/ version stamp than what came in via git clone.

git df
diff --git a/include/swversion.h b/include/swversion.h
index 9e29ca58..d8bd086b 100644
--- a/include/swversion.h
+++ b/include/swversion.h
@@ -3,7 +3,7 @@
   * swversion.h -    definition of class SWVersion used to compare version
   *            info
   *
- * $Id: swversion.h.in 3765 2020-07-26 10:31:09Z scribe $
+ * $Id$
   *
   * Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org)
   *    CrossWire Bible Society
@@ -24,12 +24,12 @@
  #ifndef SWVERSION_H
  #define SWVERSION_H

-#define SWORD_VERSION_NUM 1090003908
-#define SWORD_VERSION_STR "1.9.0.3908M"
+#define SWORD_VERSION_NUM 1090003802
+#define SWORD_VERSION_STR "1.9.0.3802"
  #define SWORD_VERSION_MAJOR 1
  #define SWORD_VERSION_MINOR 9
  #define SWORD_VERSION_MICRO 0
-#define SWORD_VERSION_NANO 3908
+#define SWORD_VERSION_NANO 3802

  #include <defs.h>
  SWORD_NAMESPACE_START

> I'd love to know if I've ironed out the HTTP installation preferences 
> in the engine as we move toward a release.
>

It appears to work; I reinstalled some modules from Xiphos repo and 
watched the web server log, and also a couple from Crosswire.

However this will induce a significant change to the mod.mgr, because 
for 25 years it has managed only local directory sources (intended for 
e.g. cdrom-provided content) and FTP/HTTP/HTTPS sources in the 
Add/Remove/Load Standard panel, and consequently is losing all the 
xyzPackagePreference entries when adding or deleting an entry of my own. 
So we will have to make a Xiphos update to fix this before the next 
Sword release.

> xiphos.org (though I couldn't find an HTTPS URL so I had to fallback 
> to http://ftp.xiphos.org/pub/xiphos/)
>

There is no HTTPS on ftp.xiphos.org. Port 443 is ... otherwise occupied, 
when it is occupied at all.

- Are you aware that, in the Windows build (that Greg provides in the 
process of building Sword for Xiphos), lucene indexing fails for locked 
modules <https://github.com/crosswire/xiphos/issues/1280>?
- Have you ever looked at the peculiar problem of lucene search failing 
randomly when there is not an arbitrary trailing space 
<https://crosswire.org/pipermail/sword-devel/2026-January/050930.html>?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20260904/79e5e3c3/attachment.htm>


More information about the sword-devel mailing list