FAQ
You seem to be missing some packages (e.g. openldap-dev / libldap2-dev).
The doc page forgets to list the LDAP ones apparently. You can find the
list here: https://github.com/cloudera/hue#development-prerequisites The
list is for Hue 2 but should be fine with Hue 1.

Let us know how it goes,

Romain

On Tue, Nov 6, 2012 at 2:35 PM, wrote:

Hi, When I try "make apps" after downloading hue tarball from cloudera's
site I get the following error for CDH3U5. CDH3U2 works fine on the same
box.

gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS
-DLDAPMODULE_VERSION=2.3.13 -IModules -I/usr/local/openldap-2.3/include
-I/usr/include/sasl -I/usr/include/python2.6 -c Modules/LDAPObject.c -o
build/temp.linux-x86_64-2.6/Modules/LDAPObject.o
In file included from Modules/LDAPObject.c:9:
*Modules/errors.h:8:18: error: lber.h: No such file or directory*
*Modules/errors.h:9:18: error: ldap.h: No such file or directory*
In file included from Modules/LDAPObject.c:9:
Modules/errors.h:12: error: expected ‘)’ before ‘*’ token
In file included from Modules/LDAPObject.c:11:
Modules/LDAPObject.h:12:2: error: #error Current python-ldap requires
OpenLDAP 2.x
In file included from Modules/LDAPObject.c:11:
Modules/LDAPObject.h:23: error: expected specifier-qualifier-list before
‘LDAP’
Modules/LDAPObject.h:31: error: expected ‘)’ before ‘*’ token
In file included from Modules/LDAPObject.c:12:
Modules/ldapcontrol.h:11: error: expecte


I'm copying the listing of my Modules folder and the above files are
missing.

xxxxxxxx@hive3001:~/hue/hue-1.2.0.0-cdh3u5$ ls -la
./desktop/core/ext-py/python-ldap-2.3.13/Modules/

total 168

drwxr-xr-x 2 xxxxxxxx xxxxxxxx 4096 2012-10-06 01:04 .

drwxr-xr-x 10 xxxxxxxx xxxxxxxx 4096 2012-11-06 22:25 ..

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 2487 2012-10-06 01:04 berval.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 429 2012-10-06 01:04 berval.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 500 2012-10-06 01:04 common.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 794 2012-10-06 01:04 common.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 7209 2012-10-06 01:04 constants.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 584 2012-10-06 01:04 constants.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 9 2012-10-06 01:04 .cvsignore

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 5624 2012-10-06 01:04 errors.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 391 2012-10-06 01:04 errors.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 3225 2012-10-06 01:04 functions.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 319 2012-10-06 01:04 functions.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 8470 2012-10-06 01:04 ldapcontrol.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 424 2012-10-06 01:04 ldapcontrol.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 972 2012-10-06 01:04 ldapmodule.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 34759 2012-10-06 01:04 LDAPObject.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 1617 2012-10-06 01:04 LDAPObject.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 3808 2012-10-06 01:04 message.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 305 2012-10-06 01:04 message.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 10372 2012-10-06 01:04 options.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 345 2012-10-06 01:04 options.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 8382 2012-10-06 01:04 schema.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 243 2012-10-06 01:04 schema.h

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 433 2012-10-06 01:04 version.c

-rw-r--r-- 1 xxxxxxxx xxxxxxxx 270 2012-10-06 01:04 version.h


Also, the instructions on this page is not very clear -
http://archive.cloudera.com/cdh/3/hue/manual.html#_introduction.


If anyone resolved the above issues please let me know what you did.


We are on Ubuntu 10.04.4 LTS.


Thanks!

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
grouphue-user @
categorieshadoop
postedNov 6, '12 at 10:35p
activeNov 6, '12 at 10:49p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Romain Rigaux: 1 post Athirumaligai: 1 post

People

Translate

site design / logo © 2022 Grokbase