Cant. Compile. HELP.

  • dnerd
    24th Mar 2011 Member 0 Permalink
    I hate having to necropost.

    I tried to disable python by commenting out #pyconsole in define.h and deleting $(PYCOMMAND) in the makefile, but i get this error.

    64bit
    make: 64bit: No such file or directory
    make: [powder-x] Error 1 (ignored)
    gcc -o powder-x -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lm -lbz2 -lSDLmain -I/Library/Frameworks/Python.framework/Versions/python -c import sys;print sys.version[:3]/include/pythonpython -c import sys;print sys.version[:3] src/*.c src/elements/*.c -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL -framework Python
    i686-apple-darwin10-gcc-4.2.1: import: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: sys: No such file or directory
    /bin/sh: print: command not found
    /bin/sh: print: command not found
    make: *** [powder-x] Error 127

    EDIT: new error:


    echo python getheader.py --64bit
    python getheader.py --64bit
    gcc -o powder-x -w -std=c99 -D_POSIX_C_SOURCE=200112L -Iincludes/ -O3 -ffast-math -ftree-vectorize -funsafe-math-optimizations -lm -lbz2 -lSDLmain -I/Library/Frameworks/Python.framework/Versions/python -c import sys;print sys.version[:3]/include/pythonpython -c import sys;print sys.version[:3] src/*.c src/elements/*.c -DMACOSX -DPIX32BGRA -arch x86_64 -framework Cocoa -framework SDL -framework Python
    i686-apple-darwin10-gcc-4.2.1: import: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: sys: No such file or directory
    /bin/sh: print: command not found
    /bin/sh: print: command not found
    make: *** [powder-x] Error 127