so i've installed dependencies , when make install
, following error comes:
--- installing core source structure... --- installing desktop core... install_dir=/usr/local/hue make -c desktop install install_dir=/usr/local/hue/desktop/core \ install_conf_dir=/usr/local/hue/desktop/conf \ make -c core install-bdist --- building egg twisted running bdist_egg running egg_info writing requirements twisted.egg-info/requires.txt writing twisted.egg-info/pkg-info writing top-level names twisted.egg-info/top_level.txt writing dependency_links twisted.egg-info/dependency_links.txt reading manifest file 'twisted.egg-info/sources.txt' writing manifest file 'twisted.egg-info/sources.txt' installing library code build/bdist.macosx-10.8-intel/egg running install_lib running build_py running build_ext clang -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 -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 conftest.c -o conftest.o clang: warning: argument unused during compilation: '-mno-fused-madd' clang -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 -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 conftest.c -o conftest.o clang: warning: argument unused during compilation: '-mno-fused-madd' conftest.c:1:10: fatal error: 'sys/epoll.h' file not found #include <sys/epoll.h> ^ 1 error generated. building 'twisted.internet.cfsupport' extension clang -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 -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 twisted/internet/cfsupport/cfsupport.c -o build/temp.macosx-10.8-intel-2.7/twisted/internet/cfsupport/cfsupport.o -w twisted/internet/cfsupport/cfsupport.c:128:4: error: assignment cast illegal, lvalue casts not supported ((pyobject*)__pyx_v_socket) = py_none; py_incref(((pyobject*)__pyx_v_socket)); ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:134:4: error: assignment cast illegal, lvalue casts not supported ((pyobject *)__pyx_v_socket) = __pyx_1; ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:829:4: error: assignment cast illegal, lvalue casts not supported ((pyobject*)__pyx_v_obj) = py_none; py_incref(((pyobject*)__pyx_v_obj)); ~^~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:835:4: error: assignment cast illegal, lvalue casts not supported ((pyobject *)__pyx_v_obj) = __pyx_1; ~^~~~~~~~~~~~~~~~~~~~~~~~ ~ 4 errors generated. error: command 'clang' failed exit status 1 make[2]: *** [/users/rajat.khandelwal/downloads/hue-2.4.0/desktop/core/build/twisted/egg.stamp] error 1 make[1]: *** [.recursive-install-bdist/core] error 2 make: *** [install-desktop] error 2
also submitted issue on github: https://github.com/cloudera/hue/issues/31
you need delete desktop/core/ext-py/twisted
, retry.
also hue 2.5 release (which contains fix) around corner (this monday/tuesday).
Comments
Post a Comment