티스토리 수익 글 보기

티스토리 수익 글 보기

unable to install libsass using pip on Mac OS X · Issue #4 · sass/libsass-python · GitHub
Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

unable to install libsass using pip on Mac OS X #4

@ghost

Description

pip install libsass fails on Mac OS X. I am using Mac OS X Snow Leopard and llvm-gcc-4.2.


Downloading/unpacking libsass
  Running setup.py egg_info for package libsass

Installing collected packages: libsass
  Running setup.py install for libsass
    building 'sass' extension
    gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DLIBSASS_PYTHON_VERSION="0.2.4" -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c sass.c -o build/temp.macosx-10.6-intel-2.7/sass.o -c -O2 -fPIC -Wall -Wno-parentheses -Wno-tautological-compare
    cc1: error: unrecognized command line option "-Wno-tautological-compare"
    cc1: error: unrecognized command line option "-Wno-tautological-compare"
    lipo: can't figure out the architecture type of: /var/folders/AL/ALVaJxRCEMqCTtdGB14pzE+++TI/-Tmp-//cch2WYF9.out
    error: command 'gcc-4.2' failed with exit status 1
    Complete output from command /Users/kang/workspace/fasticker/bin/python2.7 -c "import setuptools;__file__='/Users/kang/workspace/fasticker/build/libsass/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/AL/ALVaJxRCEMqCTtdGB14pzE+++TI/-Tmp-/pip-A3V84k-record/install-record.txt --install-headers /Users/kang/workspace/fasticker/bin/../include/site/python2.7:
    running install

running build

running build_py

running build_ext

building 'sass' extension

gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -DLIBSASS_PYTHON_VERSION="0.2.4" -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c sass.c -o build/temp.macosx-10.6-intel-2.7/sass.o -c -O2 -fPIC -Wall -Wno-parentheses -Wno-tautological-compare

cc1: error: unrecognized command line option "-Wno-tautological-compare"

cc1: error: unrecognized command line option "-Wno-tautological-compare"

lipo: can't figure out the architecture type of: /var/folders/AL/ALVaJxRCEMqCTtdGB14pzE+++TI/-Tmp-//cch2WYF9.out

error: command 'gcc-4.2' failed with exit status 1

----------------------------------------
Command /Users/kang/workspace/fasticker/bin/python2.7 -c "import setuptools;__file__='/Users/kang/workspace/fasticker/build/libsass/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /var/folders/AL/ALVaJxRCEMqCTtdGB14pzE+++TI/-Tmp-/pip-A3V84k-record/install-record.txt --install-headers /Users/kang/workspace/fasticker/bin/../include/site/python2.7 failed with error code 1 in /Users/kang/workspace/fasticker/build/libsass
Storing complete log in /Users/kang/.pip/pip.log

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