Comments (8)
I merged #21 which should fix the compiler errors.
As for the runtime error - @Nimloth mentions that he can get this running just fine on BSD (I don't have a BSD test machine). Unless a reproducible test case can be generated, I'm not sure there's much more I can do since the code does seems to work in at least some usages.
from dovecot-fts-flatcurve.
During configure, xapian-config is called to get the path both for the libs (xapian-config --ltlibs) and the headers (xapian-config --cxxflags). They are assigned to the variables XAPIAN_LIBS and XAPIAN_CXXFLAGS respectively.
However, in the generated src/Makefile.in, only XAPIAN_LIBS is used when generating the flags for the compiler.
At a first glance, try replacing
AM_CXXFLAGS = \
$(XAPIAN_LIBS)
with
AM_CXXFLAGS = \
$(XAPIAN_LIBS) $(XAPIAN_CXXFLAGS)
in src/Makefile.am, which should fix it.
from dovecot-fts-flatcurve.
For what it is worth, I have cobbled together a port that compiles (and works) for me:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261766
Feel free to try - feedback is very welcome.
from dovecot-fts-flatcurve.
Are you using NFS?
from dovecot-fts-flatcurve.
Yes, tried it on NFS mounted mails storage. Is there a known limitation with NFS?
from dovecot-fts-flatcurve.
There are locking limitations on certain NFS installations. So I'm guessing that's what you are running into.
I do have it on my TODO list to add support for a supposedly more-friendly NFS solution.
from dovecot-fts-flatcurve.
The new file locking solution has been backported from 2.4 core. Can you try the new code and see if it improves things?
from dovecot-fts-flatcurve.
Closing, as this was confirmed fixed on at least one BSD test machine.
from dovecot-fts-flatcurve.
Related Issues (20)
- Build failing HOT 1
- Searching for phrases with IMAP SEARCH vs. doveadm search, v0.2.0 vs. v0.3.0 HOT 3
- Feature Request: Change Flatcurve Index Location via config parameter HOT 1
- Separate directory for indexing? HOT 7
- Search by some email addresses is not working HOT 3
- Virtual search doesn't consider unindexed messages HOT 2
- backtrace during indexing HOT 2
- Inconsistent results when searching in attachment HOT 4
- Filename too long errors during FTS optimize HOT 5
- Panic when running a search HOT 2
- Inaccurate results while searching for a phrase in subject HOT 2
- Excessively long string sent to xapian to index HOT 1
- Using fts-flatcure with Dovecot 2.3.13 / Debian Bookworm HOT 2
- Example config anywhere? HOT 2
- Error: fts: Failed to initialize backend 'flatcurve': Unknown backend HOT 2
- imap segfault with fts flatcurve HOT 11
- remove use of .la files HOT 7
- fts_filter_normalizer_icu: libicu support not built in HOT 6
- Assertion crash for search in virtual mailbox
- Segfault with Dovecot 1:2.3.21+dfsg1-2 from Debian HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dovecot-fts-flatcurve.