Skip to content

zen fails to build under python 2.7.1 on OS X and Linux #6

@mmisiewicz

Description

@mmisiewicz

Fails with error during compile of cython generated C code.

Environment: Ubuntu 10.04.4 LTS and OS X 10.7.4, python 2.7.1, Cython 0.16 (current, also tried with 0.15 and same problem occured).

Trimed sample output from python2.7 setup.py build on Ubuntu:

running build_ext
building 'zen.graph' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/lib/python2.7/site-packages/numpy-1.6.1-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/local/include/python2.7 -c zen/graph.c -o build/temp.linux-x86_64-2.7/zen/graph.o
gcc: zen/graph.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

Trimed sample output from python2.7 setup.py build on OS X:

running build_ext
building 'zen.graph' extension
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/zen
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c zen/graph.c -o build/temp.macosx-10.6-intel-2.7/zen/graph.o
i686-apple-darwin11-llvm-gcc-4.2: zen/graph.c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: no input files
i686-apple-darwin11-llvm-gcc-4.2: zen/graph.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/9k/pcgvk9rd7bgcmnt3v4s_yt940000gn/T//ccxb8GTK.out
error: command 'gcc-4.2' failed with exit status 1

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