Code Monkey home page Code Monkey logo

Comments (8)

slusarz avatar slusarz commented on June 15, 2024 1

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.

Nimloth avatar Nimloth commented on June 15, 2024

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.

Nimloth avatar Nimloth commented on June 15, 2024

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.

slusarz avatar slusarz commented on June 15, 2024

Are you using NFS?

from dovecot-fts-flatcurve.

dejanstrbac avatar dejanstrbac commented on June 15, 2024

Yes, tried it on NFS mounted mails storage. Is there a known limitation with NFS?

from dovecot-fts-flatcurve.

slusarz avatar slusarz commented on June 15, 2024

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.

slusarz avatar slusarz commented on June 15, 2024

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.

slusarz avatar slusarz commented on June 15, 2024

Closing, as this was confirmed fixed on at least one BSD test machine.

from dovecot-fts-flatcurve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.