Coder Social home page Coder Social logo

Comments (19)

sesam avatar sesam commented on May 18, 2024 3

Heads up: this github repo still needs to get additional:

  • +3 watchers (whether they be ignoring or not) (UPDATE: Done!)
  • +7 stars (UPDATE: Done!)
  • +9 forks

to reach the minimum to be accepted into homebrew.

Evangelize more :) and hack that growth

UPDATE: Yay! All except fork count has reached target. If you see anyone logged in on github and leave their device unguarder - y'all know what to do: Cmd or Ctrl N (new browser window), browse to https://github.com/manticoresoftware/manticore and hit the Fork button. We only need 7 more forks :)

from manticoresearch.

manticoresearch avatar manticoresearch commented on May 18, 2024 2

Finally it works w/o the tap too:

➜  ~ brew install manticoresearch
Updating Homebrew...
Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this old version.

==> Installing dependencies for manticoresearch: sqlite, python and cmake
==> Installing manticoresearch dependency: sqlite
==> Downloading https://sqlite.org/2019/sqlite-autoconf-3300100.tar.gz
######################################################################## 100.0%

Hooray!

from manticoresearch.

adriannuta avatar adriannuta commented on May 18, 2024 1

We have now an official tap at https://github.com/manticoresoftware/homebrew-tap and a PR to official brew was submitted.

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Giving it a shot myself, since I anyway want to make a local install, and following along from an existing recipie in Ruby seems juicy :)

https://discourse.brew.sh/t/convert-formulae-manticoresearch-is-a-community-focused-fork-of-sphinxsearch-made-by-sphinx-insiders/1258

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Update:

brew audit --new-formula manticore

  • GitHub repository not notable enough (<20 forks, <20 watchers and <50 stars)

Needs moar evangelism.

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

I have a brew formula for 2.3.3 that seems to work just fine.

But when I change the URL and sha256 to point to the 2.4.1 release, there is trouble:

brew install manticore
==> Downloading https://github.com/manticoresoftware/manticore/archive/2.4.1.tar.gz
==> Downloading from https://codeload.github.com/manticoresoftware/manticore/tar.gz/2.4.1
######################################################################## 100.0%
==> Cloning https://github.com/snowballstem/snowball.git
Updating /Users/s/Library/Caches/Homebrew/manticore--stemmer--git
==> Checking out revision 9b58e92c965cd7e3208247ace3cc00d173397f3c
==> make dist_libstemmer_c
==> tar xzf dist/libstemmer_c.tgz -C /private/tmp/manticore-20171029-65984-iytgra/manticore-2.4.1
==> ./configure --prefix=/usr/local/Cellar/manticore/2.4.1 --localstatedir=/usr/local/var --with-libstemmer --without-mysql --without-pgsql
==> make install
Last 15 lines from /Users/s/Library/Logs/Homebrew/manticore/04.make:
In file included from sphinxstd.cpp:2092:

/Library/Developer/CommandLineTools/usr/include/c++/v1/map:1490:5: error: static_assert failed "Allocator::value_type must be same type as value_type"
    static_assert((is_same<typename allocator_type::value_type, value_type>::value),
    ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sphinxstd.cpp:2227:18: note: in instantiation of template class 'std::__1::multimap<double, long long, std::__1::less<double>, std::__1::allocator<std::__1::pair<double, long long> > >' requested here
        BalancedTree_c          m_dMap;
                                ^
sphinxstd.cpp:2272:9: error: cannot initialize return object of type 'TDigest_i *' with an rvalue of type 'TDigest_c *'
        return new TDigest_c;
               ^~~~~~~~~~~~~

2 errors generated.
make[2]: *** [sphinxstd.o] Error 1

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Building from source seems fine at commit 8c9e465 stas@ Merge branch 'bind_fix' into 'master'

./configure --with-pgsql --with-mysql --enable-id64
make -j4 install

from manticoresearch.

klirichek avatar klirichek commented on May 18, 2024

@sesam, forget about ./configure
We totally moved to cmake build.
(./configure will be removed promptly)

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Nice!

I think there are multiple places that talk about installation.
Are manticoresearch.com pages in a public git?
PR welcome on cleaning away old install info?
I suggest creating a new INSTALL.md, removing the old INSTALL and cleaning out https://github.com/manticoresoftware/manticore/blob/master/doc/sphinx.html etc which are already too large to be practical to load in github viewer or even as raw HTML in a browser. Obviously a search software maker should be splitting up documentation in small topic-specific documents and then showcase how the search engine is better than a single huge HTML and Browser - &View - &Find in page.

from manticoresearch.

tomatolog avatar tomatolog commented on May 18, 2024

We already planned to remove configure and legacy docю
Also our documentation in rst files that might be edited via browser and always fresh version could be found at either http://docs.manticoresearch.com/latest/html/introduction.html or https://manticoresearch.gitlab.io/dev/introduction.html

And Yes you might create PR for issue you found.

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Interesting - I see a "View page source" button, but nothing on how to change, or in what repo (gitlab?) the page .rst source is stored in. Maybe this Editing feature is visible only to you, or I'm not looking in the right place?

from manticoresearch.

tomatolog avatar tomatolog commented on May 18, 2024

Yes development goes at gitlab then repo (master branch) got mirrored to github

from manticoresearch.

Fil avatar Fil commented on May 18, 2024

Cool. It would be great to also have brew services start manticore cf. https://github.com/Homebrew/homebrew-services

from manticoresearch.

klirichek avatar klirichek commented on May 18, 2024

Well, nobody restrict you to make this script (or, how it called? 'formulae'?).
We just try to keep minimally working app - it is possible to compile, avoid/runaround system incompatibilities (in comparing with linux), and minimal packaging (.tgz with built binaries, + .tgz with debug symbols). That is just because I personally use mac to sometimes do small developing tasks, and so, need to keep it in working state. Btw, as supplementary soft (as libmysqlclient, expat, etc.) I use macports.
So, if you need some kind of 'service' scripts around, you may contribute.

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

Right. I think @Fil pointed that comment to me :). A homebrew-services contribution would depend on me first getting the manticore recipie accepted, which in turn currently depends on this github repo getting 20+ Forks and Watchers.

So anyone reading this who can spare some (actually 0 cost) space on their github account, please make sure you click Fork to get your own copy of manticore. For good measure, also click Watch or Watch (but ignore) and you'll get some blue dot up the top right corner for all things manticore, and we get the "popularity" numbers highg enough to be accepted by Homebrew.

from manticoresearch.

adriannuta avatar adriannuta commented on May 18, 2024

@sesam 21 forks

from manticoresearch.

manticoresearch avatar manticoresearch commented on May 18, 2024

@sesam hi, how is it going? Can you please share with me the formulae?

from manticoresearch.

sesam avatar sesam commented on May 18, 2024

hi, sorry, had a working brew for older versions. Since cmake became the only working build method (which was also long after it was supposed to be cmake-only build...) I didn't manage to fix all things.

Someone more in the know on how manticore is properly built should be able to run with that. Probably best to get a clean slate through brew create MANTICORE_SOURCE_TARBALL_URL and then copy-and-paste the useful bits from my recipie

For historic purposes, see:
https://github.com/sesam/homebrew-core/commits/master

from manticoresearch.

manticoresearch avatar manticoresearch commented on May 18, 2024

from manticoresearch.

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.