yes I tried that but the same error appears...
I try it now in terminal: sudo python setup.py install (have no idea what the SUDO command does, just found in another website) and give me this error now at the end:
lipo: can't open input file: /var/tmp//cc3JK2Yr.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1
This give you any other clue?...or this is all:
running install
running build
running build_py
running build_ext
building 'sk1libs.pycms._pycms' 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 -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/pycms/_pycms.c -o build/temp.macosx-10.7-intel-2.7/src/pycms/_pycms.o -Wall
src/pycms/_pycms.c:21:18: error: lcms.h: No such file or directory
src/pycms/_pycms.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getLCMStype’
src/pycms/_pycms.c: In function ‘pycms_OpenProfile’:
src/pycms/_pycms.c:74: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:74: error: (Each undeclared identifier is reported only once
src/pycms/_pycms.c:74: error: for each function it appears in.)
src/pycms/_pycms.c:74: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:79: warning: implicit declaration of function ‘cmsErrorAction’
src/pycms/_pycms.c:79: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:81: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:81: warning: implicit declaration of function ‘cmsOpenProfileFromFile’
src/pycms/_pycms.c:88: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateRGBProfile’:
src/pycms/_pycms.c:94: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:94: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:96: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:98: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:98: warning: implicit declaration of function ‘cmsCreate_sRGBProfile’
src/pycms/_pycms.c:105: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateLabProfile’:
src/pycms/_pycms.c:111: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:111: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:113: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:115: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:115: warning: implicit declaration of function ‘cmsCreateLabProfile’
src/pycms/_pycms.c:122: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateGrayProfile’:
src/pycms/_pycms.c:128: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:128: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:129: error: ‘LPGAMMATABLE’ undeclared (first use in this function)
src/pycms/_pycms.c:129: error: expected ‘;’ before ‘gamma’
src/pycms/_pycms.c:131: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:133: warning: implicit declaration of function ‘cmsBuildGamma’
src/pycms/_pycms.c:133: error: lvalue required as left operand of assignment
src/pycms/_pycms.c:134: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsCreateGrayProfile’
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsD50_xyY’
src/pycms/_pycms.c:135: warning: implicit declaration of function ‘cmsFreeGamma’
src/pycms/_pycms.c:142: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildTransform’:
src/pycms/_pycms.c:152: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:152: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:155: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:155: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:156: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:156: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:162: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:165: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:165: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:166: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:166: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:168: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘cmsCreateTransform’
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘getLCMStype’
src/pycms/_pycms.c:176: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildProofingTransform’:
src/pycms/_pycms.c:187: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:187: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:192: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:192: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:193: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:193: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:200: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:203: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:203: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:204: error: ‘hProofingProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:204: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:205: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:205: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:207: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:207: warning: implicit declaration of function ‘cmsCreateProofingTransform’
src/pycms/_pycms.c:215: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_SetAlarmCodes’:
src/pycms/_pycms.c:227: warning: implicit declaration of function ‘cmsSetAlarmCodes’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel’:
src/pycms/_pycms.c:239: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:239: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:246: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:256: warning: implicit declaration of function ‘cmsDoTransform’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel2’:
src/pycms/_pycms.c:270: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:270: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:277: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_TransformBitmap’:
src/pycms/_pycms.c:303: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:303: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:310: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_GetProfileName’:
src/pycms/_pycms.c:329: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:329: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:335: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:339: warning: implicit declaration of function ‘cmsTakeProductDesc’
src/pycms/_pycms.c: In function ‘pycms_GetProfileInfo’:
src/pycms/_pycms.c:346: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:346: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:352: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:356: warning: implicit declaration of function ‘cmsTakeProductName’
src/pycms/_pycms.c: In function ‘pycms_TransformPixels’:
src/pycms/_pycms.c:413: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:413: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:419: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:21:18: error: lcms.h: No such file or directory
src/pycms/_pycms.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getLCMStype’
src/pycms/_pycms.c: In function ‘pycms_OpenProfile’:
src/pycms/_pycms.c:74: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:74: error: (Each undeclared identifier is reported only once
src/pycms/_pycms.c:74: error: for each function it appears in.)
src/pycms/_pycms.c:74: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:79: warning: implicit declaration of function ‘cmsErrorAction’
src/pycms/_pycms.c:79: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:81: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:81: warning: implicit declaration of function ‘cmsOpenProfileFromFile’
src/pycms/_pycms.c:88: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateRGBProfile’:
src/pycms/_pycms.c:94: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:94: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:96: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:98: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:98: warning: implicit declaration of function ‘cmsCreate_sRGBProfile’
src/pycms/_pycms.c:105: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateLabProfile’:
src/pycms/_pycms.c:111: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:111: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:113: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:115: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:115: warning: implicit declaration of function ‘cmsCreateLabProfile’
src/pycms/_pycms.c:122: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_CreateGrayProfile’:
src/pycms/_pycms.c:128: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:128: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:129: error: ‘LPGAMMATABLE’ undeclared (first use in this function)
src/pycms/_pycms.c:129: error: expected ‘;’ before ‘gamma’
src/pycms/_pycms.c:131: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:133: warning: implicit declaration of function ‘cmsBuildGamma’
src/pycms/_pycms.c:133: error: lvalue required as left operand of assignment
src/pycms/_pycms.c:134: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsCreateGrayProfile’
src/pycms/_pycms.c:134: warning: implicit declaration of function ‘cmsD50_xyY’
src/pycms/_pycms.c:135: warning: implicit declaration of function ‘cmsFreeGamma’
src/pycms/_pycms.c:142: error: ‘cmsCloseProfile’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildTransform’:
src/pycms/_pycms.c:152: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:152: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:155: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:155: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:156: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:156: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:162: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:164: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:165: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:165: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:166: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:166: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:168: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘cmsCreateTransform’
src/pycms/_pycms.c:168: warning: implicit declaration of function ‘getLCMStype’
src/pycms/_pycms.c:176: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_BuildProofingTransform’:
src/pycms/_pycms.c:187: error: ‘DWORD’ undeclared (first use in this function)
src/pycms/_pycms.c:187: error: expected ‘;’ before ‘flags’
src/pycms/_pycms.c:192: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:192: error: expected ‘;’ before ‘hInputProfile’
src/pycms/_pycms.c:193: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:193: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:200: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: ‘hInputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:202: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:203: error: ‘hOutputProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:203: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:204: error: ‘hProofingProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:204: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:205: error: ‘flags’ undeclared (first use in this function)
src/pycms/_pycms.c:205: error: expected ‘;’ before ‘inFlags’
src/pycms/_pycms.c:207: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:207: warning: implicit declaration of function ‘cmsCreateProofingTransform’
src/pycms/_pycms.c:215: error: ‘cmsDeleteTransform’ undeclared (first use in this function)
src/pycms/_pycms.c: In function ‘pycms_SetAlarmCodes’:
src/pycms/_pycms.c:227: warning: implicit declaration of function ‘cmsSetAlarmCodes’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel’:
src/pycms/_pycms.c:239: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:239: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:246: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:254: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:256: warning: implicit declaration of function ‘cmsDoTransform’
src/pycms/_pycms.c: In function ‘pycms_TransformPixel2’:
src/pycms/_pycms.c:270: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:270: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:277: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:285: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_TransformBitmap’:
src/pycms/_pycms.c:303: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:303: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:310: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:315: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c: In function ‘pycms_GetProfileName’:
src/pycms/_pycms.c:329: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:329: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:335: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:337: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:339: warning: implicit declaration of function ‘cmsTakeProductDesc’
src/pycms/_pycms.c: In function ‘pycms_GetProfileInfo’:
src/pycms/_pycms.c:346: error: ‘cmsHPROFILE’ undeclared (first use in this function)
src/pycms/_pycms.c:346: error: expected ‘;’ before ‘hProfile’
src/pycms/_pycms.c:352: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: ‘hProfile’ undeclared (first use in this function)
src/pycms/_pycms.c:354: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
src/pycms/_pycms.c:356: warning: implicit declaration of function ‘cmsTakeProductName’
src/pycms/_pycms.c: In function ‘pycms_TransformPixels’:
src/pycms/_pycms.c:413: error: ‘cmsHTRANSFORM’ undeclared (first use in this function)
src/pycms/_pycms.c:413: error: expected ‘;’ before ‘hTransform’
src/pycms/_pycms.c:419: error: ‘LCMS_ERROR_IGNORE’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: ‘hTransform’ undeclared (first use in this function)
src/pycms/_pycms.c:421: error: expected ‘;’ before ‘PyCObject_AsVoidPtr’
lipo: can't open input file: /var/tmp//cc3JK2Yr.out (No such file or directory)
error: command 'llvm-gcc-4.2' failed with exit status 1