Coder Social home page Coder Social logo

Comments (6)

dvirsky avatar dvirsky commented on May 16, 2024

Thanks. I don't have a Mac handy here. Care to make this into a PR?

from redisearch.

silasrm avatar silasrm commented on May 16, 2024

I'm compiling with gcc 6 and many warnings occurs, without errors:

...
ld: warning: object file (dep/snowball/libstemmer.o(stem_ISO_8859_1_swedish.o)) was built for newer OSX version (10.12) than being linked (10.11.5)
ld: warning: object file (dep/snowball/libstemmer.o(stem_UTF_8_swedish.o)) was built for newer OSX version (10.12) than being linked (10.11.5)
ld: warning: object file (dep/snowball/libstemmer.o(stem_UTF_8_tamil.o)) was built for newer OSX version (10.12) than being linked (10.11.5)
ld: warning: object file (dep/snowball/libstemmer.o(stem_UTF_8_turkish.o)) was built for newer OSX version (10.12) than being linked (10.11.5)
ld: warning: object file (dep/snowball/libstemmer.o(utilities.o)) was built for newer OSX version (10.12) than being linked (10.11.5)
ld: warning: object file (trie/libtrie.a(sparse_vector.o)) was built for newer OSX version (10.12) than being linked (10.11.5)

But a fatal error occurs when load module:

☁  src [master] redis-server --loadmodule ./module.so

*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 2
>>> 'loadmodule "./module.so"'
Bad directive or wrong number of arguments

Any idea?

OSX 10.11.5
Redis 3.2.1 (install with brew)

from redisearch.

dvirsky avatar dvirsky commented on May 16, 2024

Hi @silasrm, I'm sorry but I don't have a Mac to test this, I'll try to get my hands on one or ask someone who has a dev environment to try and see. But if it's just warnings, I'd ignore them for now.

Re the fatal error - this looks like you are not using the wrongcorrect redis version. Use only a cloned from unstable branch version, as this is a feature that has not yet been released.

Let me know if this fixed the issue.

from redisearch.

silasrm avatar silasrm commented on May 16, 2024

Ok @dvirsky.
I'll try with unstable.

from redisearch.

mheiber avatar mheiber commented on May 16, 2024

@silasrm I got this to compile on OS X when using the unstable branch of Redis and tweaking the Makefile. I didn't have to use a special gcc version.

If this works for others, I'll PR it: https://github.com/mheiber/RediSearch/tree/patch-os-x-compilation.

from redisearch.

silasrm avatar silasrm commented on May 16, 2024

Hi @mheiber my macbook is broken but I'll save in bookmark.

Thk's

from redisearch.

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.