Skip to content

Building on Mac? #29

Closed
Closed

Description

@ethanhann

Are there additional dependencies or build steps for Mac that aren't covered in the quick start guide? Running "make all" produces this output:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C util
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C rmutil
make[1]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C dep/snowball libstemmer.o
cc -Wall -Wno-unused-function -Wno-unused-variable -Wno-pointer-sign -fPIC  -std=gnu99 -I./ -DREDIS_MODULE_TARGET -mmacosx-version-min=10.6 -O3 -g -Iinclude  -c -o compiler/space.o compiler/space.c
Could not open input file: app/console
Could not open input file: app/console
Could not open input file: app/console
chmod: -R: No such file or directory
chmod: app/logs: No such file or directory
chmod: -R: No such file or directory
chmod: app/cache: No such file or directory
make[1]: *** [compiler/space.o] Error 1
make: *** [snowball] Error 2

Activity

  1. dvirsky commented on Mar 6, 2017

    @dvirsky
    Contributor

    That is odd, I'm developing the module on Mac and I've never encountered this problem.

    What version is this?

  2. amallia commented on Mar 8, 2017

    @amallia
    Contributor

    Looks like an error in snowball (dep) compilation

  3. ethanhann commented on Mar 12, 2017

    @ethanhann
    Author

    version is 0.9

  4. dvirsky commented on Mar 12, 2017

    @dvirsky
    Contributor

    @ethanhann I mean what version of Mac OS is this? Looks like you are missing some build tool.

  5. ethanhann commented on Mar 13, 2017

    @ethanhann
    Author

    image

    Thank you for your attention to this issue. Please let me know if you need anymore information.

  6. dvirsky commented on Mar 13, 2017

    @dvirsky
    Contributor

    I'm using Sierra (10.12.3), though I doubt that is what makes the difference. It looks like some permission problem you have.

  7. dvirsky commented on Mar 13, 2017

    @dvirsky
    Contributor

    @ethanhann I'm really a bit lost here... I can send you a binary build if you want to play with it. Googling these errors mostly comes up with some PHP related stuff. WTF? :)

    Tell me if you want a binary build for now and I'll send you a compiled one.

  8. dvirsky commented on Mar 13, 2017

    @dvirsky
    Contributor

    @ethanhann Could it be that the directory where the project is compiled has a space in it? your home dir maybe? In any case, I've modified the makefiles so it won't affect anything. Try pulling the current master and see if it builds ok.

  9. ethanhann commented on Mar 14, 2017

    @ethanhann
    Author

    Sorry for wasting your time with this. It looks like at some point I installed something that created an alias called "cc" that was ahead of the real cc in my path. I can compile fine after I removed the alias.

  10. dvirsky commented on Mar 14, 2017

    @dvirsky
    Contributor

    No worries, moving everything to relative paths was a good idea regardless. Enjoy!

  11. added a commit that references this issue on Oct 7, 2020
  12. added a commit that references this issue on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions