Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I was using pip(python2.7) install this got the error below in Mac, anyone can help me on that #94

Closed
clown-0726 opened this issue Dec 19, 2018 · 2 comments
Labels

Comments

@clown-0726
Copy link

gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/crowncao/anaconda3/include -arch x86_64 -I/Users/crowncao/anaconda3/include -arch x86_64 -I/Users/crowncao/anaconda3/include/python3.7m -c plyvel/_plyvel.cpp -o build/temp.macosx-10.7-x86_64-3.7/plyvel/_plyvel.o -Wall -g -mmacosx-version-min=10.7 -stdlib=libc++
    plyvel/_plyvel.cpp:21159:125: warning: offset of on non-POD type 'struct __pyx_obj_6plyvel_7_plyvel_Iterator' [-Winvalid-offsetof]
      if (__pyx_type_6plyvel_7_plyvel_Iterator.tp_weaklistoffset == 0) __pyx_type_6plyvel_7_plyvel_Iterator.tp_weaklistoffset = offsetof(struct __pyx_obj_6plyvel_7_plyvel_Iterator, __pyx_base.__weakref__);
                                                                                                                                ^                                                    ~~~~~~~~~~
    /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof'
    #define offsetof(t, d) __builtin_offsetof(t, d)
                           ^                     ~
    1 warning generated.
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/crowncao/anaconda3/include -arch x86_64 -I/Users/crowncao/anaconda3/include -arch x86_64 -I/Users/crowncao/anaconda3/include/python3.7m -c plyvel/comparator.cpp -o build/temp.macosx-10.7-x86_64-3.7/plyvel/comparator.o -Wall -g -mmacosx-version-min=10.7 -stdlib=libc++
    g++ -bundle -undefined dynamic_lookup -L/Users/crowncao/anaconda3/lib -arch x86_64 -L/Users/crowncao/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/plyvel/_plyvel.o build/temp.macosx-10.7-x86_64-3.7/plyvel/comparator.o -lleveldb -o build/lib.macosx-10.7-x86_64-3.7/plyvel/_plyvel.cpython-37m-darwin.so
    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
    ld: library not found for -lstdc++
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command 'g++' failed with exit status 1

    ----------------------------------------
Command "/Users/crowncao/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-mijjhzfj/plyvel/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-z476auie/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-mijjhzfj/plyvel/
@wbolster
Copy link
Owner

wbolster commented Jan 8, 2019

does #91 work for you?

@wbolster wbolster added the builds label Jan 8, 2019
@wbolster
Copy link
Owner

see #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants