Closed life0fun closed 11 years ago
I got the python-spdylay-0.1.1 from pypi. I can do python setup.py build_ext.
build went through without error.
running build_ext building 'spdylay' extension creating build creating build/temp.macosx-10.7-intel-2.7 creating build/lib.macosx-10.7-intel-2.7 llvm-gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -Wl,-F. -arch i386 -arch x86_64 build/temp.macosx-10.7-intel-2.7/spdylay.o -lspdylay -o build/lib.macosx-10.7-intel-2.7/spdylay.so ld: warning: ignoring file /usr/local/lib/libspdylay.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
However, when I do import spdylay, no module named spdylay.
Any idea ?
after I run setup install, the issue resolved.
Hi, I built spdylay client and so far working perfectly. I am trying to build python bindings following the instruction python setup.py build_ext, I got the error that spdylay.c not find. I grepped files under top root, could not find it either. Any idea why spdylay.c is missing from the python directory ?
build error:
running build_ext building 'spdylay' extension llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c spdylay.c -o build/temp.macosx-10.7-intel-2.7/spdylay.o i686-apple-darwin11-llvm-gcc-4.2: spdylay.c: No such file or directory i686-apple-darwin11-llvm-gcc-4.2: no input files i686-apple-darwin11-llvm-gcc-4.2: spdylay.c: No such file or directory i686-apple-darwin11-llvm-gcc-4.2: no input files lipo: can't figure out the architecture type of: /var/folders/hg/373yfnq53m37_3fldlg86hth1wcwgs/T//ccwvXIjn.out