Hue installation issue


I tried to install Hue version 4.3.0 on my ubuntu 18.04 laptop, but I got the following error message;

building ‘cx_Oracle’ extension
creating build
creating build/temp.linux-x86_64-2.7-12c
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-UKCoZ3/python2.7-2.7.17=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr -I/usr/include/python2.7 -c cx_Oracle.c -o build/temp.linux-x86_64-2.7-12c/cx_Oracle.o -DBUILD_VERSION=5.2.1
cx_Oracle.c:10:10: fatal error: oci.h: No such file or directory
#include <oci.h>
compilation terminated.
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
/media/frank/franktest/Software/hue-release-4.3.0/Makefile.sdk:120: recipe for target ‘/media/frank/franktest/Software/hue-release-4.3.0/desktop/core/build/cx_Oracle-5.2.1/egg.stamp’ failed
make[2]: *** [/media/frank/franktest/Software/hue-release-4.3.0/desktop/core/build/cx_Oracle-5.2.1/egg.stamp] Error 1
make[2]: Leaving directory ‘/media/frank/franktest/Software/hue-release-4.3.0/desktop/core’
Makefile:151: recipe for target ‘.recursive-install-bdist/core’ failed
make[1]: *** [.recursive-install-bdist/core] Error 2
make[1]: Leaving directory ‘/media/frank/franktest/Software/hue-release-4.3.0/desktop’
Makefile:193: recipe for target ‘install-desktop’ failed
make: *** [install-desktop] Error 2

Does anyone know how to work around with this issue?

Thank you

Did you install all the dependencies?
(for which OS?)

Looks like you are trying to build with Oracle o purpose or not?

1 Like