make install issue

69 views
Skip to first unread message

InnoEye

unread,
Mar 4, 2017, 3:32:39 AM3/4/17
to Hue-Users
Hi Team,

Hi am facing some issue with centos system on hue installation, when I run the command "make install" below errors will be displayed.

Please help me for resolving this issue. 


c/_cffi_backend.c:15:17: error: ffi.h: No such file or directory
In file included from c/_cffi_backend.c:63:
c/malloc_closure.h:81: error: expected specifier-qualifier-list before ‘ffi_closure’
c/malloc_closure.h: In function ‘more_core’:
c/malloc_closure.h:117: warning: division by zero
c/malloc_closure.h:149: error: ‘union mmaped_block’ has no member named ‘next’
c/malloc_closure.h: At top level:
c/malloc_closure.h:158: error: expected ‘)’ before ‘*’ token
c/malloc_closure.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
c/_cffi_backend.c:256: error: expected specifier-qualifier-list before ‘ffi_cif’
c/_cffi_backend.c: In function ‘cdataowninggc_dealloc’:
c/_cffi_backend.c:1612: error: ‘ffi_closure’ undeclared (first use in this function)
c/_cffi_backend.c:1612: error: (Each undeclared identifier is reported only once
c/_cffi_backend.c:1612: error: for each function it appears in.)
c/_cffi_backend.c:1612: error: ‘closure’ undeclared (first use in this function)
c/_cffi_backend.c:1612: error: expected expression before ‘)’ token
c/_cffi_backend.c:1615: warning: implicit declaration of function ‘cffi_closure_free’
c/_cffi_backend.c: In function ‘cdataowninggc_traverse’:
c/_cffi_backend.c:1632: error: ‘ffi_closure’ undeclared (first use in this function)
c/_cffi_backend.c:1632: error: ‘closure’ undeclared (first use in this function)
c/_cffi_backend.c:1632: error: expected expression before ‘)’ token
c/_cffi_backend.c: In function ‘cdataowninggc_clear’:
c/_cffi_backend.c:1653: error: ‘ffi_closure’ undeclared (first use in this function)
c/_cffi_backend.c:1653: error: ‘closure’ undeclared (first use in this function)
c/_cffi_backend.c:1653: error: expected expression before ‘)’ token
c/_cffi_backend.c: In function ‘cdataowninggc_repr’:
c/_cffi_backend.c:1841: error: ‘ffi_closure’ undeclared (first use in this function)
c/_cffi_backend.c:1841: error: expected expression before ‘)’ token
c/_cffi_backend.c: At top level:
c/_cffi_backend.c:2417: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’
c/_cffi_backend.c: In function ‘cdata_call’:
c/_cffi_backend.c:2546: error: ‘ffi_abi’ undeclared (first use in this function)
c/_cffi_backend.c:2546: error: expected ‘;’ before ‘fabi’
c/_cffi_backend.c:2588: error: ‘fabi’ undeclared (first use in this function)
c/_cffi_backend.c:2592: error: too many arguments to function ‘fb_prepare_cif’
c/_cffi_backend.c:2597: error: ‘cif_description_t’ has no member named ‘exchange_size’
c/_cffi_backend.c:2607: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
c/_cffi_backend.c:2637: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
c/_cffi_backend.c:2642: warning: implicit declaration of function ‘ffi_call’
c/_cffi_backend.c:2642: error: ‘cif_description_t’ has no member named ‘cif’
c/_cffi_backend.c: In function ‘new_primitive_type’:
c/_cffi_backend.c:3761: error: ‘ffi_type’ undeclared (first use in this function)
c/_cffi_backend.c:3761: error: ‘ffitype’ undeclared (first use in this function)
c/_cffi_backend.c:3779: error: ‘ffi_type_sint8’ undeclared (first use in this function)
c/_cffi_backend.c:3780: error: ‘ffi_type_sint16’ undeclared (first use in this function)
c/_cffi_backend.c:3781: error: ‘ffi_type_sint32’ undeclared (first use in this function)
c/_cffi_backend.c:3782: error: ‘ffi_type_sint64’ undeclared (first use in this function)
c/_cffi_backend.c:3788: error: ‘ffi_type_float’ undeclared (first use in this function)
c/_cffi_backend.c:3790: error: ‘ffi_type_double’ undeclared (first use in this function)
c/_cffi_backend.c:3798: error: ‘ffi_type_longdouble’ undeclared (first use in this function)
c/_cffi_backend.c:3805: error: ‘ffi_type_uint8’ undeclared (first use in this function)
c/_cffi_backend.c:3806: error: ‘ffi_type_uint16’ undeclared (first use in this function)
c/_cffi_backend.c:3807: error: ‘ffi_type_uint32’ undeclared (first use in this function)
c/_cffi_backend.c:3808: error: ‘ffi_type_uint64’ undeclared (first use in this function)
c/_cffi_backend.c: At top level:
c/_cffi_backend.c:4444: error: expected specifier-qualifier-list before ‘ffi_type’
c/_cffi_backend.c:4463: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
c/_cffi_backend.c: In function ‘fb_build’:
c/_cffi_backend.c:4603: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
c/_cffi_backend.c:4603: error: ‘ffi_type’ undeclared (first use in this function)
c/_cffi_backend.c:4603: error: expected expression before ‘)’ token
c/_cffi_backend.c:4604: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4607: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
c/_cffi_backend.c:4607: warning: implicit declaration of function ‘fb_fill_type’
c/_cffi_backend.c:4615: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
c/_cffi_backend.c:4618: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
c/_cffi_backend.c:4619: error: ‘ffi_arg’ undeclared (first use in this function)
c/_cffi_backend.c:4629: error: ‘atype’ undeclared (first use in this function)
c/_cffi_backend.c:4642: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
c/_cffi_backend.c:4643: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
c/_cffi_backend.c:4646: error: ‘cif_description_t’ has no member named ‘exchange_offset_arg’
c/_cffi_backend.c:4655: error: ‘cif_description_t’ has no member named ‘exchange_size’
c/_cffi_backend.c: In function ‘fb_build_name’:
c/_cffi_backend.c:4677: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4694: error: ‘struct funcbuilder_s’ has no member named ‘fct’
c/_cffi_backend.c:4696: error: ‘struct funcbuilder_s’ has no member named ‘fct’
c/_cffi_backend.c: In function ‘fb_prepare_ctype’:
c/_cffi_backend.c:4737: error: ‘struct funcbuilder_s’ has no member named ‘fct’
c/_cffi_backend.c:4747: error: ‘struct funcbuilder_s’ has no member named ‘fct’
c/_cffi_backend.c: At top level:
c/_cffi_backend.c:4767: error: expected declaration specifiers or ‘...’ before ‘ffi_abi’
c/_cffi_backend.c: In function ‘fb_prepare_cif’:
c/_cffi_backend.c:4794: warning: implicit declaration of function ‘ffi_prep_cif’
c/_cffi_backend.c:4794: error: ‘cif_description_t’ has no member named ‘cif’
c/_cffi_backend.c:4794: error: ‘fabi’ undeclared (first use in this function)
c/_cffi_backend.c:4794: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4795: error: ‘struct funcbuilder_s’ has no member named ‘rtype’
c/_cffi_backend.c:4795: error: ‘struct funcbuilder_s’ has no member named ‘atypes’
c/_cffi_backend.c:4795: error: ‘FFI_OK’ undeclared (first use in this function)
c/_cffi_backend.c: In function ‘new_function_type’:
c/_cffi_backend.c:4839: error: too many arguments to function ‘fb_prepare_cif’
c/_cffi_backend.c:4853: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4863: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4873: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4876: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4877: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c:4879: error: ‘struct funcbuilder_s’ has no member named ‘nargs’
c/_cffi_backend.c: In function ‘b_new_function_type’:
c/_cffi_backend.c:4890: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
c/_cffi_backend.c: In function ‘convert_from_object_fficallback’:
c/_cffi_backend.c:4910: error: ‘ffi_arg’ undeclared (first use in this function)
c/_cffi_backend.c: At top level:
c/_cffi_backend.c:5092: error: expected ‘)’ before ‘*’ token
c/_cffi_backend.c: In function ‘prepare_callback_info_tuple’:
c/_cffi_backend.c:5134: error: ‘ffi_arg’ undeclared (first use in this function)
c/_cffi_backend.c: In function ‘b_callback’:
c/_cffi_backend.c:5167: error: ‘ffi_closure’ undeclared (first use in this function)
c/_cffi_backend.c:5167: error: ‘closure’ undeclared (first use in this function)
c/_cffi_backend.c:5177: warning: implicit declaration of function ‘cffi_closure_alloc’
c/_cffi_backend.c:5195: warning: implicit declaration of function ‘ffi_prep_closure’
c/_cffi_backend.c:5195: error: ‘cif_description_t’ has no member named ‘cif’
c/_cffi_backend.c:5196: error: ‘invoke_callback’ undeclared (first use in this function)
c/_cffi_backend.c:5196: error: ‘FFI_OK’ undeclared (first use in this function)
In file included from c/cffi1_module.c:3,
                 from c/_cffi_backend.c:6417:
c/realize_c_type.c: In function ‘realize_c_type_or_func’:
c/realize_c_type.c:577: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
c/_cffi_backend.c: In function ‘init_cffi_backend’:
c/_cffi_backend.c:6509: error: ‘FFI_DEFAULT_ABI’ undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
make[2]: *** [/home/hue-3.11.0/desktop/core/build/cffi-1.5.2/egg.stamp] Error 1
make[2]: Leaving directory `/home/hue-3.11.0/desktop/core'
make[1]: *** [.recursive-install-bdist/core] Error 2
make[1]: Leaving directory `/home/hue-3.11.0/desktop'
make: *** [install-desktop] Error 2




Thanks

Enrico Berti

unread,
Mar 7, 2017, 8:26:15 AM3/7/17
to InnoEye, Hue-Users
Which version of CentOS?

We just tried with a new CentOS 6.8 (x64), installing all the requirements, and both the 3.12 and master builds work (<code>make apps</code>). Then we also did a <code>make install</code>, setting the prefix beforehand (<code>export PREFIX=/path/to/your/install</code>), and that worked for us too. Make sure you start from a clean folder as well.

Cheers,
e.

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Ram Charan Tej

unread,
Mar 8, 2017, 1:42:55 AM3/8/17
to Hue-Users
Hi,

Please install the below package and try again:

sudo yum install -y libffi-devel -y

Regards,
Ram
Reply all
Reply to author
Forward
0 new messages